Skip to content

fix: link the person in a notification to their profile - #515

Merged
nunomaduro merged 1 commit into
dev-null-sh:productionfrom
SanderMuller:fix/notification-actor-links
Oct 19, 2026
Merged

nunomaduro merged 1 commit into
dev-null-sh:productionfrom
SanderMuller:fix/notification-actor-links

Conversation

@SanderMuller

@SanderMuller SanderMuller commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

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.tsx and NotificationInbox.test.tsx cover 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 .tsx files, so I ran them with bun 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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nunomaduro

Copy link
Copy Markdown
Member

hey man, this looks good 🤌🏻

can you just fix the conflicts, please? thanks

@SanderMuller
SanderMuller force-pushed the fix/notification-actor-links branch from 9d03320 to f82d00a Compare October 19, 2026 19:59
@nunomaduro
nunomaduro merged commit bf378fa into dev-null-sh:production Oct 19, 2026
5 of 6 checks passed
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.

2 participants