-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upcoming: [M3-7460] - Child View: Users & Grants page (#10076)
* Add table and separate out partner users from all users * Display Manage Access button for proxy users; label tables * Rename variable and clean up * Added changeset: Users & Grants: add business partner table to child view * Display correct table cols; update variable names * Adjust styling; properly feature flag table headings * Disable Close Account button for child users * Disable Close Account button for proxy users; add tests * Add unit test for proxy user UserRow * Switch notice to button tooltip * Fix misleadingly passing Button.test.tsx * Update test coverage for Close Account button tooltip * Fix failing e2e test and add coverage for proxy user flow * Use user_type from and update tests * Address feedback: center button with header; update mocks * Address feedback: make table components * Remove bad any type * Address feedback: Add error, loading states to Close Account button * Rely on parent user type, no need for childAccounts * Address feedback: allow unrestricted proxy user to see themselves * Fix typo * Address feedback: filter users more efficiently with array reduce * Make linter happy with sort imports * Revert change to MSW for testing user_type
- Loading branch information
Showing
15 changed files
with
480 additions
and
120 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-10076-upcoming-features-1705592122151.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Upcoming Features | ||
--- | ||
|
||
Users & Grants: add business partner table to child view ([#10076](https://github.com/linode/manager/pull/10076)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
export const BUSINESS_PARTNER = 'business partner'; | ||
export const ADMINISTRATOR = 'administrator'; | ||
|
||
export const PARENT_PROXY_USER_CLOSE_ACCOUNT_TOOLTIP_TEXT = | ||
'Remove indirect customers before closing the account.'; | ||
export const CHILD_USER_CLOSE_ACCOUNT_TOOLTIP_TEXT = | ||
'Contact your business partner to close your account.'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.