Help › Work in notebooks
Show a notebook as a dashboard
Show a notebook as a read-only page with its parameters on top, its text, charts and tables below and its code hidden, refresh it with one button, and export the same view as a report.
Querlyn 0.1.0 is not released yet. This help describes it ahead of release.
A notebook can be shown as a dashboard: a page of its text, charts and tables, without its code. It is the same notebook in another view. Nothing is copied, nothing about its file changes, and the view is not saved with it.
Switch to the dashboard
- (Dashboard in the notebook's toolbar, ) switches the notebook in front; the same command switches back to its cells.
- asks for notebook files and opens them as dashboards at once. Opening runs nothing, as always: the dashboard shows the results saved in the file.
What a dashboard shows
- The notebook's parameters as a form on top. You can change their values; what the parameters are is changed in the notebook.
- Below it, in the notebook's own order: each text cell as it reads, and each query or Python cell's result. A cell shows what its results pane showed in the notebook, its chart or its table; choose there which.
- A cell's error, when its last run failed.
- What changed since the last run, above a result.
- Not shown: code, run counters, cell toolbars, and cells whose statements give no rows (a cell that makes a temporary table, for example).
The page follows the notebook's order. There is no free placement of tiles; arrange the cells in the notebook.
Click a table or chart to work with it: it scrolls, sorts, filters, copies and exports as in the notebook, and you can switch it between table and chart. Cells cannot be added, changed, moved, deleted or run one by one while the notebook is shown as a dashboard, and their commands are not offered.
Refresh
(Refresh in the dashboard's bar) runs every cell, exactly as does, with the values in the form. The bar says when the results were last refreshed.
Refresh goes through the same checks as every run:
- on a Production connection it asks one question naming each statement that needs confirming, before anything runs; cancel and nothing runs;
- a read-only connection refuses a cell that would write;
- BigQuery shows what the queries would read first.
A dashboard hides the code it runs. So a notebook from elsewhere that you have not trusted is not refreshed while it is shown as a dashboard: Querlyn says that nothing ran. Switch to its cells and read them, or choose , then refresh.
Export the dashboard
from a dashboard starts
with As the dashboard ticked: the report then has
the parameters' values on top, the text, charts and tables, and no code,
no run details and none of what the runs printed; a cell that shows its
chart gives the chart without its table. From the command line,
querlyn notebook run writes the same with --report-dashboard.
Help for Querlyn 0.1.0. All help topics