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]Refactor workspace form UI #7227

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport c5946b9 from #7133.

* Make create workspace and update workspace full width

Signed-off-by: Lin Wang <[email protected]>

* Refactor user permissions input

Signed-off-by: Lin Wang <[email protected]>

* Add workspace form call out

Signed-off-by: Lin Wang <[email protected]>

* Fix permissions input unit tests

Signed-off-by: Lin Wang <[email protected]>

* Update gaps

Signed-off-by: Lin Wang <[email protected]>

* Update error callout

Signed-off-by: Lin Wang <[email protected]>

* Update user permission current user and number of changes

Signed-off-by: Lin Wang <[email protected]>

* Fix changes

Signed-off-by: Lin Wang <[email protected]>

* Fix owner order

Signed-off-by: Lin Wang <[email protected]>

* Add ut for form error callout

Signed-off-by: Lin Wang <[email protected]>

* Fix unit tests in workspace

Signed-off-by: Lin Wang <[email protected]>

* Mark first user row required

Signed-off-by: Lin Wang <[email protected]>

* Update section title

Signed-off-by: Lin Wang <[email protected]>

* Add validate for owner missing

Signed-off-by: Lin Wang <[email protected]>

* Changeset file for PR #7133 created/updated

* Fix unit tests for workspace form utils

Signed-off-by: Lin Wang <[email protected]>

* Fix unit tests for form error callout

Signed-off-by: Lin Wang <[email protected]>

* Add unit test for transfer current user placeholder

Signed-off-by: Lin Wang <[email protected]>

* Fix unit tests in workspace permission setting panel

Signed-off-by: Lin Wang <[email protected]>

* Fix unit test in useWorkspaceForm

Signed-off-by: Lin Wang <[email protected]>

* Add missing unit tests for workspace form utils

Signed-off-by: Lin Wang <[email protected]>

* Add unit tests for getNumberOfErrors

Signed-off-by: Lin Wang <[email protected]>

* Add more ut for workspace form error callout

Signed-off-by: Lin Wang <[email protected]>

* Fix error code

Signed-off-by: Lin Wang <[email protected]>

* Fix failed unit test

Signed-off-by: Lin Wang <[email protected]>

* Add back color picker

Signed-off-by: Lin Wang <[email protected]>

* Address UX comments

Signed-off-by: Lin Wang <[email protected]>

* Fix empty user no workspace owner

Signed-off-by: Lin Wang <[email protected]>

* Change to Associate data source

Signed-off-by: Lin Wang <[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>
(cherry picked from commit c5946b9)
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 Jul 12, 2024

Codecov Report

Attention: Patch coverage is 98.05195% with 3 lines in your changes missing coverage. Please review.

Project coverage is 67.71%. Comparing base (a2b10fc) to head (e1c12da).

Files Patch % Lines
...orkspace/public/components/workspace_form/utils.ts 97.72% 0 Missing and 2 partials ⚠️
src/plugins/workspace/server/routes/index.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #7227      +/-   ##
==========================================
+ Coverage   67.66%   67.71%   +0.05%     
==========================================
  Files        3450     3452       +2     
  Lines       68148    68245      +97     
  Branches    11069    11094      +25     
==========================================
+ Hits        46111    46215     +104     
+ Misses      19362    19357       -5     
+ Partials     2675     2673       -2     
Flag Coverage Δ
Linux_1 33.30% <98.05%> (+0.15%) ⬆️
Linux_2 55.38% <ø> (ø)
Linux_3 45.08% <ø> (-0.02%) ⬇️
Linux_4 34.88% <ø> (ø)
Windows_1 33.32% <98.05%> (+0.15%) ⬆️
Windows_2 55.33% <ø> (ø)
Windows_3 45.10% <ø> (ø)
Windows_4 34.88% <ø> (ø)

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 4728a48 into 2.x Jul 16, 2024
67 of 70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports failed changeset v2.16.0 valued-contributor workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants