refactor(ui): improve chat and node list row layout#236
Open
refactor(ui): improve chat and node list row layout#236
Conversation
- Move favorite star to appear immediately after name across all row types
(Chats, Channels, Rooms, Contacts)
- Standardize timestamp formatting: clock time for today, "Yesterday",
full weekday name for 2-6 days, "Feb 8" for this year, "Dec 25, 2025"
for previous years
- Replace system NavigationLink chevrons with custom positioned chevrons
aligned to the top row, consistent with Apple Messages UI
- Remove fuzzy relative timestamps ("2 min ago") in favor of clock time
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace inline UnreadBadges with red count badge on avatar top-right, matching iOS app icon badge style - Increase favorite star size to 110% across all row types Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Align badge style with the tab bar badges in the Chats/Nodes selector for visual consistency across the app. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Changes
ConversationRow.swift,ChannelConversationRow.swift,RoomConversationRow.swift— star position, unread badge on avatar, chevron alignmentContactRowView.swift— star position and sizeConversationTimestamp.swift— new date formatting rulesRelativeTimestampText.swift— matching date formatting, removed fuzzy relative timesConversationListContent.swift— hidden NavigationLink pattern for custom chevron positioningContactsCompactList.swift— same hidden NavigationLink patternView+ListChevron.swift(new) — shared chevron modifier with configurable offsetUnreadCountBadge.swift(new) — red avatar badge component with white borderRelativeTimestampTextTests.swift— updated tests for new formattingTest plan
swiftlint lintpasses with no new warnings🤖 Generated with Claude Code