feat(shared): link to a user's world from the profile tooltip - #6531
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
force-pushed
the
claude/profile-tooltip-world-button-d550b7
branch
from
August 25, 2026 20:47
c79afcb to
c25e5ca
Compare
Member
Author
|
CI note: the first run failed on That is a pre-existing flake, not this change. The same test failed on Re-pushed the same tree to re-trigger the workflow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
hasPublicWorld, which the tooltip cannot do per hover), and the world route already handles the empty and private cases.webappUrlprefix so the link resolves from the extension too.Test plan
UserEntityCard.spec.tsxcovers the link target and that it survives for the logged-in user's own card.pnpm --filter shared teston the entity cards and profile tooltip suites.node ./scripts/typecheck-strict-changed.jsand a fulltscover webapp (clean outside the pre-existing__tests__backlog).Preview domain
https://claude-profile-tooltip-world-but.preview.app.daily.dev