Skip to content

Desktop: message-focused AIM chats, glass actions and Send controls - #237

Merged
brsbl merged 52 commits into
mainfrom
bb/collapse-them-during-the-turn-thr_xitrpg5vep
Oct 4, 2026
Merged

brsbl merged 52 commits into
mainfrom
bb/collapse-them-during-the-turn-thr_xitrpg5vep

Conversation

@brsbl

@brsbl brsbl commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

AIM chats emphasize messages with 14 px Times text, red Me names, blue buddy names, tighter spacing, and a smaller Steer label above its message. Historical tool/thinking rows are hidden; warnings and errors remain.

  • Message actions sit flush with the message’s right edge on compact glass. Attachments align left, quotes clear the speaker label, and the transcript gains 4 px inset per side.
  • The strip mirrors native Send/Stop for the bottom composer; queued editors retain their own submit buttons. Observers reconnect after minimize/restore.
  • Archived chats show the native archived notice and Unarchive control. Links have an XP context menu. A markup guard falls back to native chat when the host contract changes.
  • Working becomes Typing in the supported live indicator. Reply in side chat preserves selected-message context and opens the child’s normal thread route.

Validation

  • Final-head remote CI passed: https://github.com/brsbl/bb-plugins/actions/runs/37208697774.
  • Cumulative Slop Cop completed. Both AIM P1s—restored observers and queued-editor targeting—were fixed and verified. The nonblocking live Thinking selector issue remains a recorded follow-up; the bottom typing status remains visible.
  • Chrome for Testing 151.0.7922.71: prior bounded QA passed hover/keyboard actions, right-edge geometry, native Add to chat, link menu, attachment gallery, quote layout, narrow scrolling, minimize/restore, initially minimized reload, and queued-editor isolation. Current screenshots refresh the final base/head after behavior-preserving main merges.
  • Side chat’s selected-message payload, normal child routing and draft retention passed with a synthetic successful RPC response. A real invalid-source rejection preserved the route and draft. Successful native creation remains unverified; no provider turn was submitted. Copy was invoked, but clipboard readback was denied.
  • Active-state evidence uses a synthetic thread status to verify Typing and Stop rendering, not stopping a provider. Fork remains deferred until the SDK supports native deferred-fork navigation; no replacement Fork action is added.

Screenshots

Before: 573948b7e593e6d6012d7bf2af53db0453449497 · After: 21b97abcccb7af91fcd35a6d57de1e0eadf7f4bd.

Same isolated app at core 1e2cee69, synthetic conversation, light theme, 620×640 window at (354,129), and 1440×900 CSS viewport at 2×. Transcript captures start at the top; active captures are bottom-anchored.

State Before After
Messages, Steer and hover controls Before chat After chat
Typing and Stop, seeded active Before Working and Stop After Typing and Stop
Archived conversation Before archived After archived

BB-Thread-ID: thr_xitrpg5vep

brsbl and others added 2 commits October 2, 2026 21:16
…ed-off archived threads

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…threads, left-align your message actions

- Remove the during-turn collapse; bb's timeline spacing is enough.
- Archived threads match bb's thread view: "Thread is archived" with Unarchive, hiding bb's [data-scroll-footer] rather than its utility classes.
- A person's message actions sit at the left edge, like the agent's.
- DESIGN.md and README record the steer line, live Thinking/Working lines, and archived threads.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl added a commit that referenced this pull request Oct 3, 2026
brsbl added a commit that referenced this pull request Oct 3, 2026
brsbl added a commit that referenced this pull request Oct 3, 2026
brsbl added a commit that referenced this pull request Oct 3, 2026
- Every rule that restyles bb's ThreadChat now lives in one fenced "bb ThreadChat contract" block of app.css.
- chat-contract.ts checks the markers that block relies on (timeline rows, message columns, the scroll footer, the
  prompt box). If bb renames them, the window drops the .bbd-im-chat class, falls back to bb's own chat look, and warns
  once. Archived threads switch to bb's composer-less timeline then, so no message box can appear.
- A jsdom test runs the contract against real ThreadChat markup captured from bb 1e2cee69ad, and against renamed
  markers. The fixture is excluded from the build's Tailwind scan via .ignore.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl added a commit that referenced this pull request Oct 3, 2026
…ng-the-turn-thr_xitrpg5vep

# Conflicts:
#	plugins/desktop/README.md
brsbl added a commit that referenced this pull request Oct 3, 2026
brsbl and others added 2 commits October 3, 2026 08:00
Tool calls, thoughts, "Worked for" folds and the live Thinking/Working line are hidden in the IM window; the status
bar already says the buddy is typing and Open in bb shows the full thread. User and agent messages stay, as do user
rows sent by another agent or bb, and warnings and errors. Tested against the captured ThreadChat markup.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl added a commit that referenced this pull request Oct 3, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Errors are `<thread>:error:<key>` rows, not only `:op:error:` notices, so the message-only filter hid them. Keep
any `:error:` row and `:op:warning:` notices, with a regression test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl added a commit that referenced this pull request Oct 3, 2026
- The 20 px action slot under each message shrinks to 4 px, and its buttons to 12 px, so they fit bb's 8 px row gap
  exactly. Measured in the dev app: 0 px overlap with the next message on hover or focus.
- Hidden non-message rows collapse to 1 px instead of display:none. In long threads bb's windowed list treats a 0 px row
  as unmeasured and reserves 28 px for it, which doubled gaps and bounced the last message while the agent typed.
- Gaps: 28 -> 12 px between messages (long threads 21 px under a person's message, from bb's fixed row gap).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl added a commit that referenced this pull request Oct 3, 2026
…last message; code stays monospace

- Messages sent by another agent or bb (user rows without a message column) render as a quoted AIM line in an inset XP
  field: bb's "Message from <thread>" title as a bold green speaker label, the text in the transcript's Times. The
  generic gray italic system-line rules no longer reach them. Captured markup added to the fixture, with tests.
- The top-level transcript keeps 10 px of bottom padding so the last message's hover actions clear the message box.
- Code chips keep bb's monospace: the Times size rule skips <code>, which also carries .text-xs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl added a commit that referenced this pull request Oct 3, 2026
Right-clicking a link in an IM (or any desktop window) opens an XP menu like the rest of the desktop: Open link (the
same as a click, so bb's link setting and thread links behave as usual), Open in bb Explorer when bb sends web links to
the system browser, and Copy link.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl added a commit that referenced this pull request Oct 3, 2026
brsbl added a commit that referenced this pull request Oct 3, 2026
@brsbl brsbl changed the title Desktop: AIM chats collapse work during a turn, steer above Me:, signed-off archived threads Desktop: message-focused AIM chats, glass actions and Send controls Oct 3, 2026
@brsbl
brsbl merged commit c4f8e0b into main Oct 4, 2026
26 checks passed
@brsbl
brsbl deleted the bb/collapse-them-during-the-turn-thr_xitrpg5vep branch October 4, 2026 20:59
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