-
Notifications
You must be signed in to change notification settings - Fork 892
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] Set the default color to first color from the palette #7627
[Workspace] Set the default color to first color from the palette #7627
Conversation
…form.ts Signed-off-by: Kapian1234 <wanjinch@amazon.com>
❌ Changelog Entry Missing HyphenChangelog entries must begin with a hyphen (-). |
❌ Changelog Entry Missing HyphenChangelog entries must begin with a hyphen (-). |
❌ Entry Too LongEntry is 111 characters long, which is 11 characters longer than the maximum allowed length of 100 characters. Please revise your entry to be within the maximum length. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7627 +/- ##
==========================================
- Coverage 63.69% 63.68% -0.02%
==========================================
Files 3633 3633
Lines 80104 80105 +1
Branches 12691 12691
==========================================
- Hits 51022 51013 -9
- Misses 25975 25986 +11
+ Partials 3107 3106 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
src/plugins/workspace/public/components/workspace_creator/workspace_creator.tsx
Outdated
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_form/use_workspace_form.ts
Outdated
Show resolved
Hide resolved
… and updated the type definition of getNumberOfChanges to support partial form data Signed-off-by: Kapian1234 <wanjinch@amazon.com>
Signed-off-by: Kapian1234 <wanjinch@amazon.com>
…earch-Dashboards into workspace_default_color
src/plugins/workspace/public/components/workspace_creator/workspace_creator.tsx
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_form/utils.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Kapian1234 <wanjinch@amazon.com>
…earch-Dashboards into workspace_default_color
) * src/plugins/workspace/public/components/workspace_form/use_workspace_form.ts Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Changeset file for PR #7627 created/updated * Separated a new WorkspaceDetailedFormProps for WorkspaceDetailedForm, and updated the type definition of getNumberOfChanges to support partial form data Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Separated defaultWorkspaceFormValues to a constant Signed-off-by: Kapian1234 <wanjinch@amazon.com> * Changeset file for PR #7627 created/updated * Modified code format Signed-off-by: Kapian1234 <wanjinch@amazon.com> --------- Signed-off-by: Kapian1234 <wanjinch@amazon.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit cd33e15) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) (#7683) * src/plugins/workspace/public/components/workspace_form/use_workspace_form.ts * Changeset file for PR #7627 created/updated * Separated a new WorkspaceDetailedFormProps for WorkspaceDetailedForm, and updated the type definition of getNumberOfChanges to support partial form data * Separated defaultWorkspaceFormValues to a constant * Changeset file for PR #7627 created/updated * Modified code format --------- (cherry picked from commit cd33e15) Signed-off-by: Kapian1234 <wanjinch@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
Set the default color to first color from the palette in create workspace page
Issues Resolved
#7635
Screenshot
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration