Dashboards
A dashboard is a grid of widgets. Each widget runs a query on a database and shows its results, the same way as the query page. Dashboards are stored on the server, so they follow you to any browser, and you can share them with other users.
The dashboard list
Dashboards in the top bar (/studio/dashboards) lists:
- My dashboards: the dashboards you own.
- Shared with me: dashboards other users gave you a role on.
- Public: public dashboards of other users that you have no role on.
Each row shows the name and when it was last updated. Other users' dashboards show as owner/name with your role and a Public badge; on your own, the globe button shows whether it is public. Its buttons:
| Button | Who | What it does |
|---|---|---|
| star | any user | Opens this dashboard at the start of the studio, instead of the database list. One per user. |
| globe | owner | Makes the dashboard public (every user can view it) or private again. |
| users | any role | Opens the users of the dashboard. |
| Rename | owner | Gives it a new name. |
| Delete | owner | Deletes it, also for the users it is shared with. The databases it shows are not changed. |
| Leave | users with a role | Gives up your role on the dashboard. Its owner or an admin can share it again. A public dashboard stays under Public. |
Create a dashboard
- New dashboard asks for a name: 1 to 64 letters, digits,
_,-or., not starting with.. - Import creates a dashboard from a file saved with Export → Dashboard file.
- Add to dashboard on the query page creates one from a query (see below).
owner/db. An imported dashboard works only where databases with the same owners and names exist and you have access to them.Add a query from the query page
Build a query on the exec tab, then click Add to dashboard at the top of the query page. Choose a Dashboard you can edit, or + New dashboard with a name, and a Widget title. The widget gets the exec and context queries together with the colours, sizes, view, chart and pinned details you set up, and is added to the end of the dashboard.
The dashboard page
Widgets run when the dashboard opens. Refresh reruns all of them; each widget also has its own refresh button.
Add widget opens the widget editor. Every change you make to the dashboard is saved right away; there is no Save button. Saving… shows while it saves. If saving fails, Changes not saved with Retry keeps your edits until it works, and the studio warns you before you leave the page.
Widgets
The header of a widget shows its title and database, the results toolbar (summary, Export, Style and the view icons Summary (for single numbers), Graph, Table, Chart, JSON) and its buttons:
- refresh,
- Open in query editor: opens the widget's queries on the query page,
- Maximize / Restore: shows the widget over the whole page,
- Widget options (…), for editors only: Edit widget…, Size, Move earlier, Move later, Remove.
The view, chart, colours, sizes and pins you change in a widget apply only until you reload. The Unsaved view label then offers Save to keep them in the dashboard (editors only), or Reset to go back.
Remove does not ask first: Undo next to the title brings the widget back for 8 seconds.
Layout
The dashboard is a grid 4 columns wide. A widget is 1 to 4 columns wide and 1 to 3 rows high, new ones are 2 × 1. Set the size with Size in the widget options (hover the grid to preview the size, click to set it), and the order with Move earlier and Move later. Widgets cannot be dragged.
From 900 to 1199 px wide the grid has 2 columns, and below 900 px 1 column.
The widget editor
Edit widget… or Add widget opens the editor:
- Title of the widget.
- Database the widget queries.
- Auto refresh: Off, 10 s, 30 s, 1 min, 5 min, 15 min or 1 h (an imported dashboard may also hold other intervals up to 1 day). It pauses while the browser tab is hidden, and stops after a failed run until a refresh works again.
- The query builder with the exec and context tabs, and a preview of the results that updates as you edit.
Save stores the widget with its queries, colours, sizes, view, chart and pinned details. Cancel (or Esc) asks before it throws away unsaved changes.
Share a dashboard
The users button of a dashboard opens its users, grouped by role:
| Role | The user can |
|---|---|
| owner | everything, including rename, delete and making it public |
| Admin | edit the widgets and the layout, add and remove users and change their roles |
| Read/Write | edit the widgets and the layout |
| Read Only | view and refresh. The dashboard shows a Read only badge. |
Users with the admin role add users with the + button (a Username and a Role), change a role by clicking the username, and remove users with the remove button. Every user can view a public dashboard with read only access.
Limits
- A dashboard (its widgets and layout, not the results) is up to 256 KB.
- Names cannot contain
/and are unique per owner. - A dashboard saved by a newer studio cannot be opened by an older one; update the server (and with it the studio).
- Widget queries should read data. The element actions of the graph and the table still work in widgets and change the database.