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

[Workspace] Set the default color to first color from the palette #7627

Merged
merged 10 commits into from
Aug 12, 2024

Conversation

Kapian1234
Copy link
Contributor

@Kapian1234 Kapian1234 commented Aug 6, 2024

Description

Set the default color to first color from the palette in create workspace page

Issues Resolved

#7635

Screenshot

Screenshot 2024-08-06 at 13 56 02

Screenshot 2024-08-06 at 13 55 23

Testing the changes

Changelog

  • feat: [Workspace] Set default color for workspace create form

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Copy link
Contributor

github-actions bot commented Aug 6, 2024

❌ Changelog Entry Missing Hyphen

Changelog entries must begin with a hyphen (-).

Copy link
Contributor

github-actions bot commented Aug 6, 2024

❌ Changelog Entry Missing Hyphen

Changelog entries must begin with a hyphen (-).

Copy link
Contributor

github-actions bot commented Aug 6, 2024

❌ Entry Too Long

Entry 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.

Copy link

codecov bot commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.68%. Comparing base (b5f4942) to head (3a73a45).
Report is 214 commits behind head on main.

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     
Flag Coverage Δ
Linux_1 30.60% <100.00%> (+<0.01%) ⬆️
Linux_2 55.58% <ø> (ø)
Linux_3 40.57% <ø> (+<0.01%) ⬆️
Linux_4 31.30% <ø> (ø)
Windows_1 30.61% <100.00%> (-0.03%) ⬇️
Windows_2 55.53% <ø> (ø)
Windows_3 40.57% <ø> (ø)
Windows_4 31.30% <ø> (ø)

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.

Kapian1234 and others added 4 commits August 6, 2024 18:10
… 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>
@Kapian1234 Kapian1234 marked this pull request as ready for review August 7, 2024 06:07
ruanyl
ruanyl previously approved these changes Aug 8, 2024
Signed-off-by: Kapian1234 <wanjinch@amazon.com>
@SuZhou-Joe SuZhou-Joe merged commit cd33e15 into opensearch-project:main Aug 12, 2024
68 of 69 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 12, 2024
)

* 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>
ruanyl pushed a commit that referenced this pull request Aug 12, 2024
) (#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants