-
Notifications
You must be signed in to change notification settings - Fork 920
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
[Workspace] Refactor summary panel in workspace create page #8381
[Workspace] Refactor summary panel in workspace create page #8381
Conversation
Signed-off-by: yubonluo <yubonluo@amazon.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8381 +/- ##
=======================================
Coverage 60.92% 60.92%
=======================================
Files 3750 3749 -1
Lines 89054 89055 +1
Branches 13910 13911 +1
=======================================
+ Hits 54257 54260 +3
+ Misses 31433 31432 -1
+ Partials 3364 3363 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
)} | ||
</FieldSummaryItem> | ||
<FieldSummaryItem field={RightSidebarScrollField.Name}>{formData.name}</FieldSummaryItem> | ||
<FieldSummaryItem field={RightSidebarScrollField.Description}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems this description summary has been removed, can we added it back?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
@@ -122,3 +122,33 @@ export const DetailTabTitles: { [key in DetailTab]: string } = { | |||
export const PERMISSION_TYPE_LABEL_ID = 'workspace-form-permission-type-label'; | |||
export const PERMISSION_COLLABORATOR_LABEL_ID = 'workspace-form-permission-collaborator-label'; | |||
export const PERMISSION_ACCESS_LEVEL_LABEL_ID = 'workspace-form-permission-access-level-label'; | |||
|
|||
export const permissionModeOptions = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice refactor for reusing the permissionModeOptions.
Signed-off-by: yubonluo <yubonluo@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Refactor summary panel in workspace create page Signed-off-by: yubonluo <yubonluo@amazon.com> * Changeset file for PR #8381 created/updated * add description Signed-off-by: yubonluo <yubonluo@amazon.com> --------- Signed-off-by: yubonluo <yubonluo@amazon.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit f9b8c8a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…8388) * Refactor summary panel in workspace create page * Changeset file for PR #8381 created/updated * add description --------- (cherry picked from commit f9b8c8a) Signed-off-by: yubonluo <yubonluo@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
…ch-project#8381) (opensearch-project#8388) * Refactor summary panel in workspace create page * Changeset file for PR opensearch-project#8381 created/updated * add description --------- (cherry picked from commit f9b8c8a) Signed-off-by: yubonluo <yubonluo@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Description
Refactor summary panel in workspace create page
Issues Resolved
Screenshot
2024-09-29.18.23.49.mp4
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration