-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reader Detail Updates (Post Header) #13042
Reader Detail Updates (Post Header) #13042
Conversation
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
You can test the changes on this Pull Request by downloading the APK here. |
…00-rip3-details-updates-part-ii
3a356da
to
02cb442
Compare
…into issue/12900-rip3-details-updates-part-ii # Conflicts: # WordPress/src/main/res/values/dimens.xml
… into issue/12900-rip3-details-updates-part-ii # Conflicts: # WordPress/src/main/java/org/wordpress/android/ui/reader/discover/ReaderPostUiStateBuilder.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ashiagr! All three PRs look good overall. I've encountered just one UI glitch.
When the site title is empty, the header positioning breaks.
Example Post: https://wp.me/pVHyx-t4
It might be related to one of the child PRs - I've tested all the changes altogether in this PR.
WordPress/src/main/java/org/wordpress/android/ui/reader/ReaderPostDetailFragment.kt
Outdated
Show resolved
Hide resolved
Thanks @malinajirka ! I've addressed PR review comments.
This issue exists on develop as well. I'll create a separate PR targeting develop. |
Task: #12900
This PR refactors post details header view with following changes:
Child PRs:
PR #13060 - Kotlin conversion
PR #13061 -
uiState
extracted for blog section and follow buttonuiState
extracted in PR Reader Detail Updates (Post Header - Extract UiState) #13061 03db5a1reader_include_post_detail_content.xml
8790672Merge instructions
To test
Note
Most of the changes are due to extraction and reuse of blog section from- Reader Detail Updates (Post Header - Kotlin Conversion) #13060, Reader Detail Updates (Post Header - Extract UiState) #13061 split from this PRReaderPostUiState
(2c6fac5, 8dbc4f8). I can split this PR into smaller ones if anyone finds it difficult to review.PR submission checklist:
RELEASE-NOTES.txt
if necessary.