Skip to content

feat(shared): link to a user's world from the profile tooltip - #6531

Merged
idoshamun merged 1 commit into
mainfrom
claude/profile-tooltip-world-button-d550b7
Aug 26, 2026
Merged

feat(shared): link to a user's world from the profile tooltip#6531
idoshamun merged 1 commit into
mainfrom
claude/profile-tooltip-world-button-d550b7

Conversation

@idoshamun

@idoshamun idoshamun commented Aug 25, 2026

Copy link
Copy Markdown
Member

What

Adds an icon-only button with the world icon next to the Follow button in the user card that the profile tooltip renders, linking to /world/<username>.

Until now the only door into someone's world was the segmented toggle on their profile page. The tooltip already shows up everywhere a user is hovered (feed authors, comments, @ mentions, post widgets), so this makes the world reachable one hover away instead of one navigation away.

Notes

  • Rendered for every user, including the viewer themselves. The Follow button hides for your own card; the world button should not, since your own world is the one you are most likely to want.
  • No gating on whether the world has anything in it. The card has no cheap way to answer that (the profile page answers it at build time via hasPublicWorld, which the tooltip cannot do per hover), and the world route already handles the empty and private cases.
  • webappUrl prefix so the link resolves from the extension too.

Test plan

  • New UserEntityCard.spec.tsx covers the link target and that it survives for the logged-in user's own card.
  • pnpm --filter shared test on the entity cards and profile tooltip suites.
  • node ./scripts/typecheck-strict-changed.js and a full tsc over webapp (clean outside the pre-existing __tests__ backlog).

Preview domain

https://claude-profile-tooltip-world-but.preview.app.daily.dev

@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Aug 25, 2026 8:50pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Aug 25, 2026 8:50pm

Request Review

Adds an icon-only world button next to Follow in the user card the profile
tooltip renders, so the world is reachable from anywhere a user is hovered
rather than only from their profile page.

Shown for every user, including the viewer themselves (who has no Follow
button). The card has no cheap way to know whether a world has anything in
it, and the world route already handles the empty and private cases.
@idoshamun
idoshamun force-pushed the claude/profile-tooltip-world-button-d550b7 branch from c79afcb to c25e5ca Compare August 25, 2026 20:47
@idoshamun

Copy link
Copy Markdown
Member Author

CI note: the first run failed on test_webappMyFeedPage.tsx > should request user feed (Unable to find an element by: [data-testid="postItem"]).

That is a pre-existing flake, not this change. The same test failed on main earlier today in build 161384. Locally it reproduces at roughly 1-in-15 with this branch checked out, and the code path it exercises never renders UserEntityCard — the tooltip only mounts its content on hover.

Re-pushed the same tree to re-trigger the workflow.

@idoshamun
idoshamun merged commit bdc64a5 into main Aug 26, 2026
12 checks passed
@idoshamun
idoshamun deleted the claude/profile-tooltip-world-button-d550b7 branch August 26, 2026 05: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