Repository navigation
Conversation
The starfield now draws behind every desktop tutorial screen but FlappyTerm and Copy paste, whose text the user selects. Mouse capture and wheel panning stay on Pocket's Gesture navigation screen alone. Stars keep off each row's text, soft wraps included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tool serving frames a listener at its numeric loopback address since 327196a, so the playground refused its own viewers at 127.0.0.1. Accept any loopback hostname under /playground-fs/, and test the URL Tool serving actually builds from the port the playground's dor reports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
YOUTUBE_MUSIC_VIDEO in website/src/lib/youtube.ts names the video the site shows. The desktop playground's top-right pane is now an iframe browser pane on its privacy-enhanced embed, which the playground's iframe proxy passes through, and ascii-splash and changelog share the bottom-right side by side. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The video burns in its own captions. YouTube ignores cc_load_policy=0 and reloads its captions each time playback starts, so the desktop playground subscribes to each embed over the embed API and unloads the captions module whenever a player starts playing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pocket-video is a browser Session between the tutorial and the changelog: the YouTube embed, 16:9 so a portrait screen letterboxes it, with YouTube's captions kept off and the video paused whenever the Session is hidden. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The section has the user open a pane's properties (right-click its header, or ? in command mode), run npm run dev in two panes, and find each server's port in their properties. Its prose explains what the iframe renderer and the agent-browser and playwright renderers can and cannot do; the music video pane is the browser pane to try. - npm run dev is a pretend Vite: each takes the first free port from 5173 and reports it as the pane's open port, freeing it on Ctrl-C. - Wall fires a contextOpen event, with its mode, on every terminal context opening, which the detector credits from. - The playground's iframe proxy explains that a dev server's port has no page, rather than naming only its viewers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The desktop playground's npm run dev serves nothing, so a system browser opening its port showed a connection error. The playground's openExternal now sends a running pretend dev server's loopback URL to the music video, and passes every other link through. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The iframe embed action on a running npm run dev port tried to frame a port that serves nothing. The playground's iframe proxy now frames the music video's embed for it, as the system browser action opens the video. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying mouseterm with
|
| Latest commit: |
758592c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://325ca84e.mouseterm.pages.dev |
| Branch Preview URL: | https://playground.mouseterm.pages.dev |
dormouse-bot
left a comment
There was a problem hiding this comment.
The desktop tutorial now renders every screen except FlappyTerm and Copy paste through renderOverStarfield, and that path stops laying out text at the pane's last row (if (row >= rows) break;). The old desktop path wrote lines with \r\n, so in a short pane the overflow went to scrollback and the user could still read it. Now it is dropped with no way to reach it. The new Ports and browsers section makes this likely. Its three prose paragraphs plus the active hint come to roughly 27 rows at 70 columns, and its second step asks the user to split off two new panes. Splitting the tutorial pane brings it under 20 rows, so the prose and the "Section complete" line disappear. The menu's lower rows (FlappyTerm, Reset progress) can go the same way in a short pane while the cursor can still land on them. One option: on the desktop profile, fall back to the plain scrolling render when the laid-out text is taller than rows.
… running servers Text taller than the tutorial pane keeps its last rows over the starfield, as the plain line-by-line render did, instead of dropping them. The desktop starfield skips its ticks while the tutorial terminal is not on screen. The ports credit forgets panes whose dev server stopped, so one server rerun in another pane is never two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Overflow fixed in f79cf0d: text taller than the pane now keeps its last rows over the starfield, so the active hint, the prose, and "Section complete" stay on screen when the pane is split short, and the menu's bottom rows stay reachable. One correction: the tutorial runs on the alternate screen, which has no scrollback, so the old |
# Conflicts: # website/src/components/PocketTerminalExperience.tsx
Sprucing up the website playground.
Desktop playground
YOUTUBE_MUSIC_VIDEOinwebsite/src/lib/youtube.tsis the one place the video is named. It replaces the changelog pane as an iframe browser pane; ascii-splash is split vertically with the changelog beside it. YouTube's auto captions are unloaded each time the video starts playing (the video has its own captions), sincecc_load_policy=0alone does not stick.dor openfix. Viewers announced at a numeric loopback address (127.0.0.1) are framed again, instead of "Can't frame this URL".dor open):?credits the first item, now reported by a newcontextOpenWall event.npm run devin two terminals credits the second. The playground's pretend Vite takes the first free port from 5173, so the two report different ports in their properties.Pocket playground
Specs
docs/specs/tutorial.mdcovers the four-pane layout, the Ports credit rule, thecontextOpenhook, the iframe-proxy rule for the video, and the Pocket video Session; its word budget is ratcheted.Testing
website:pnpm test(type check + 502 tests) passes; new tests cover the starfield layout, caption hiding, the dev server program, the ports detector, and iframe/system-browser routing.lib:Wall.test.tsxassertscontextOpenfor?, right-click, and!.🤖 Generated with Claude Code