The notebook layout

実装済み

The top bar, the cell list, the left rail's pages including Bookmarks, the cell inspector, the activity panel, and the Zen and Dense modes.

A notebook tab has five areas: the top bar, the cell list in the middle, the left rail, the cell inspector on the right and the activity panel at the bottom. The three side panels can be shown or hidden with the buttons at the right end of the top bar and resized by dragging their edges; SQLly remembers their sizes.

SQLly
Notebook tab with the left rail, cells, inspector and activity panelNotebook tab with the left rail, cells, inspector and activity panel
Every panel open: the outline rail on the left, the cells in the middle, the cell inspector on the right and the activity panel at the bottom.

The top bar

From left to right:

タイトル
Click to rename the notebook. The title is saved in the file; the tab shows it.
Save state
保存されました, 未保存の変更, Autosaved または Recovered. When the file changed on disk, Changed on disk を伴う 再読み込み そして Keep mine.
テスト
When the notebook has Tests cells: "3 tests failing", "1 tests need attention" or "5 tests passing" after a run. See テスト.
接続
Connection: … with its environment badge: the connection cells use unless they pick their own.
モード
Mode: This cell または Mode: Cell and stale inputs: what running one cell includes. Click to switch.
Run, Run All, Stop
The play button runs the selected cell; すべて実行 runs every cell; 停止 cancels every running cell.
Run menu
Every run mode: Run Cell, Run Cell and Stale Inputs, すべて実行, Run Stale Cells, Run Cell and Dependents, Run Cells Above, Run Cell and Below, Run Selected Cells そして Check Without Running。次を参照 Running notebooks.
保存
Saves to the notebook's file, asking for a name the first time.
エクスポート
エクスポート… opens the export dialog; Markdown のエクスポート そして Jupyter のエクスポート write those formats straight away; Convert to SQL Script opens the notebook as one script. See Exporting.
Dashboard, View, Present
Edit the notebook's dashboard, show only the dashboard, or present it full screen. See Dashboards and presentation.
その他
名前を付けて保存, Autosave to File, Zen Mode, Dense Cells そして Embed All Outputs (参照 Embedded outputs).
Panel toggles
Show or hide the left rail, the activity panel and the cell inspector.

The cell list

Each cell has a header with a drag handle, its kind, its name (or id), its state (Not run, 実行中, Up to date, Out of date, Failed and so on), how long it took, and buttons to run, collapse, move up or down and delete it. SQL cells also show their connection and environment, and a 読み取り専用 または Writes allowed badge; bookmarked and pinned cells show Bookmarked そして 固定済み. Hover between two cells for a + that inserts any kind of cell there; under the last cell, a row of buttons does the same.

Click a cell to select it; ⇧-click selects a range and ⌘-click adds or removes one cell. With two or more selected, a bar above the cells runs, copies, cuts, duplicates, moves, collapses, converts, merges, bookmarks or deletes them all at once. Drag a cell (or the whole selection) by its handle to move it. Pinned outputs sit in a strip above the cells while you scroll. The keys for all of this are on the keyboard reference.

The list stays quick with hundreds of cells: a cell you aren't editing shows a lightweight, syntax-highlighted preview, and its editor is created only when you click into it. SQL areas grow with their content up to about two dozen lines and then scroll, and each result pane can be resized by dragging its bottom edge. A cell can also show only its output, with no header or editor, so the notebook reads like a report; see Embedded outputs and report-style notebooks. Deleting cells shows a toast whose 元に戻す is the same step as the notebook's undo.

The left rail

The tabs along the top of the rail switch between its pages:

Outline
Markdown headings, indented by level, and named cells. Click one to jump to it.
パラメーター
The notebook's parameters and their current values. See Parameters and inputs.
変数
Every named cell with its kind and state: the names you can use in {{…}}.
Lineage
For each SQL cell, which cells it reads and which cells use it. See Named cells and references.
検索
Finds text in cell names and sources (not in results) and lists each hit as "cell, line N". For find and replace across the whole notebook, including chart titles and, optionally, result values, use ⌘F in command mode (see 検索).
Local data
The notebook's own DuckDB tables, their sizes and sources, and the local data settings. See Local data with DuckDB.
履歴
Recorded runs, pinned snapshots and run comparison. See Run history and snapshots.
Bookmarks
Every bookmarked cell, with its kind and first line; click one to go to it. Bookmark a cell from its menu or with ⌘F2, and step through them with F2 そして ⇧F2.
SQLly
Notebook left rail on the Lineage page with Reads and Used by for each SQL cellNotebook left rail on the Lineage page with Reads and Used by for each SQL cell
The Lineage page lists what each SQL cell reads and what uses it; the inspector shows the same for the selected cell.
SQLly
Notebook left rail on the Bookmarks tabNotebook left rail on the Bookmarks tab
The Bookmarks tab on the left rail lists every bookmarked cell.

The inspector

The inspector shows the selected cell. Every cell has 名前, Id そして 型; SQL cells add:

Connection and Database
The cell's own connection, or Use the notebook's connection, with its environment badge.
安全性
その 読み取り専用 checkbox (clearing it asks first; see Allow writes), the cell's timeout and its row limit.
依存関係
Reads from そして Used by, each cell a link.
実行
The state, the last run's time and duration, and the cell's fingerprint (what its result is tied to; see Out of date).
制限
Maximum rows for this cell (empty means no limit).
Cache
Whether the result is reused and where it is kept: Always run, Reuse, For a time または 固定済み, kept in Memory only または Encrypted on disk, optionally cleared when the connection disconnects. See Saved results.

Renaming a cell in the inspector updates every {{name}} and every formula that refers to it.

The activity panel

The bottom panel shows the run queue ("Run queue: orders → by_country") and a timeline, newest first, of every start, finish, failure and refusal with its timing, plus the reasons the planner gave for cells that were blocked and the results of Check Without Running. Copies into local data show their progress here, with Cancel.

Zen and Dense

  • More ▸ Zen Mode hides the left rail, the inspector and the activity panel, leaving only the cells. Choose it again to bring them back.
  • More ▸ Dense Cells tightens the padding around cells so more fit on screen.

Both are also in the command palette as Notebook: Toggle Zen Mode そして Notebook: Toggle Dense Cells. Selection, drag, find, bookmarks and embedded outputs all work in both.