Skip to content

feat(ui): iOS-parity timestamps, NIP-05 badge, and follow badge#624

Open
dmnyc wants to merge 1 commit into
barrydeen:mainfrom
dmnyc:fix/ios-parity-ui
Open

feat(ui): iOS-parity timestamps, NIP-05 badge, and follow badge#624
dmnyc wants to merge 1 commit into
barrydeen:mainfrom
dmnyc:fix/ios-parity-ui

Conversation

@dmnyc

@dmnyc dmnyc commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Three iOS-parity polish items across post cards, notifications, quoted notes, and avatars.

Timestamps — compact day suffix instead of "yesterday"

Post timestamps jumped from "23h" straight to the word "yesterday" at exactly one day old, then to a full date — inconsistent with the compact s/m/h suffixes used everywhere else, and needlessly wide in rows. Extends the same compact pattern through 6 days ("1d".."6d"), falling back to the absolute date only at a week out. Applied in PostCard, GalleryCard, RichContent (quoted-note preview), and NotificationsScreen.

NIP-05 verification badge

  • Uses the scalloped Icons.Default.Verified seal (points) instead of a plain circle, matching iOS.
  • Renders as icon-only (no handle text) next to the username everywhere it appears — feed, threads, comments, galleries, and quoted-note previews. The handle text itself is reserved for the profile screen.

Follow badge (avatar)

Orange (primary) circle with a checkmark that flips with the color scheme — black in dark mode, white in light mode — derived from the active surface luminance so theme presets stay correct.

Testing

Built and verified on device in both light and dark mode.

Separate from #622 (collapsible threads) — that PR covers reply-thread progressive disclosure; this one is the broader iOS visual parity pass.

Three polish items to match iOS across post cards, notifications, quoted
notes, and avatars.

- Timestamps: compact day suffix ("1d".."6d") instead of the word
  "yesterday" at one day old, consistent with the existing s/m/h tiers;
  falls back to the absolute date only past a week. PostCard, GalleryCard,
  RichContent quoted-note preview, NotificationsScreen.
- NIP-05 badge: scalloped Icons.Default.Verified seal (points) instead of
  a plain circle; icon-only (no handle text) next to the username
  everywhere it appears — feed, threads, comments, galleries, and quoted
  notes. Handle text stays reserved for the profile screen.
- Follow badge: orange (primary) circle with a checkmark that flips with
  the color scheme — black in dark mode, white in light mode — derived
  from the active surface luminance so theme presets stay correct.
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.

1 participant