kkucharc opened a new pull request #12468: URL: https://github.com/apache/superset/pull/12468
### SUMMARY Chart with deleted dataset is still available on charts list. While trying to access its explore view page redirects to charts list page. As discussed in issue #12464, I added flash notification message in right bottom corner. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before: [Link to previous behaviour video] (https://user-images.githubusercontent.com/25153919/104351996-6655dd00-5506-11eb-929d-a7c1593098e0.mov) After:  ### TEST PLAN 1. Go to charts list and remember choose chart by dataset 2. Go to list of datasets 3. Delete chosen dataset 4. Come back to charts list and try access charts previously chosen (it will have empty dataset name) 5. It should redirect to charts list and show notification of missing chart and dataset: `The datasource associated with this chart no longer exists` ### ADDITIONAL INFORMATION - [x] Has associated issue: #12464 - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
