williaster opened a new pull request #5296: [dashboard v2] add `<MissingChart 
/>` component
URL: https://github.com/apache/incubator-superset/pull/5296
 
 
   This PR adds a `<MissingChart />` component that is shown in the case that a 
dashboard v2 `<Chart />` component has no slice definition. 
   
   
![deleted-chart-flow](https://user-images.githubusercontent.com/4496521/41956952-3b14e3ba-799a-11e8-9cd3-63844642c3a2.gif)
   
   **Testing**
   - verified that this works in the case that a layout references a chart that 
was deleted (and previously part of the dashboard)
   - Added frontend tests for `<MissingChart />`
   - Tested undo/redo of removing the empty chart, adds toast when we add a 
slice that has no definition to a dashboard
   
   @graceguo-supercat 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to