Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Workspace] Add privacy levels to the workspace (#8907)
* Add privacy selector UI at create page Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add privacy settings UI at collaborstors page Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Changeset file for PR #8907 created/updated * Add privacy settings panel at collaborstors page Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Fix the height of cards at workspace create page Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Refactor workspace creator form with privacyType and setPrivacyType Signed-off-by: Lin Wang <wonglam@amazon.com> * Resolve some issues Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add privacy settings control at details page Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add single star user check for add collaborators modal Signed-off-by: Lin Wang <wonglam@amazon.com> * Disable save button if the selected privay type remains unchanged at collaborators page Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Fix workspace creator UT Signed-off-by: Lin Wang <wonglam@amazon.com> * Fix failed snapshots Signed-off-by: Lin Wang <wonglam@amazon.com> * Add missing UT for workspace form utils Signed-off-by: Lin Wang <wonglam@amazon.com> * Update UT for useWorkspaceForm Signed-off-by: Lin Wang <wonglam@amazon.com> * Add unit tests for privacy settings at workspace create and details Signed-off-by: Kapian1234 <wanjinch@amazon.com> * / Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Fix redirect to workspace landing page Signed-off-by: Lin Wang <wonglam@amazon.com> * Remove changes to configuration files Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Remove changes to configuration files Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add unit test for notification toasts Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add test id for privacy setting selector Signed-off-by: Lin Wang <wonglam@amazon.com> * Add unit test for Collaborators Link at workspace details Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Use constant for collaborators link Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Fix issues of spelling and importing path Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Remove the validation for the existence of an owner in permission settings Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add test id for privacy setting button in collaborators page Signed-off-by: Lin Wang <wonglam@amazon.com> * Fix the discard operation Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add workspace privacy to summary card Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add additional privacy description at workspace create page Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Remove unit tests related to missing owner in permission settings Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add permissionEnabled check for summary card Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Disallow * input for user groups Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Rename the converter and move options outside the function Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Add learn more flyout at collaborators page Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Fix unit tests and update snapshots Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Remove the scss file for WorkspacePrivacyFlyout Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Address some issues Signed-off-by: Kapian1234 <wanjinch@amazon.com> --------- Signed-off-by: Kapian1234 <wanjinch@amazon.com> Signed-off-by: Lin Wang <wonglam@amazon.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: Lin Wang <wonglam@amazon.com> Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
- Loading branch information