-
Notifications
You must be signed in to change notification settings - Fork 924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport 2.x] [Workspace] Add privacy levels to the workspace #9162
Conversation
* Add privacy selector UI at create page Signed-off-by: Kapian1234 <[email protected]> * Add privacy settings UI at collaborstors page Signed-off-by: Kapian1234 <[email protected]> * Changeset file for PR #8907 created/updated * Add privacy settings panel at collaborstors page Signed-off-by: Kapian1234 <[email protected]> * Fix the height of cards at workspace create page Signed-off-by: Kapian1234 <[email protected]> * Refactor workspace creator form with privacyType and setPrivacyType Signed-off-by: Lin Wang <[email protected]> * Resolve some issues Signed-off-by: Kapian1234 <[email protected]> * Add privacy settings control at details page Signed-off-by: Kapian1234 <[email protected]> * Add single star user check for add collaborators modal Signed-off-by: Lin Wang <[email protected]> * Disable save button if the selected privay type remains unchanged at collaborators page Signed-off-by: Kapian1234 <[email protected]> * Fix workspace creator UT Signed-off-by: Lin Wang <[email protected]> * Fix failed snapshots Signed-off-by: Lin Wang <[email protected]> * Add missing UT for workspace form utils Signed-off-by: Lin Wang <[email protected]> * Update UT for useWorkspaceForm Signed-off-by: Lin Wang <[email protected]> * Add unit tests for privacy settings at workspace create and details Signed-off-by: Kapian1234 <[email protected]> * / Signed-off-by: Kapian1234 <[email protected]> * Fix redirect to workspace landing page Signed-off-by: Lin Wang <[email protected]> * Remove changes to configuration files Signed-off-by: Kapian1234 <[email protected]> * Remove changes to configuration files Signed-off-by: Kapian1234 <[email protected]> * Add unit test for notification toasts Signed-off-by: Kapian1234 <[email protected]> * Add test id for privacy setting selector Signed-off-by: Lin Wang <[email protected]> * Add unit test for Collaborators Link at workspace details Signed-off-by: Kapian1234 <[email protected]> * Use constant for collaborators link Signed-off-by: Kapian1234 <[email protected]> * Fix issues of spelling and importing path Signed-off-by: Kapian1234 <[email protected]> * Remove the validation for the existence of an owner in permission settings Signed-off-by: Kapian1234 <[email protected]> * Add test id for privacy setting button in collaborators page Signed-off-by: Lin Wang <[email protected]> * Fix the discard operation Signed-off-by: Kapian1234 <[email protected]> * Add workspace privacy to summary card Signed-off-by: Kapian1234 <[email protected]> * Add additional privacy description at workspace create page Signed-off-by: Kapian1234 <[email protected]> * Remove unit tests related to missing owner in permission settings Signed-off-by: Kapian1234 <[email protected]> * Add permissionEnabled check for summary card Signed-off-by: Kapian1234 <[email protected]> * Disallow * input for user groups Signed-off-by: Kapian1234 <[email protected]> * Rename the converter and move options outside the function Signed-off-by: Kapian1234 <[email protected]> * Add learn more flyout at collaborators page Signed-off-by: Kapian1234 <[email protected]> * Fix unit tests and update snapshots Signed-off-by: Kapian1234 <[email protected]> * Remove the scss file for WorkspacePrivacyFlyout Signed-off-by: Kapian1234 <[email protected]> * Address some issues Signed-off-by: Kapian1234 <[email protected]> --------- Signed-off-by: Kapian1234 <[email protected]> Signed-off-by: Lin Wang <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: SuZhou-Joe <[email protected]> (cherry picked from commit 8d98654) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
❌ Invalid Changelog HeadingThe '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #9162 +/- ##
==========================================
+ Coverage 60.92% 60.95% +0.03%
==========================================
Files 3808 3811 +3
Lines 91206 91287 +81
Branches 14392 14412 +20
==========================================
+ Hits 55563 55643 +80
Misses 32117 32117
- Partials 3526 3527 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Backport 8d98654 from #8907.