Adding tabs has been in the backlog for a while and with the 0.2 iteration it would be great to get started on them.
The addition of tabs allows us the following benefits:
It's easier to navigate between different sets of data without losing your pagination/scroll position/state
No need to agressivly save new queries as unnamed/duplicates. Instead we can keep the "unsaved queries" in a tab and only prompt saving/discarding when closing the tab
We can also use tabs to show general settings, datamodel, graphs etc upcoming views (similar to VSCode)
This basically allows users to create their own "navigation" from views that they're currently interested in
Changes
Replaced the top bar with a tab bar
Added a header section with the page name and page-level actions. (toggling layout, duplicating a query into a new tab, etc)
Questions
How should the "New tab" button behave? (As a tab could be a variety of "page types", do we default to a new query or show a dropdown/modal with options to pick?)
Should there be indication for tabs with unsaved changes?
Preview
https://padmin-prototype.netlify.com
Why
Adding tabs has been in the backlog for a while and with the 0.2 iteration it would be great to get started on them.
The addition of tabs allows us the following benefits:
Changes
Questions