Repository navigation
docs: SESSION-mode README rewrite + IndexedDB upgrade-hang fix - #28
Merged
Merged
Conversation
When a fresh tab tries to open the v8 schema and an older tab still holds a v7 connection, openDB sat on the upgrade forever because we wired neither `blocking` (close our connection so the other tab's upgrade can proceed) nor `blocked` (surface an actionable error when WE're the one waiting). The History page rendered "Loading…" indefinitely on every browser that had used a previous build. Add `blocking`, `blocked`, `terminated`, plus a 5 s timeout safety net in case `blocked` doesn't fire on older Chromium builds. The existing try/catch in History.tsx routes the rejection through to a visible error banner, so the user sees "close every other TK-1 tab and reload" instead of an infinite spinner.
Since the last README update (~40k LoC ago) the program changed shape: a 90-minute jam recording now becomes a finished multi-cam video without a DAW or NLE. Triage carves the recording into bar- aligned chunks, Arrange sequences them on a 35 mm film strip, the editor plays cuts and FX over the result. The old README still described a post-recording multi-cam editor and chroma-cross- correlation sync. Repositions the hero around the two ways in — "Have a track. Want a video." (DIRECT) vs. "Have an hour. Want a song." (SESSION) — and walks the new operator loop: triage rack, film-strip arrange, contextual I/O hotkeys, OP-1 loop with gapless wrap, stage-based output with per-clip viewport, FX hardware panel with synth-voice ADSR, native file handles + multi-GB streaming. Audio prose stays non-technical above the new "Under the hood" appendix; the 5-tier sync pipeline and Rayleigh tempo prior live there. Adapts scripts/readme-screenshots.mjs to the new picker (deletes `window.showOpenFilePicker` so Playwright's filechooser intercept still works) and the SESSION routing card, plus three new stops: triage rack, arrange film strip, FX panel with the LCD flipped to envelope mode. Regenerates all screenshots into .github/screenshots including the four new filenames the README references.
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.
Summary
fix(storage)—openDB(...)injobs-db.tsnow wiresblocking/blocked/terminatedhandlers plus a 5 s timeout safety net, so the History page surfaces "close every other TK-1 tab and reload" instead of hanging onLoading…when an older tab still holds the previous schema version.docs— README rewrite for the SESSION-mode era (~40 k LoC since the last update). Repositions the hero around "Have a track. Want a video." (DIRECT) vs. "Have an hour. Want a song." (SESSION), walks the new triage / arrange / editor loop, and pushes the 5-stage sync pipeline + Rayleigh tempo prior into a new "Under the hood" appendix so the operator-facing prose stays non-technical.frontend/scripts/readme-screenshots.mjsadapted for the new file-handle picker (deleteswindow.showOpenFilePickerso Playwright'sfilechooserintercept still fires), the SESSION routing card, and three new stops: triage rack, arrange film strip, FX hardware panel with the LCD in envelope mode. All 13 screenshots regenerated into.github/screenshots/.Test plan
/jobsshows the "close other TK-1 tabs and reload" banner instead of hanging onLoading….npm run dev, navigate every screen the README references; copy still matches the shipped UI.node scripts/readme-screenshots.mjsregenerates all 13 PNGs without manual intervention.🤖 Generated with Claude Code