-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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(datasets): Stop showing alert when saving from query #21442
Conversation
/testenv up |
@yousoph Ephemeral environment spinning up at http://34.220.8.160:8080. Credentials are |
Codecov Report
@@ Coverage Diff @@
## master #21442 +/- ##
=======================================
Coverage 66.53% 66.53%
=======================================
Files 1791 1791
Lines 68599 68599
Branches 7320 7320
=======================================
Hits 45645 45645
Misses 21064 21064
Partials 1890 1890
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
comments below
@@ -272,6 +272,7 @@ export const ControlPanelsContainer = (props: ControlPanelsContainerProps) => { | |||
useEffect(() => { | |||
if ( | |||
prevDatasource && | |||
prevDatasource.type !== DatasourceType.Query && |
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.
can we use duck typing here instead of checking the datasource type itself? Just in case some other type comes along that also meets the requirements here.
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
When user saves from a query we should not display the alert saying that changes were retained. (Blue message)
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
After:
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION