Skip to content
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]Remove collaborators in workspace creation page and refactor with getDisplayedType #8560

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport fcc18fb from #8520.

…or with getDisplayedType (#8520)

* Remove workspace collaborators section in workspace creation

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Redirect to workspace detail collaborators tab after workspace created

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Changeset file for PR #8520 created/updated

* Add getDisplayedType in default collaborator types

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Update detail type to ReactNode

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Add learn more link

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Remove permissionEnabled passed in WorkspaceCreatorForm

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Redirect to use case landing page if permission not enabled

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Use getDisplayedType and render &mdash; for empty

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Fix incorrect unit tests

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Assign current user as workspace admin

Signed-off-by: Lin Wang <wonglam@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>
(cherry picked from commit fcc18fb)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

❌ Invalid Changelog Heading

The '## 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.

Copy link

codecov bot commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.03%. Comparing base (0822b63) to head (631b186).
Report is 4 commits behind head on 2.x.

Additional details and impacted files
@@           Coverage Diff           @@
##              2.x    #8560   +/-   ##
=======================================
  Coverage   61.03%   61.03%           
=======================================
  Files        3771     3771           
  Lines       89566    89564    -2     
  Branches    14017    14020    +3     
=======================================
- Hits        54664    54663    -1     
- Misses      31495    31496    +1     
+ Partials     3407     3405    -2     
Flag Coverage Δ
Linux_1 29.02% <100.00%> (+<0.01%) ⬆️
Linux_2 56.42% <ø> (ø)
Linux_3 37.78% <ø> (-0.01%) ⬇️
Linux_4 30.03% <ø> (ø)
Windows_1 29.04% <100.00%> (+<0.01%) ⬆️
Windows_2 56.37% <ø> (ø)
Windows_3 37.78% <ø> (ø)
Windows_4 30.03% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SuZhou-Joe SuZhou-Joe merged commit 4000357 into 2.x Oct 12, 2024
68 of 70 checks passed
@github-actions github-actions bot deleted the backport/backport-8520-to-2.x branch October 12, 2024 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all-star-contributor autocut Skip the changelog verification check on backports failed changeset workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants