Functional users list overlays
Blocked by PR #476
Changes proposed in this pull request:
- Converts roles functionality in users list to overlays
Per engineering sync discussion, some additional acceptance criteria:
-
When opening the dialog, we'll keep focus on the close button and allow users to tab through the rest of the content. -
Opening the dialog should also announce a title specific to the functionality being presented in the dialog. -
When closing the dialog, we'll keep the default behavior of returning focus to the last point of regard. -
When closing the dialog, we'll have SR's announce any success messages (while keeping default focus). -
While dialog is open, we agreed that a user should be able to click outside of it to close it. Since this is not default behavior for dialogs, we're going to spike on this and see what we come up with.
How to test
- Log into the CloudFoundry dev environment through the CLI:
cf login -a [url] --sso - Start up a dev server with a refreshed CF token:
npm run dev-cf - Navigate to the users list:
/orgs/[orgId] - For the org roles form, click any link under the "organization roles" column
- For the space roles form, click any link under the "access permissions" column
Forms should operate the same as when they were on pages, with the only difference being that the overlay closes on form submission success.
Related issues
Closes #468 (closed)
Submitter checklist
-
Added logging is not capturing sensitive data and is set to an appropriate level (DEBUG vs INFO etc) -
Updated relevant documentation (README, ADRs, explainers, diagrams)
Security considerations
None, UI changes only