michael-s-molina commented on PR #37298:
URL: https://github.com/apache/superset/pull/37298#issuecomment-3790314422

   @justinpark @kasiazjc  About the database/catalog/schema selection, I think 
we have 2 options:
   
   1. We keep database selection separated from catalog/schema
   
   In this scenario, the tree only shows the catalogs/schemas of a selected 
database. To change the database, a user would go to the tree toolbar at the 
top and there would be an icon there to change the database. The toolbar in 
this scenario would have 3 actions: change database, refresh tree, collapse 
tree. 
   
   Then, in the editor, we could have only selects as @kasiazjc mentioned 
before. By default, it would be only the schema selector and if catalogs exist, 
then 2 selects.
   
   In this option, every time you change the tab, the tree will be different 
(re-render) because you may have different databases selected.
   
   2. We display databases as nodes in the tree
   
   In this scenario, database/catalog/schema are selected only in the editor 
using a component that shows the current selections and when clicked, opens a 
popup with 3 selects (database, catalog, schema).
   
   In this option, the tree does not change when changing tabs. We could expand 
the selected database and collapse the other ones when changing tabs if we want 
a more dynamic tree.
   
   WDYT?


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to