Skip to content

fix(desktop): open root message links in thread panel#1095

Merged
tlongwell-block merged 1 commit into
fix/timeline-min-width-overflowfrom
max/root-message-link-opens-thread
Jun 17, 2026
Merged

fix(desktop): open root message links in thread panel#1095
tlongwell-block merged 1 commit into
fix/timeline-min-width-overflowfrom
max/root-message-link-opens-thread

Conversation

@tlongwell-block

Copy link
Copy Markdown
Collaborator

Summary

  • Open the thread panel when a buzz://message link targets a visible root/top-level message.
  • Keep the existing broadcast-reply early-return behavior.
  • Add an e2e regression covering a clicked buzz://message link to a visible root message.

Root cause

useChannelRouteTarget resolved the clicked/linked target from the visible timeline, but then returned early for messages with no parentId. That let root-message links scroll/highlight the message while never setting openThreadHeadId / reply target state, so the reply panel did not open. Reply links worked because replies have parentId and took the existing thread-route path.

Verification

  • pnpm build (from desktop)
  • pnpm exec playwright test tests/e2e/navigation.spec.ts --grep "message links to visible root messages open the thread panel"
  • pnpm exec biome check --write src/features/channels/ui/useChannelRouteTarget.ts tests/e2e/navigation.spec.ts
  • pnpm typecheck
  • pre-push hooks: desktop/mobile/rust/tauri tests passed

Note: this PR is stacked on #1092 (fix/timeline-min-width-overflow) so the diff stays limited to the route-target fix while #1092 is still open.

Co-authored-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
@tlongwell-block tlongwell-block force-pushed the max/root-message-link-opens-thread branch from 8a65dd1 to 80cbd4c Compare June 17, 2026 21:30
@tlongwell-block tlongwell-block merged commit 47248a3 into fix/timeline-min-width-overflow Jun 17, 2026
18 of 19 checks passed
@tlongwell-block tlongwell-block deleted the max/root-message-link-opens-thread branch June 17, 2026 21:36
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