Repository navigation
fix: link the person in a notification to their profile - #515
Merged
nunomaduro merged 1 commit intoOct 19, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
hey man, this looks good 🤌🏻 can you just fix the conflicts, please? thanks |
SanderMuller
force-pushed
the
fix/notification-actor-links
branch
from
October 19, 2026 19:59
9d03320 to
f82d00a
Compare
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.
In a star, reply, quote or mention notification, every click opened the commit, even a click on the person's name. The row gave no way to get to the person.
The name and handle now link to the person's profile. The name underlines on hover, the same as on a commit. The rest of the row still opens the commit, or the profile for a follow.
The row link moves to the action text, such as "starred your commit", and still covers the whole row. This works for both row layouts since #489. In the avatar-stack layout for stars and follows, the stack gets
isolate, so a click on an avatar still opens the commit. In the layout for replies, quotes and mentions, the avatar sits on the rail, outside the row.I checked it in Chrome with local test users. A click on the name opened the profile, and a click on the excerpt, the time or the avatars opened the commit. Tab goes from the name to the row link, and its focus ring covers the whole row.
NotificationIndex.test.tsxandNotificationInbox.test.tsxcover the new links and check that no link sits inside another. Existing assertions now expect the name and the action text as links, and count the new links. CI does not run these.tsxfiles, so I ran them withbun test. Seven tests fail without the change.#570 also links notification actors to their profiles, and adds the profile preview. It leaves grouped headers as they are, and this PR links the name there too. If #570 lands first, this PR is only needed for grouped headers.
🤖 Generated with Claude Code