-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
feat(explore): change save button text when users cannot override #11281
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11281 +/- ##
=======================================
Coverage 66.60% 66.60%
=======================================
Files 862 862
Lines 41212 41215 +3
Branches 3716 3719 +3
=======================================
+ Hits 27449 27451 +2
- Misses 13662 13663 +1
Partials 101 101
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@mistercrunch @junlincc @zuzana-vej @graceguo-supercat do you think this change makes sense? |
I think the new wording makes sense. |
I think for other cases, "Save" works fine enough since users either need to explicitly change the value of the radio buttons or are using a reasonable default (save and overwrite for existing charts that they have write access). This PR handles a special case where the default is changed from "Overwrite" to "Save as" without an explicit call-out, so it's worth changing the button text to grab more user attention. |
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
SUMMARY
Change the save button text to "Save as new chart" when users cannot override an existing chart (normally because they are not the owner of the chart).
Wanted to add this change because I tried to edit a chart from someone else's dashboard today, after saving it I didn't see the change in the dashboard and got confused.
The text will only change if you are editing from an existing chart.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Open an existing chart that you are not an owner of, try save the chart:
Before
After
TEST PLAN
ADDITIONAL INFORMATION