Skip to content

fix(editor): the minimap is a setting, and the docs say what was built (#284, #285, #295) - #649

Merged
EVWorth merged 1 commit into
mainfrom
fix/editor-doc-drift
Sep 11, 2026
Merged

EVWorth merged 1 commit into
mainfrom
fix/editor-doc-drift

Conversation

@EVWorth

@EVWorth EVWorth commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Stacked on #648.

FR-2.3.7 asks for an optional minimap; it was hard-disabled in Monaco's options with no way to turn it on. It's a setting now, in Appearance alongside the theme — still off by default (statements are short and the minimap costs width), but that's a preference rather than a fact about the app.

The rest is documentation. Two of #295's entries were already fixed and the list hadn't caught up: normalize_explain_target handles the trailing semicolon and rejects multi-statement input, and explain exists as a function in query::explain rather than the trait method the docs describe.

#284 — streaming

ARCHITECTURE loses the streaming architecture it promised (execute_stream, query_started, query_rows, query_complete) and gains a section saying why it isn't coming.

The case it was for is a million-row result overwhelming the renderer — which is the case the row limit exists to prevent. Streaming a million rows into a grid moves the problem rather than solving it: the renderer still ends up holding them.

It's also what no comparable client does. DBeaver, TablePlus and Sequel Ace all fetch a bounded page and offer a way to the next one; none streams rows into the grid as they arrive.

Streaming would earn its keep for an export writing straight to a file, where the rows never need to be in memory at once. §5.7 already describes that shape.

#285 — parameterized queries

execute_query runs the user's own text, so there's no application value to bind — the whole statement is the input, and a params array would add surface nothing calls.

Where values are the app's they're bound already, in Rust: every information_schema read uses sqlx::query().bind(). The remaining interpolation is of identifiers, which can't be bound in SQL at all.

Where the app composes SQL for a human to read — a backup file, a generated INSERT — placeholders aren't available and escaping is the only option. Which is why checking this issue's premise turned into #647.

DESIGN_REQUIREMENTS FR-2.3 is marked [partial], and each unbuilt row (snippets, custom shortcuts, per-tab statement history, variable substitution, split editor) says so with what it would take.

2662 unit + 341 browser tests.

Closes #284
Closes #285
Closes #295

🤖 Generated with Claude Code

@EVWorth
EVWorth force-pushed the refactor/editor-tab-kinds branch from 5301c9c to d4d2f16 Compare September 11, 2026 23:50
Base automatically changed from refactor/editor-tab-kinds to main September 11, 2026 23:54
FR-2.3.7 asks for an optional minimap; it was hard-disabled in Monaco's
options with no way to turn it on (#295). It is a setting now, in Appearance
alongside the theme, still off by default — statements are short and the
minimap costs width — but that is a preference rather than a fact about the
app.

The rest of #295 is documentation. Two of its entries were already fixed and
the list had not caught up: `normalize_explain_target` handles the trailing
semicolon and rejects a multi-statement input, and `explain` exists as a
function in `query::explain` rather than the trait method the docs describe.

ARCHITECTURE loses the streaming architecture it promised — `execute_stream`,
`query_started`, `query_rows`, `query_complete` — and gains a section saying
why it is not coming. The case it was for is a million-row result overwhelming
the renderer, which is the case the row limit exists to prevent; streaming a
million rows into a grid moves the problem rather than solving it, since the
renderer still ends up holding them. It is also what no comparable client
does: DBeaver, TablePlus and Sequel Ace all fetch a bounded page and offer a
way to the next one. Streaming would earn its keep for an export writing
straight to a file, which §5.7 already describes.

Parameterized queries go the same way. `execute_query` runs the user's own
text, so there is no application value to bind — the whole statement is the
input, and a `params` array would add surface nothing calls. Where values are
the app's they are bound already, in Rust. Where the app composes SQL for a
human to read — a backup, a generated INSERT — placeholders are not available
and escaping is the only option, which is why the escaping now doubles the
quote.

DESIGN_REQUIREMENTS FR-2.3 is marked `[partial]`, and each unbuilt row says so
with what it would take rather than reading as done.

Co-Authored-By: Claude Opus 5 <[email protected]>
@EVWorth
EVWorth force-pushed the fix/editor-doc-drift branch from ac332d8 to 136de62 Compare September 11, 2026 23:54
@EVWorth
EVWorth merged commit e899f72 into main Sep 11, 2026
12 of 24 checks passed
@EVWorth
EVWorth deleted the fix/editor-doc-drift branch September 11, 2026 23:58
@EVWorth EVWorth mentioned this pull request Sep 12, 2026
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant