Skip to content

Reader: Add new ReaderPostHeaderView#25463

Merged
crazytonyli merged 1 commit into
trunkfrom
task/reader-adaptive-post-header-view
May 25, 2026
Merged

Reader: Add new ReaderPostHeaderView#25463
crazytonyli merged 1 commit into
trunkfrom
task/reader-adaptive-post-header-view

Conversation

@kean

@kean kean commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

This is first part of CMM-1999: Reader: Adaptive Post Details Page, which adds the new ReaderPostHeaderView to the WordPressReader module. It is implemented in UIKit because the rest of the screen is, and it requires manual frame manipulations: when the header resizes, it needs to update the container (scroll view) – it required too many extra steps with SwiftUI judging by the original implementation.

Screenshot 2026-03-27 at 11 26 16 AM Screenshot 2026-03-27 at 11 26 28 AM Screenshot 2026-03-27 at 11 26 34 AM

@kean kean added this to the 26.9 milestone Mar 27, 2026
@kean kean added the Reader label Mar 27, 2026
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by 🚫 Danger

@kean kean force-pushed the task/reader-adaptive-post-header-view branch from 00c49a2 to e64a372 Compare March 27, 2026 15:32
@sonarqubecloud

Copy link
Copy Markdown

@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number31838
VersionPR #25463
Bundle IDorg.wordpress.alpha
Commite64a372
Installation URL154ia2rplq7c8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number31838
VersionPR #25463
Bundle IDcom.jetpack.alpha
Commite64a372
Installation URL180rblp835gh0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@kean kean requested review from crazytonyli and removed request for crazytonyli March 27, 2026 16:08

@jkmassel jkmassel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good pending some accessibility stuff


// MARK: - Subviews

private let siteNameLabel: UILabel = {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is tappable – should it be marked as such for accessibility?

return stack
}()

private lazy var authorRow: UIStackView = {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has a gesture recognizer attached later – should it be marked tappable for accessibility purposes?

@wpmobilebot wpmobilebot modified the milestones: 26.9, 27.0 May 25, 2026
@wpmobilebot

Copy link
Copy Markdown
Contributor

Version 26.9 has now entered code-freeze, so the milestone of this PR has been updated to 27.0.

@crazytonyli crazytonyli added this pull request to the merge queue May 25, 2026
Merged via the queue into trunk with commit 199291c May 25, 2026
29 checks passed
@crazytonyli crazytonyli deleted the task/reader-adaptive-post-header-view branch May 25, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants