Repository navigation
Conversation
Ported from WPFolio: rows are centred and capped at 680dp, per item so the whole width still scrolls. Applies to the post list, comments, Manage subscriptions and site search.
The card's title uses medium emphasis once the post is seen, where seen state is supported. Toggling seen from the more menu re-renders the card.
Ported from WPFolio. The end of a post offers the next post in the pager, which pages to it as a swipe would; it's hidden for single posts, related posts, the last page and notification opens. A thin bar under the status bar fills as the post is read.
…in Manage subscriptions Ported from WPFolio: - Sites WordPress.com recommends (read/recommendations/sites) show above the subscribed sites, and can be previewed or followed from there. - Swiping a site away unsubscribes it once the Undo snackbar goes; the unfollow runs in the app scope so leaving the screen doesn't lose it. There's a TalkBack action for it too. - Sites are sorted by their latest post saved on the device, then by name.
Ported from WPFolio's AccentSampler. Each featured image is sampled once, in the background, for a dark accent color (Palette) and its aspect ratio, kept in a small reader_image_meta.db of its own so the Reader database needs no migration. Failures are retried after six hours. Cards show the image at its own shape between 4:5 and 16:9, from an uncropped Photon URL, with the accent behind it while it loads. A card only uses a shape known when it first showed, so it never changes height on screen. Adds androidx.palette.
Ported from WPFolio's magazine feed. A grid/list toggle in the Reader's top bar, shown on Subscriptions and saved in preferences, switches the feed to a staggered grid: the first post with an image as a large hero, the rest as tiles at their images' own shapes, and posts without an image as cards in their accent color. Site previews get a cover of their three latest images. A long press opens a post's more menu. It shows the same rows from the same view model state as the list.
Ported from WPFolio. Selecting text in a post adds "Share quote" to the WebView's selection menu, which shares the selection in quotes followed by the post's link.
The grid/list toggle now shows on Discover, Saved and Liked as well as Subscriptions. Discover's feeds and Liked already use the post list that supports the gallery; the synced Saved list now switches to it too, showing its cards as the same tiles. P2s, Automattic and lists stay as lists.
The gallery shows unless the reader has chosen the list with the top bar's toggle.
- ReaderFragment alone decides which feeds offer the gallery, and passes it to the post list. - The gallery reuses the list's scroll and empty-state helpers, Saved's own empty state and keys, a shared seen-title color and a staggered-grid loading item; post-list-only actions default to no-ops. - Image meta: a stable flow, one timestamp, one drain job with an in-flight set, 96px samples kept out of Coil's caches, sample URLs built only when needed, half-width tile URLs, and a fixed crop background so a late accent doesn't redecode. - Next card: the shared featured image URL and a no-argument showNextPost(). - Manage subscriptions: typed latest-post dates read once per screen, an unfollow that doesn't hold a cleared view model, and one site click action.
ReaderArticleBlocks splits a post's HTML into blocks Compose can lay out natively (paragraphs, headings, images, galleries, quotes, tables, lists, code, buttons, details, videos and embeds), with footnotes carried on their markers. Ported from WPFolio, except that audio becomes a link rather than being dropped. Bundles Atkinson Hyperlegible Next and Instrument Sans, with their OFL licences.
Composables for each block, ported from WPFolio: text in Atkinson Hyperlegible Next with Instrument Sans for headings and captions, images sized through Photon with space reserved up front, galleries as grids, pullquotes and quotes with accent rules, tables and code that scroll sideways, collapsible details, footnote sheets, videos that play on tap (YouTube, Vimeo, VideoPress, files) and embed cards. Colors follow WPFolio's palettes for the system reading theme and the reader's own theme otherwise, and the reading font and size apply to the body.
The post detail shows the featured image as a hero under a rounded sheet, the site and byline with read time, a large title, the body as native blocks, an Open original button and the usual footer, with WPFolio's accent progress bar, round back and More buttons, and a pill of save, like, comments and share that hides on scroll. It's the default, behind a local preference: the More menu switches between it and the WebView. Links, images, More menu items and pull to refresh go through the fragment's existing handling; the WebView is still inflated but never loads the post.
Reader comments take WPFolio's palette and type: Instrument Sans for the interface, comment text in Atkinson Hyperlegible Next under a 32dp avatar and a one-line "Name · time", no dividers, Reply as a text link and likes as a small heart, and a rounded composer field with a send icon that still opens the reply sheet (mentions and drafts). CommentHtmlBody gains an optional text style; site comments are unchanged.
- ReaderPostListActivity's top bar no longer adds the status bar inset that BaseAppCompatActivity has already applied, which left a status-bar-sized gap above it (pre-existing). - The gallery keeps its top in view when the site header arrives after the posts, as the list already did, so a preview no longer opens with its header scrolled mostly off screen.
…does The cover is WPFolio's mosaic (the newest image large, the next two stacked beside it), full width and starting at the top of the screen under the status bar, with round back and share buttons over it instead of a top bar. The status bar shows the cover behind a scrim with light icons, then the screen's background once the cover scrolls away. ReaderPostListActivity now enables edge-to-edge itself and is excluded from BaseAppCompatActivity's inset padding; its Scaffold (tag previews, list mode) insets itself.
A blog preview's posts usually load before its site header, which then landed above them and pushed them down. Until the header arrives, the gallery holds its place with a cover made from the posts and a spinner, keyed as the header so the real one replaces it in place, and the posts wait.
ReaderCommentListActivity is now translucent (WordPress.SheetActivity, no window animation) and draws its screen in a ModalBottomSheet at 92% of the height, over the post. Dragging it down, tapping above it or back hides the sheet and finishes; back steps out of a single comment first. In the sheet the header has no back arrow at the list level and no status bar inset. Everything else, and every entry point, is unchanged. ReaderArticleMaterialTheme no longer draws a full-screen background, which hid the post behind the sheet.
Generated by 🚫 Danger |
Project dependencies changeslist! Upgraded Dependencies
androidx.palette:palette:1.1.0, (changed from 1.0.0)
androidx.palette:palette-ktx:1.1.0, (changed from 1.0.0)tree \--- project :libs:fluxc
\--- com.github.chuckerteam.chucker:library:4.2.0
- \--- androidx.palette:palette-ktx:1.0.0
- +--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50 -> 2.4.21 (*)
- \--- androidx.palette:palette:1.0.0
- +--- androidx.core:core:1.0.0 -> 1.16.0 (*)
- \--- androidx.legacy:legacy-support-core-utils:1.0.0 (*)
+ \--- androidx.palette:palette-ktx:1.0.0 -> 1.1.0
+ +--- androidx.palette:palette:1.1.0
+ | +--- androidx.collection:collection:1.4.2 -> 1.6.0 (*)
+ | +--- androidx.core:core:1.1.0 -> 1.16.0 (*)
+ | +--- org.jetbrains.kotlin:kotlin-stdlib:2.2.20 -> 2.4.21 (*)
+ | +--- org.jspecify:jspecify:1.0.0
+ | \--- androidx.palette:palette-ktx:1.1.0 (c)
+ +--- org.jetbrains.kotlin:kotlin-stdlib:2.2.20 -> 2.4.21 (*)
+ \--- androidx.palette:palette:1.1.0 (c)
+\--- androidx.palette:palette-ktx:1.1.0 (*) |
Project manifest changes for WordPressThe following changes in the --- ./build/reports/diff_manifest/WordPress/wordpressRelease/base_manifest.txt 2026-11-27 14:19:36.626074849 +0000
+++ ./build/reports/diff_manifest/WordPress/wordpressRelease/head_manifest.txt 2026-11-27 14:19:54.016254152 +0000
@@ -829,7 +829,7 @@
<activity
android:name="org.wordpress.android.ui.reader.ReaderCommentListActivity"
android:label="@string/reader_title_comments"
- android:theme="@style/WordPress.NoActionBar"
+ android:theme="@style/WordPress.SheetActivity"
android:windowSoftInputMode="adjustResize|stateHidden" />
<activity
android:name="org.wordpress.android.ui.reader.NoSiteToReblogActivity"Go to https://buildkite.com/automattic/wordpress-android/builds/30427/canvas?sid=01a21d5d-a75a-4d65-ab6d-4419838631d7, click on the |
Project manifest changes for WordPressThe following changes in the --- ./build/reports/diff_manifest/WordPress/jetpackRelease/base_manifest.txt 2026-11-27 14:19:36.315099102 +0000
+++ ./build/reports/diff_manifest/WordPress/jetpackRelease/head_manifest.txt 2026-11-27 14:19:54.345798571 +0000
@@ -870,7 +870,7 @@
<activity
android:name="org.wordpress.android.ui.reader.ReaderCommentListActivity"
android:label="@string/reader_title_comments"
- android:theme="@style/WordPress.NoActionBar"
+ android:theme="@style/WordPress.SheetActivity"
android:windowSoftInputMode="adjustResize|stateHidden" />
<activity
android:name="org.wordpress.android.ui.reader.NoSiteToReblogActivity"Go to https://buildkite.com/automattic/wordpress-android/builds/30427/canvas?sid=01a21d5d-a75a-46fd-b4c8-8b5354d6e6d2, click on the |
|
|
|
|
🤖 Build Failure AnalysisThis build has failures. Claude has analyzed them - check the build annotations for details. |
- Unit tests: stub the subs repository's suggested sites and latest post dates, whose NPE also leaked into the next test class. - Detekt: fewer returns in onScrollToTop and getNextPostIds, suppressions for the ported parser and two borderline classes, and file names matching their declarations. - Lint: no empty super.onCleared(), KTX edit/transaction/toUri, a modifier parameter named modifier, and the locale read from LocalConfiguration.
- Comments: the screen is sheet-only (no isSheet flag, unreachable hideSheet or onBack), WordPress.SheetActivity inherits NoDisplay, and CommentHtmlBody uses one Text. - Native detail: actions wrap the detail's own, refresh and photo viewer are shared with the web view path, pill counts use the cards' locale-aware CompactDecimalFormat, the progress bar reads in the draw phase, converted HTML and VideoPress posters are cached, and dead parser code is gone. - Shared: one ReaderOverlayButton, one fallbackAccent(blogId, postId), toComposeFontFamily, LoadingState and ContentListPullToRefreshBox.
The WPFolio-style comments show Reply as a text link, so nothing references ic_reply_material_white_24dp any more (UnusedResources).
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## trunk #23580 +/- ##
==========================================
- Coverage 39.76% 39.71% -0.06%
==========================================
Files 2325 2330 +5
Lines 133227 133478 +251
Branches 19260 19311 +51
==========================================
+ Hits 52976 53009 +33
- Misses 75761 75976 +215
- Partials 4490 4493 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…llery The gallery held a blog preview's posts back until its site header arrived, deciding that from the BLOG_PREVIEW list type. The Subscriptions site filter uses that list type but never shows a header, so it only ever showed the cover. It now asks the view model, whose hasSiteHeader follows the same rule as loading the header.
- One small ⋯ button per tile (and long press) opens a menu with the card's save, like, comments and reblog, with their counts, above the usual more menu; screen readers get the same as custom actions. - The site and date line opens the site, as the card's blog section does. - Gallery posts show the first image of their thumbnail strip instead of becoming text cards. - Text-only tiles show the title, then as much of the excerpt as fits.
Fixes the ConfigurationScreenWidthHeight lint error: LocalWindowInfo.containerSize is the window's width in pixels, which differs from the screen's in split screen and freeform windows.
The tile menu listed the card's four actions and the whole more menu. It now has just Save/Saved, Like/Liked with its count, and Share from the more menu.


TL;DR
Ports the standalone WPFolio reader's look into the WP/JP Reader: a gallery layout for feeds, a natively rendered post detail, and WPFolio-style comments in a bottom sheet.
Description
reader_image_meta.db; cards show images at their own shape.ReaderPostListActivity's top bar added the status bar inset twice.Not ported: on-device RSS, WPFolio's Room/Retrofit data layer, OAuth, background sync. Native rendering gaps: other embeds become link cards, no table colspan, private Atomic images may not load.
Testing instructions
Gallery:
Post detail:
Comments: