Skip to content
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

Conversation

ashiagr
Copy link
Contributor

@ashiagr ashiagr commented Oct 1, 2020

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 button

Merge instructions

  1. Make sure Reader Detail Updates (Post Header - Kotlin Conversion) #13060, Reader Detail Updates (Post Header - Extract UiState)  #13061 are merged
  2. Change branch to "issue/12900-rip3-detail-updates-main"
  3. Remove "Not Ready for Merge"
  4. Merge this PR

To test

  • That UI elements are more or less in the same position as per Figma design
  • Clicking blog section opens blog preview screen
Post Details Header
Screenshot 2020-10-01 at 10 59 59 AM

Note

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Oct 1, 2020

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Oct 1, 2020

You can test the changes on this Pull Request by downloading the APK here.

@ashiagr ashiagr self-assigned this Oct 1, 2020
@ashiagr ashiagr requested review from malinajirka and zwarm October 1, 2020 07:24
@ashiagr ashiagr marked this pull request as ready for review October 1, 2020 07:24
@ashiagr ashiagr added this to the 16.0 milestone Oct 2, 2020
@ashiagr ashiagr added the Part of a WIP Feature This label is used to disable milestone checks for PRs that are not against `develop` or `release`. label Oct 2, 2020
@malinajirka malinajirka self-assigned this Oct 6, 2020
@ashiagr ashiagr changed the base branch from issue/12900-rip3-details-updates-part-i to issue/12900-reader-post-header-kotlin October 6, 2020 07:58
@ashiagr ashiagr changed the base branch from issue/12900-reader-post-header-kotlin to issue/12900-rip3-details-updates-part-ii-split-kotlin October 6, 2020 08:40
@ashiagr ashiagr force-pushed the issue/12900-rip3-details-updates-part-ii branch from 3a356da to 02cb442 Compare October 6, 2020 08:45
…into issue/12900-rip3-details-updates-part-ii

# Conflicts:
#	WordPress/src/main/res/values/dimens.xml
@ashiagr ashiagr changed the base branch from issue/12900-rip3-details-updates-part-ii-split-kotlin to issue/12900-rip3-details-updates-part-ii-split-uistate October 6, 2020 11:08
… into issue/12900-rip3-details-updates-part-ii

# Conflicts:
#	WordPress/src/main/java/org/wordpress/android/ui/reader/discover/ReaderPostUiStateBuilder.kt
Copy link
Contributor

@malinajirka malinajirka left a 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.

@ashiagr
Copy link
Contributor Author

ashiagr commented Oct 7, 2020

Thanks @malinajirka ! I've addressed PR review comments.

When the site title is empty, the header positioning breaks.

This issue exists on develop as well. I'll create a separate PR targeting develop.

Base automatically changed from issue/12900-rip3-details-updates-part-ii-split-uistate to issue/12900-rip3-detail-updates-main October 12, 2020 05:21
@ashiagr ashiagr merged commit 8bb84a4 into issue/12900-rip3-detail-updates-main Oct 12, 2020
@ashiagr ashiagr deleted the issue/12900-rip3-details-updates-part-ii branch October 12, 2020 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Part of a WIP Feature This label is used to disable milestone checks for PRs that are not against `develop` or `release`. Reader [Status] Needs Code Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants