Skip to content

fix(web): share picker titles match sidebar (name before summary) - #1219

Merged
tiann merged 1 commit into
tiann:mainfrom
heavygee:fix/share-session-title-parity
Jul 29, 2026
Merged

fix(web): share picker titles match sidebar (name before summary)#1219
tiann merged 1 commit into
tiann:mainfrom
heavygee:fix/share-session-title-parity

Conversation

@heavygee

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • Peer-stack Playwright before: sidebar name vs /share summary
  • Peer-stack Playwright after: both show name
  • bun typecheck + web/hub unit tests
  • Operator dogfood on soup :3006 / Android share sheet

Proof

Before/after PNGs on #1218

Issues

Closes #1218

The /share route used a local getSessionTitle that preferred summary.text
over metadata.name, so Android share-target rows disagreed with the
session sidebar. Reuse @/lib/sessionTitle and lock the precedence with a
unit test. Closes tiann#1218 once upstream PR lands after dogfood.

Co-authored-by: Cursor <cursoragent@cursor.com>
@heavygee

Copy link
Copy Markdown
Collaborator Author

After-fix — /share picker matches sidebar name (peer stack + operator dogfood yes).

share-title-parity-after-share.png

asset: heavygee/hapi@pr-attach-proof-1219/proof-2026-07-28T17-15-32-share-title-parity-after-share.png · delete release after merge if desired

@github-actions github-actions Bot 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.

Findings

  • No issues found.

Summary

  • Review mode: initial
  • Reviewed the full latest diff for web/src/routes/share/index.tsx and web/src/lib/sessionTitle.test.ts. No correctness, security, data-loss, performance, or maintainability issues found in the added/modified lines. Residual risk: route-level rendering behavior for the share picker was not exercised here.

Testing

  • Not run (automation)

HAPI Bot

@tiann
tiann merged commit 5eae68d into tiann:main Jul 29, 2026
2 checks passed
@heavygee
heavygee deleted the fix/share-session-title-parity branch July 29, 2026 04:42
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.

fix(web): share-target session picker titles use summary instead of sidebar name

2 participants