Skip to content

Make the full highlighted thread search row clickable - #5895

Merged
ymichael merged 3 commits into
mainfrom
bb/fix-dead-clicks-on-prompt-library-popup-options-thr_nwhpa3p967
Oct 20, 2026
Merged

ymichael merged 3 commits into
mainfrom
bb/fix-dead-clicks-on-prompt-library-popup-options-thr_nwhpa3p967

Conversation

@ymichael

@ymichael ymichael commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Thread search palette rows highlighted their entire flex wrapper, but only the inner option and the separate Open in split button handled clicks. The strip before that button and the space above, below, and beside it highlighted without opening the thread. This is the same class of hit-area mismatch addressed in #5891.

What changed

Move the primary click handler and pointer cursor to the highlighted wrapper so its whole area opens the thread. Stop propagation on Open in split so it performs only the split action, and prevent repeated clicks from selecting row text. Status tooltips retain their existing hit targets. Also regenerate the missing TypeScript 7.0.2 package and platform snapshots in the existing lockfile: the query-tags alias already referenced that version, but frozen CI installs failed before any checks could run. No dependency declarations change. Bump the Plugin SDK patch version to 0.6.61 because the generated declarations inherited from main differ from the already-published 0.6.60 package and fail the npm version guard. No wire, CLI, or plugin API changes.

How you verified

  • Reproduced with real browser coordinate clicks before editing: the strip before Open in split, space above it, and right edge left the highlighted palette open.
  • After the fix, real clicks before, above, below, and beside the button, plus the main content, open the selected thread normally.
  • A direct Open in split click opens a second pane; the row edge remains clickable when that button is hidden because the thread is already open.
  • pnpm exec turbo run test --filter=@bb/app -- src/components/commands/CommandPalette.test.tsx: 71 tests passed, including split activation without primary navigation.
  • pnpm exec turbo run lint typecheck --filter=@bb/app: passed (lint warnings, no errors).
  • pnpm install --frozen-lockfile --ignore-scripts: passed after regenerating the missing lockfile entries.
  • Built and smoke-checked pnpm start:worktree with synthetic palette threads.

AGENT GENERATED

@ymichael
ymichael force-pushed the bb/fix-dead-clicks-on-prompt-library-popup-options-thr_nwhpa3p967 branch from b268ac2 to f2a45a3 Compare October 20, 2026 19:07
@ymichael
ymichael merged commit e043b55 into main Oct 20, 2026
88 of 89 checks passed
@ymichael
ymichael deleted the bb/fix-dead-clicks-on-prompt-library-popup-options-thr_nwhpa3p967 branch October 20, 2026 19:31
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