The front door: a database on arrival, and a badge that tells the truth - #36
Merged
Conversation
Two things a first-time visitor saw, both accurate and both useless. The explorer opened on eight panels reading "No database open". That is true and it is not a demo: every panel needs a database, and somebody arriving from a link has no reason to know that `+ New` is the way in. It now creates one and fills it: two tables, forty users with a NULL age every seventh row, sixty orders, an index on a non-key column, and ANALYZE. At 256-byte pages that is 48 pages, so the disk map has something to show, the heap chain is visible, and the B+ tree view has a real tree with a real height. Once, and only when the workspace is genuinely empty. Somebody who deletes the sample meant to delete it. The connection badge had two states where the engine has three. Between "transport is up" and "the first /health has answered" nothing is wrong, and painting that red made the app look broken to its own author for two minutes: the WASM build shows a full UI reading "disconnected" for the tail of a twenty-second boot. It says "starting", in amber, until the engine actually answers. Also MIT, which the repository should have had from the first commit. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Two things a first-time visitor saw, both accurate and both useless.
The explorer opened empty
Eight panels reading "No database open". True, and not a demo: every panel
needs a database, and somebody arriving from a link has no reason to know that
+ Newis the way in.It now creates one and fills it — two tables, forty users with a NULL age every
seventh row, sixty orders, an index on a non-key column, and
ANALYZE. At256-byte pages that is 48 pages, so:
Execution workspace
surprises people most and a demo without any cannot show it
Once, and only when the workspace is genuinely empty. Somebody who deletes the
sample meant to delete it. The seed SQL is in the demo catalogue, so
test_demo_sql.pyruns every statement of it against the real engine.The badge had two states where the engine has three
Between "the transport is up" and "the first
/healthhas answered" nothing iswrong, and painting that red made the app look broken to its own author for two
minutes: the WASM build shows a full UI reading
disconnectedfor the tail ofa twenty-second boot. It now says
starting, in amber, until the engine answers.Also
MIT, which this repository should have had from its first commit. The repo
description and fifteen topics are set too — both were empty.
make cigreen. 1,715 Python tests, 160 frontend.Screenshots for the README come next, taken from the deployed build so they show
exactly what a visitor sees.
🤖 Generated with Claude Code