You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/02/26 00:20:08 UTC

[GitHub] graceguo-supercat opened a new pull request #6945: [db migration] add parent ids into Dashboard layout metadata

graceguo-supercat opened a new pull request #6945: [db migration] add parent ids into Dashboard layout metadata
URL: https://github.com/apache/incubator-superset/pull/6945
 
 
   This migration is to add parent ids for each UI element in dashboard layout metadata. This will be used by another feature: to provide a redirect link that can open dashboard in any tab.
   
   We store dashboard layout metadata in a flatted tree structure. In old layout metadata, we only store children node for each UI component. This information is good enough for render dashboard from root element, and we always render first tab when dashboard opens. But If user want to see some information in other tab (or any chart in a nested tab), it will takes a few clicks to navigate to the point of interest.
   
   This problem can be resolved if each UI component carries its parent node information. When we have parents list for each UI component, it's easy from dashboard root to render each parent id, and at last render the point of interest chart/tab.
   
   Because this db migration is independent of UI change (do not block dashboard render no matter has parents information or not), I will send out UI change in a different PR.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org