Jump from a reply to the boards it made or changed, and a theme switch - #197
Draft
Jing-yilin wants to merge 5 commits into
Draft
Jing-yilin wants to merge 5 commits into
Jing-yilin wants to merge 5 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hem on the canvas The server hashes the project's boards when a run starts and again when it ends, and the end event lists each board whose bytes changed, new or rewritten. Off the files rather than the tool lines, which cannot say what a generator wrote. The hashing the watcher did is now hashBoards in boards.ts, shared by both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying super-prototyping with
|
| Latest commit: |
7f55b72
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9004fa5a.super-prototyping.pages.dev |
| Branch Preview URL: | https://jump-to.super-prototyping.pages.dev |
An agent places boards under ids of its own in canvas.json, so the library's id missed them and the button did nothing. A generator rewriting every board made the list long. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r project, theme follows other windows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Under each agent reply in the chat, a button for every board the run made or rewrote. Clicking one brings its canvas forward and fits the board to the view, as a double-click does. The dot is blue for a new board and green for a rewritten one, the colours of their rings on the canvas. More than three rows of buttons fold behind "Show all N".
This PR also carries the theme switch (system, light or dark) from
theme-toggle, merged in as a dependency. It was never opened as a PR of its own.agent.ts): hashes the project's boards when a run starts and again as its end event is written, and addsmade: [{board, status}]to that event. It works off the files rather than the tool lines, so a board a generator (gen.py) wrote counts, and one it wrote again with the same bytes doesn't.boards.ts:hashBoards/boardHash, now shared with the watcher insp.ts.ChatPanel.tsx):MadeBoardsrenders the buttons, folded to three rows, and sendssp:focus-boardon the window.App.tsx): finds thecanvas-fileshape by its path, trying the board's own canvas first, then opens that canvas tab and callszoomToFill. It goes by path rather than the library's id because an agent places boards under ids of its own incanvas.json.ThemeSwitcher.tsxandtheme.ts.Stacked on #195. I'll retarget it to main once #195 merges.
Tested:
02 Whats New(green) and04 Test Board(blue), and each button found its board.canvas.json: a 53-board reply folded to three rows, the toggle opened and closed the list, and buttons jumped across canvas tabs.🤖 Generated with Claude Code