feat(ui): iOS-parity timestamps, NIP-05 badge, and follow badge#624
Open
dmnyc wants to merge 1 commit into
Open
feat(ui): iOS-parity timestamps, NIP-05 badge, and follow badge#624dmnyc wants to merge 1 commit into
dmnyc wants to merge 1 commit into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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), andNotificationsScreen.NIP-05 verification badge
Icons.Default.Verifiedseal (points) instead of a plain circle, matching iOS.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.