Skip to content

Add Timeline Comments plugin#8

Merged
brsbl merged 22 commits into
mainfrom
agent/timeline-comments
Jul 23, 2026
Merged

Add Timeline Comments plugin#8
brsbl merged 22 commits into
mainfrom
agent/timeline-comments

Conversation

@brsbl

@brsbl brsbl commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • add the Timeline Comments plugin as a self-contained plugins/timeline-comments workspace
  • attach durable comment threads to exact user and agent message selections with underlines, nearest-gutter markers, local collision clusters, compact source popovers, and a thread-scoped management panel
  • support replies, recoverable edit/reply drafts, deletion, resolve/reopen, contextual individual agent handoff, and bulk current-thread handoff through a fresh mention
  • keep agent handoff source-visible and editable while closing the originating popover before navigation
  • persist comments in plugin-owned SQLite with schema-validated RPC, bounded pagination, optimistic concurrency, realtime reconciliation, BB-thread lifecycle cleanup, and a read-only CLI
  • add accessible focus behavior, consistent body validation, larger compact action targets, the repository card, plugin README, portable SDK declarations, focused tests, and a real-browser interaction harness

Screenshots

Comment from the floating text-selection menu

Comment action in the floating text-selection menu

Anchored gutter thread with a reply

An anchored comment thread with a reply

Dependency

This plugin depends on ymichael/bb#846, a separate BB-core PR that adds the 0.0.34 host contracts for selection-only message-action placement, rendered UTF-16 selectors, content-script RPC/realtime/navigation, stable timeline DOM hooks, and thread-panel message reveal. This PR should remain draft until that host work lands.

Validation

  • npm run check
  • npm run test:browser --workspace=bb-plugin-timeline-comments
  • Timeline Comments: 22 focused tests
  • real-Chromium coverage for gutter clustering, focus movement/restoration, input validation, contextual handoff, popover cleanup, and narrow-viewport positioning
  • live selection, gutter-thread, and reply flows exercised against the BB host branch
  • repository hygiene, all workspace typechecks/builds/tests, scaffold smoke, built tests, and artifact validation pass

@brsbl
brsbl marked this pull request as ready for review July 23, 2026 19:22
@brsbl
brsbl merged commit 72d6c76 into main Jul 23, 2026
11 checks passed
@brsbl
brsbl deleted the agent/timeline-comments branch July 23, 2026 19:56
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