Profile popout: badges, custom status, voice activity, local time, connections, hover icons #217

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

Sections of the web app's UserProfilePopout the first version (branch feat-user-profile) leaves out, in the original's order:

  • Badges (UserProfileBadges.tsx, .module.css:21-72): profile_badges from the response (already parsed, fluxer_proto::ProfileBadge), 24 px images from {static_cdn}/badges/{asset}.webp or asset_url, caption badges, tooltips from details; top right of the header over a --background-secondary 80 % plate; the edit pencil on one's own profile. Needs the image loader to accept the static CDN.
  • Custom status (UserProfilePopout.module.css:18-28): from the presence, which the store does not model yet.
  • Voice activity (VoiceActivitySection).
  • Local time (UserProfileShared.tsx:213-263): timezone_offset is parsed; "Local time", the time and "Same time as you" / "… ahead of you" / "… behind you", refreshed every 30 s (needs the UI clock).
  • Connections (compact chips, UserProfileShared.tsx:524-600): connected_accounts is kept raw.
  • Hover icons on the name row (ProfileCardActions.tsx): the note icon (needs notes and the modal) and "Copy user ID".
  • Roles for moderators: with MANAGE_ROLES the original shows the section even without roles ("This user has no roles in this community.") and an add-role button; the first version shows the section only when the member has roles.
  • Blocked users: "Open DM" with the confirmation (UserProfilePopout.tsx:174-183); relationships are not modelled.
  • "View full profile" under a truncated bio needs the modal (follow-up issue for it).

Refs #212

Sections of the web app's `UserProfilePopout` the first version (branch `feat-user-profile`) leaves out, in the original's order: - **Badges** (`UserProfileBadges.tsx`, `.module.css:21-72`): `profile_badges` from the response (already parsed, `fluxer_proto::ProfileBadge`), 24 px images from `{static_cdn}/badges/{asset}.webp` or `asset_url`, caption badges, tooltips from `details`; top right of the header over a `--background-secondary` 80 % plate; the edit pencil on one's own profile. Needs the image loader to accept the static CDN. - **Custom status** (`UserProfilePopout.module.css:18-28`): from the presence, which the store does not model yet. - **Voice activity** (`VoiceActivitySection`). - **Local time** (`UserProfileShared.tsx:213-263`): `timezone_offset` is parsed; "Local time", the time and "Same time as you" / "… ahead of you" / "… behind you", refreshed every 30 s (needs the UI clock). - **Connections** (compact chips, `UserProfileShared.tsx:524-600`): `connected_accounts` is kept raw. - **Hover icons** on the name row (`ProfileCardActions.tsx`): the note icon (needs notes and the modal) and "Copy user ID". - **Roles for moderators**: with `MANAGE_ROLES` the original shows the section even without roles ("This user has no roles in this community.") and an add-role button; the first version shows the section only when the member has roles. - **Blocked users**: "Open DM" with the confirmation (`UserProfilePopout.tsx:174-183`); relationships are not modelled. - "View full profile" under a truncated bio needs the modal (follow-up issue for it). Refs #212
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#217
No description provided.