Add modern timeline UI with thumbnail previews#5336
Open
desperadoxhy wants to merge 1 commit into
Open
Conversation
Add a modern, Apple News-style horizontal split layout to the timeline (left: feed icon, title, summary; right: thumbnail) on macOS and iOS. The macOS cell uses manual frame layout per project guidelines (no Auto Layout in table cells); the iOS cell uses Auto Layout self-sizing. Thumbnails are center-cropped to a square and cached; the title wraps to at most 2 lines and the summary line count adjusts to match (2-line title -> 1-line summary, 1-line title -> 2-line summary). Read state dims the title; metadata shows the feed name. Refs Ranchero-Software#4981
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.
Implements a modern, Apple News-style horizontal split layout for the timeline, addressing #4981 (Modern UI Refresh for Lists).
What's added
A new timeline cell: the left side shows the feed icon, title, and summary; the right side shows a thumbnail when the article has an image.
macOS —
TimelineModernCellViewTimelineModernCellLayout(per the project guideline that table-view cells don't use Auto Layout, for performance)isFlippedso coordinates run top-downprepareForReusecallback)iOS —
MainTimelineModernCellShared —
ArticleImageExtractorimageURL, or the first `Behavior (both platforms)
Coverage of #4981
Notes
Refs #4981.