Skip to content

Dash filters cli - #11

Merged
JetSquirrel merged 3 commits into
mainfrom
dash-filters-cli
Sep 30, 2026
Merged

JetSquirrel merged 3 commits into
mainfrom
dash-filters-cli

Conversation

@JetSquirrel

Copy link
Copy Markdown
Owner

No description provided.

JetSquirrel and others added 3 commits October 1, 2026 02:47
Dashboards:
- A `filter` block makes a bar chart or a table pickable; a query reads
  the pick as `$name`, a predicate that is TRUE while nothing is picked.
  The picking plot's own query is never narrowed, only queries whose SQL
  changed re-run, and the picks show as chips above the plots.
- `source` blocks name data files relative to the .dash file, as CTEs
  in front of each query that reads them.
- A 12-column grid (`width`), `card` plots, and maps sized, coloured and
  labelled by column, over an optional OpenStreetMap base map.
- A wheel over a table plot scrolls the table or the dashboard, not both.

CLI:
- `ducklocal schema` lists the relations under PATHs or in a database,
  with their columns and the SQL that reads each, summarised past 12
  relations; `--stats` is the per-column profile, which `profile` now
  only aliases.
- `ducklocal open` shows SQL, a spec or data in the running window;
  `open --state` reads back what the window shows, for an agent to pick
  up where a person left off.
- Errors carry a `hint` when there is an obvious next step.
- Help lists query, schema, open, check and export; `profile` and `lsp`
  still work.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The brief the app copies for Codex, Cursor and chat windows still sent
agents to DESCRIBE and `profile`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
#9 and #10 landed the online base map and map size/tooltip from the same
work this branch carries, since extended here. Every conflict resolves to
this branch's side, a superset of main's; Cargo.toml keeps one `image`
dependency, which the auto-merge had doubled, and getrandom for `open`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@JetSquirrel
JetSquirrel merged commit 282915d into main Sep 30, 2026
3 checks passed
@JetSquirrel
JetSquirrel deleted the dash-filters-cli branch October 6, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant