Skip to content

feat: preview and open profiles from notification actors - #570

Merged
brendt merged 2 commits into
dev-null-sh:productionfrom
jubianchi:feat/notification-user-preview
Oct 20, 2026
Merged

brendt merged 2 commits into
dev-null-sh:productionfrom
jubianchi:feat/notification-user-preview

Conversation

@jubianchi

@jubianchi jubianchi commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

ince #515, the name in a notification links to the profile. What's still missing:

  • the profile preview the log and "Who to follow" show on hover;
  • a way to the person from the avatar, the biggest target on a phone;
  • in an expanded group of replies, quotes or mentions, each item is one link to the commit, so nobody in the list can be reached.

Changes

  1. Previews. In a notification about one person, hovering the avatar or the name opens the profile preview, anchored to the avatar like on a commit card. Group headers don't get one: their expanded list previews each person.
  2. Links. The avatar of a single notification links to the profile, except for a follow, whose whole row already does. In expanded replies, quotes and mentions, the avatar and the name open the profile, and the time and the text open the commit, like a commit card. Expanded stars and follows keep opening the profile.

Screenshots

Enregistrement.de.l.ecran.2026-10-19.a.22.51.39.mov

Blue outline: opens the profile. Dashed orange outline: opens the commit.

One person: a single star. The avatar now opens the profile too.

Before After
before-1-one-person after-1-one-person

One person: hovering the name.

Before After
before-4-hover-one-person after-4-hover-one-person

Several people: a group of stars, expanded. Unchanged: the header names the first person, and each expanded star already opens the profile.

Before After
before-3-several-replies after-2-several-people

Several people: a group of replies, expanded. Each reply was one link to the commit. Now its avatar and name open the profile.

Before After
before-3-several-replies after-3-several-replies

Tests

  • tests/Unit/AuthorHover.test.tsx: the notification avatar previews around the avatar it anchors.
  • tests/Unit/NotificationIndex.test.tsx: previews on single notifications and expanded items but not on group headers, the avatar link, expanded replies split between the profile and the commit, and no link nested in another.

@jubianchi
jubianchi marked this pull request as draft October 19, 2026 09:17
@jubianchi
jubianchi force-pushed the feat/notification-user-preview branch from 19c5e6c to eebfe90 Compare October 19, 2026 09:21
@jubianchi
jubianchi marked this pull request as ready for review October 19, 2026 09:28
@jubianchi
jubianchi force-pushed the feat/notification-user-preview branch from eebfe90 to d7a5a7f Compare October 19, 2026 20:40
The avatar and the name of a single notification open the same profile
preview as on the log and in who to follow, anchored to the avatar like
a commit card. A group leaves its header alone, since its expanded list
previews each person.

The previews only wrap the links that are already there, so a click
still lands where it did.

🤖 Generated with Claude Code
The name of a notification already links to the profile. Its avatar now
does too, so a tap on a phone lands on the person, except for a follow,
whose whole row already opens the profile.

Expanded replies, quotes and mentions were one link to the commit. Their
avatar and name now open the profile, and their time and excerpt the
commit, like a commit card. Expanded stars and follows keep opening the
profile.

🤖 Generated with Claude Code
@jubianchi
jubianchi force-pushed the feat/notification-user-preview branch from d7a5a7f to 252bd76 Compare October 19, 2026 21:03
@brendt
brendt merged commit 3e55ca6 into dev-null-sh:production Oct 20, 2026
5 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