Repository navigation
fix(app): the bot's page fills the desk, and the notes under it fold - #166
Merged
Merged
Conversation
The page was sized for the panel minus a fixed allowance, but with the owner in control the notes under the pill took more height than that, so the page shrank to fit by height and left wide bands of the desk on both sides. Now the room is measured where the page shows, inside the desk's edge, so the page fills it at its own size. Under the pill, the owner's notes are one row of buttons (teach, window, how it works) with the hints folded, and a lesson's steps scroll in a fixed height, so the page keeps the room. The pill still hangs on the desk's bottom edge, never over the page.
httpsphl
enabled auto-merge
October 4, 2026 20:17
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.
Why
With the owner in control, the bot's page showed small, with wide bands of the bot's color on both sides.
The cause was a mismatch between how the page was sized and how much room it really had:
What
browser.resize), so it fills the desk at its own size.Checks
pnpm checkpasses. The room test now expects the measured desk room, and the tabs test opens How it works before reading the folded line.Manual check on the real app
Open a bot's browser and take control: