Repository navigation
[Datasource Editor] A few small UI changes in modal to prevent accidental edits - #8471
Merged
graceguo-supercat merged 1 commit intoOct 29, 2019
Merged
Conversation
3 of 12 tasks
michellethomas
approved these changes
Oct 29, 2019
Codecov Report
@@ Coverage Diff @@
## master #8471 +/- ##
==========================================
+ Coverage 66.41% 66.57% +0.15%
==========================================
Files 449 449
Lines 22567 22567
Branches 2367 2367
==========================================
+ Hits 14987 15023 +36
+ Misses 7442 7406 -36
Partials 138 138
Continue to review full report at Codecov.
|
graceguo-supercat
pushed a commit
that referenced
this pull request
Nov 13, 2019
villebro
pushed a commit
that referenced
this pull request
Jan 4, 2020
cccs-rc
pushed a commit
to CybercentreCanada/superset
that referenced
this pull request
Mar 6, 2024
qfcwell
pushed a commit
to qfcwell/superset
that referenced
this pull request
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CATEGORY
Choose one
SUMMARY
In airbnb there are a few users reported that they accidentally edit datasources, but their original ideal is just change datasource. But it caused other charts that used the datasource became invalid.
Before:

After:

Land the user on the Metrics tab when they get to the Edit Datasource modal (instead of Settings). Adding Metrics is likely the most common reason people would want to edit the datasource from the Explore view. It makes it easier for people to do the most frequent action, and moves people away from the Settings which is the most risky and the least frequent use case.
Add a warning to the Settings tab (that is always there) that communicates that changes to this could break all charts, not just your own, so be careful. e.g. "Be careful. Changes to these settings can break all charts, including charts owned by other people."
TEST PLAN
CI and manual tests.
ADDITIONAL INFORMATION
REVIEWERS
@michellethomas @etr2460 @mistercrunch