Repository navigation
fix(editor): the minimap is a setting, and the docs say what was built (#284, #285, #295) - #649
Merged
Merged
Conversation
EVWorth
force-pushed
the
refactor/editor-tab-kinds
branch
from
September 11, 2026 23:50
5301c9c to
d4d2f16
Compare
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
force-pushed
the
fix/editor-doc-drift
branch
from
September 11, 2026 23:54
ac332d8 to
136de62
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_targethandles the trailing semicolon and rejects multi-statement input, andexplainexists as a function inquery::explainrather 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_queryruns the user's own text, so there's no application value to bind — the whole statement is the input, and aparamsarray would add surface nothing calls.Where values are the app's they're bound already, in Rust: every
information_schemaread usessqlx::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