Skip to content

feat(browser): set the live screen on the bot's color, with a control pill - #150

Merged
httpsphl merged 2 commits into
mainfrom
feat/control-pill
Oct 4, 2026
Merged

httpsphl merged 2 commits into
mainfrom
feat/control-pill

Conversation

@httpsphl

@httpsphl httpsphl commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Part 2 of the ideas from 2026-10-04.

  • The live screen sits on a desk of the bot's color (browser-stage.css): the color mixed with the panel, soft in light, deep in dark, with the page as a window with a shadow. Closed, the desk fades with the last picture.
  • A pill hangs from the desk's edge and says who is in control: the mascot and "Scout is in control" with Take control, or "You are in control" (accent border) with Done, give it back to Scout. It drops in again when control changes hands.
  • Under it: what the bot just did, Sign in in a window, and How it works, folded, with the explanation that used to sit there in full (as the owner asked: who knows it should not keep it on screen).
  • The owner's lines (click to type, the bot waits, the tab it goes on in) moved from the bar above the screen to under the pill.
  • In a narrow panel the pill's phrase leaves the screen (kept for screen readers) and the button says the rest.
  • The page room now subtracts the desk and the pill (spec 21.8); spec 21.8, 21.10 and 21.11 updated.

Test plan

  • pnpm check (pill states in hands.test.tsx, folded help in window.test.tsx, new room size in browser.test.tsx)
  • Preview: Scout's browser in dark, light, wide and narrow; take and give back
  • Real app: take control of a bot's browser and give it back; the page keeps its size

… pill

The bot's browser now sits on a desk of the bot's color, and a pill
hanging from its edge says who is in control, with the button to take
the browser or give it back. Why and how to take it is folded under
"How it works", so an owner who knows it does not read it every time.
@httpsphl
httpsphl enabled auto-merge October 4, 2026 15:59
@httpsphl
httpsphl merged commit 97c6581 into main Oct 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant