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] Improve content navigation and filtering #19978

Merged
merged 425 commits into from
Feb 3, 2024
Merged

Conversation

RenanLukas
Copy link
Contributor

@RenanLukas RenanLukas commented Jan 18, 2024

Caution

Do not merge this feature branch until all the task PRs are merged.

Feature branch for the Reader Navigation and Filtering Improvements Project
Internal ref: pcdRpT-506-p2

This feature branch contains code from PRs that were reviewed and tested individually, and trunk sync commits, so everything here is already Code Reviewed.

Here is the list of PRs included in this branch:


To Test:

Since this feature branch includes several tested PRs (see section above) there are several changes to cover with testing, so it is easier to follow the Test Plan for the whole Reader Navigation and Filtering Improvements Project, which can be found at: p1706977111734119-slack-C05N140C8H5


Regression Notes

  1. Potential unintended areas of impact

    • Any Reader integration/interaction around the app
  2. What I did to test those areas of impact (or what existing automated tests I relied on)

    • Unit tests where applicable
    • Manual testing
  3. What automated tests I added (or what prevented me from doing so)


PR Submission Checklist:

  • I have completed the Regression Notes.
  • 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.

UI Changes Testing Checklist:

  • Portrait and landscape orientations.
  • Light and dark modes.
  • Fonts: Larger, smaller and bold text.
  • High contrast.
  • Talkback.
  • Languages with large words or with letters/accents not frequently used in English.
  • Right-to-left languages. (Even if translation isn’t complete, formatting should still respect the right-to-left layout)
  • Large and small screen sizes. (Tablet and smaller phones)
  • Multi-tasking: Split screen and Pop-up view. (Android 10 or higher)

Thomas Horta and others added 30 commits December 28, 2023 16:48
…rop-down-menu-not-being-shown

[Reader IA] Fix RTL drop-down menu not being shown
…-filter-enter-anim

[Reader IA] Make Filter slide in/out horizontally when animating
…-update-selected-content-stream-based-on-menu-item

[Reader IA] Update selected content stream based on menu item
…-list-not-fetching-new-pages

[Reader] Fix tag posts list paging
…der Following tab"

This reverts commit 530bb5c.

This revert is needed since now we do rely on information from the Following
blogs on the Following feed due to the new filters UI on the Top Bar.
Thomas Horta and others added 12 commits February 1, 2024 16:28
…-show-onboarding-for-new-reader-users

[Reader IA] Show onboarding for users with no tags or dailyprompt tag only
…-bug-reset-when-changing-tabs

[Reader IA] Prevent unwanted Reader feed state reset when reopening Reader tab
The added code tries to wait until the topBarUiState is not null by polling for
its data for a few times. If it's still null it simply doesn't run the code, to
avoid calling topbar updates that should only happen if there is already a top
bar visible. If it's not null after that check (normal scenario) then it calls
the block and executes the logic.
Save information about the selected feed id and top bar filter ui state in the
SavedInstanceState Bundle and recover it when the activity is destroyed due to
system-initiated destruction (low-memory or "Don't keep activities"	dev setting)
to keep the experience consistent.
@thomashorta thomashorta marked this pull request as ready for review February 2, 2024 21:25
@thomashorta thomashorta added Do Not Merge In PRs with this label, our automation will fail a require check, preventing accidental merging and removed Do Not Merge In PRs with this label, our automation will fail a require check, preventing accidental merging labels Feb 2, 2024
Thomas Horta added 5 commits February 2, 2024 18:36
Avoid breaking existing unit tests.
…p-navigation-disappear

[Reader IA] Fix top navigation bar disappearing when system has low-memory
…ate-release-notes

Updating the release notes.
…-comments-action-string

[Reader] Change comment subscribe action label to "Follow"
@thomashorta thomashorta removed the Do Not Merge In PRs with this label, our automation will fail a require check, preventing accidental merging label Feb 3, 2024
Copy link
Contributor

@thomashorta thomashorta left a comment

Choose a reason for hiding this comment

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

This PR only contains code that was already reviewed and tested in other separated PRs, so I am leaving my approval here.

Copy link
Contributor

@develric develric left a comment

Choose a reason for hiding this comment

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

Gave a quick run to the testplan and was ok for me (found only non-blocking issues we tracked already in GH issues 👍 )

@thomashorta thomashorta merged commit ad69dd1 into trunk Feb 3, 2024
20 of 22 checks passed
@thomashorta thomashorta deleted the feature/reader-ia branch February 3, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants