Profile popout: more triggers and the original's polish #218

Open
opened 2026-11-12 05:14:26 +00:00 by charles · 0 comments
Owner

Behaviour of the web app's profile popout the first version (branch feat-user-profile) does not have:

  • Opened from mentions (MentionRenderer.tsx:167-195), reply previews, system message names, avatar stacks and the stream spectators popout; the first version opens it from member list rows, message author avatars and names, and voice participant rows.
  • Hover prefetch: the profile is fetched after 220 ms of hover over a trigger (useUserProfileHoverPreload.ts:6,33,40).
  • Shift+click on a trigger inserts a mention instead (PreloadableUserPopout.tsx:83-91).
  • Right-click on a member, an author or a participant opens the user's context menu (GuildMemberContextMenu / UserContextMenu); only the voice participant menu exists.
  • The slide-in (opacity 0→1, x ±10 px, 0.14 s; PopoverPopouts.tsx:135-140) and the skeleton's shimmer.
  • Bio: lists are left literal (the renderer has no list layout) and spoilers cannot be revealed in a bio.
  • The name's size follows its length (clamp(1.0625rem, 30rem/len, 1.25rem)); the first version uses 1.25rem.
Behaviour of the web app's profile popout the first version (branch `feat-user-profile`) does not have: - Opened from **mentions** (`MentionRenderer.tsx:167-195`), **reply previews**, **system message names**, **avatar stacks** and the **stream spectators** popout; the first version opens it from member list rows, message author avatars and names, and voice participant rows. - **Hover prefetch**: the profile is fetched after 220 ms of hover over a trigger (`useUserProfileHoverPreload.ts:6,33,40`). - **Shift+click** on a trigger inserts a mention instead (`PreloadableUserPopout.tsx:83-91`). - **Right-click** on a member, an author or a participant opens the user's context menu (`GuildMemberContextMenu` / `UserContextMenu`); only the voice participant menu exists. - The **slide-in** (opacity 0→1, x ±10 px, 0.14 s; `PopoverPopouts.tsx:135-140`) and the skeleton's shimmer. - **Bio**: lists are left literal (the renderer has no list layout) and spoilers cannot be revealed in a bio. - The name's size follows its length (`clamp(1.0625rem, 30rem/len, 1.25rem)`); the first version uses 1.25rem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#218
No description provided.