-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
fix(Dashboard): Only apply changes when editing properties #17392
Conversation
Codecov Report
@@ Coverage Diff @@
## master #17392 +/- ##
==========================================
+ Coverage 77.02% 77.04% +0.01%
==========================================
Files 1038 1041 +3
Lines 56021 56063 +42
Branches 7735 7738 +3
==========================================
+ Hits 43150 43191 +41
- Misses 12613 12614 +1
Partials 258 258
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@geido Ephemeral environment spinning up at http://54.68.230.199:8080. Credentials are |
...rontend/src/dashboard/components/Header/HeaderActionsDropdown/HeaderActionsDropdown.test.tsx
Outdated
Show resolved
Hide resolved
I have a question when I set a color theme in the chart and add it to a dashboard, why I can not see the color theme information in the dashboard edit mode? color.theme.is.empty.mov |
@jinghua-qa the color scheme of the chart does not affect the color scheme of the Dashboard. Only the color scheme of the Dashboard can affect the color scheme of a Chart afaik. |
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
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
Ephemeral environment shutdown and build artifacts deleted. |
…pache#17392)" (apache#17618) This reverts commit 0712be4. (cherry picked from commit 8963cca)
* Apply only * Test apply button * Update Cypress * Rename test
But the content or the selection of color scheme in the chart should be the same with the dashboard right ? Because if it is not...then your chart could become useless regarding the color scheme..... |
SUMMARY
This PR adds the
onlyApply
prop to the properties modal of the Dashboard, so that changes will only be applied but not saved. This is to avoid confusion with discarded changes that were actually saved.BEFORE
Fixes #17243
AFTER
Test.3.mp4
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION