Skip to content

fix(session-view): show browser note selectors instead of repeating 'Browser annotation' - #2005

Merged
Hona merged 2 commits into
devfrom
upstream-f/up-369-browser-note-selectors
Dec 1, 2026
Merged

Hona merged 2 commits into
devfrom
upstream-f/up-369-browser-note-selectors

Conversation

@Hona

@Hona Hona commented Dec 1, 2026

Copy link
Copy Markdown
Member

Ports official anomalyco/opencode#67505 (fix(session-ui): show browser note selectors instead of repeating 'Browser annotation', commit fc18f0a280).

Upstream Hunk Mapping

  • packages/session-ui/src/message/comment-card.tsx:57-88,140-147 (detail() shows title || label when commented and subtitle || label when empty; heading() falls back to title || label; tooltip displays heading\ndetail when distinct; subtitle dir="ltr") -> crates/session-view/src/user_parts.rs (note_card).
  • packages/session-ui/src/message/user-message-quotes.tsx:98-105 & packages/session-ui/src/components/message-part.css:2158-2161 (remove duplicate user-message-quote-reference-detail subtitle next to selector) -> crates/session-view/src/user_quotes.rs (note).
  • packages/app/src/composer/editor/editor.tsx:831-838 (disable outer composer tooltip on note cards and delegate tooltip to CommentCard) -> features/annotations/src/quote/cards.rs (already delegates tooltip solely to note_card).
  • packages/session-ui/src/timeline/timeline-row.lab.tsx & packages/app/e2e/regression/session-message-projection.spec.ts: N/A (repo has no automated test code); added --scene browser-note-cards in apps/desktop/src/surfaces/browser/scene.rs.

Verification

  • Local scripts/guardrails.ps1: 11/11 passed.
  • Visual proof scene: --scene browser-note-cards.

Copilot AI balanced review requested due to automatic review settings December 1, 2026 11:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Hona
Hona merged commit 0f4694f into dev Dec 1, 2026
8 checks passed
@Hona
Hona deleted the upstream-f/up-369-browser-note-selectors branch December 1, 2026 11:58
Hona added a commit that referenced this pull request Dec 1, 2026
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.

2 participants