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

[BUG][Workspace]Page crashed for invalid workspace color #7672

Closed
wanglam opened this issue Aug 9, 2024 · 1 comment
Closed

[BUG][Workspace]Page crashed for invalid workspace color #7672

wanglam opened this issue Aug 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@wanglam
Copy link
Contributor

wanglam commented Aug 9, 2024

Describe the bug

The page crashed after create a workspace with an invalid workspace color. The workspace color will be used in EuiAvatar. It will show a error page when visit the workspace detail page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Create workspace' page
  2. Fill workspace name and select use case, input a invalid color.
  3. Click on 'Create workspace' button
  4. Page will redirect to workspace detail page
  5. Page will show invalid color error

Expected behavior

  1. Need to add validation on workspace color field, invalid value can't be saved in workspace create / update page
  2. Invalid color value should not break the whole workspace detail page, it should render a default color.

OpenSearch Version
N/A

Dashboards Version
2.16

Plugins
N/A

Screenshots
image

Host/Environment (please complete the following information):
N/A

Additional context
#4944

@wanglam
Copy link
Contributor Author

wanglam commented Aug 12, 2024

This bug has been fixed by #7671 , issue can be closed.

@wanglam wanglam closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants