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

[Feature] Reader Improvements #19267

Merged
merged 233 commits into from
Oct 16, 2023
Merged

[Feature] Reader Improvements #19267

merged 233 commits into from
Oct 16, 2023

Conversation

RenanLukas
Copy link
Contributor

@RenanLukas RenanLukas commented Sep 26, 2023

Feature branch of Reader Improvements (ref: pcdRpT-3Eb-p2)

  • Tag and Site feed header
  • Post details header
  • Post feed cards
  • “You might like” and “Sites to follow” cards
  • Follow/Unfollow buttons

…provements-feature-flag

[Reader Improvements] Implement Reader Improvements feature flag
@RenanLukas
Copy link
Contributor Author

Thank you for taking the time, @tiagomar 👍

…on-manage-topics-sites-screen

[Reader Improvements] Fix follow buton size on "Manage Topics & Sites" screen
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Oct 12, 2023

Warnings
⚠️ PR has more than 300 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS

Thomas Horta and others added 12 commits October 12, 2023 11:14
…st-card-minor-tweaks

[Reader Improvements] Post card minor tweaks
This new field keeps track if the current status change is final or not, meaning
that it was committed and succeeded in the backend or was just an initial status
change due to the action being STARTED.
Observe the `followStatusUpdate` LiveData to instantly change the state of the
follow button for the recommended blogs card in the Discover feed. It also sets
the button as enabled or disabled based on the status updated.

Currently there's a small issue that makes the button be enabled even before the
final change in state for `followStatusUpdate` because the Discover feed is also
updated by another data source (`readerDiscoverDataProvider.discoverFeed`) which
is directly hooked to the `ReaderPostTableActionEnded` that is emitted by the
Event Bus when there are changes in the underlying table.

This issue is fairly small since the worst thing that can happen is the ripple
animation showing up but there are other safeguard in place to avoid making
duplicate request so the overall state does not get insconsistent.
Use the new `isChangeFinal` field to properly update the enabled/disabled status
of the follow button in the Post Detail header.
…w-unfollow-button-responsiveness

[Reader Improvements] Fix follow unfollow button responsiveness
…provements-enable-ff

[Reader Improvements] Enable ReaderImprovementsFeatureConfig by default
@RenanLukas RenanLukas marked this pull request as ready for review October 13, 2023 21:25
@RenanLukas RenanLukas requested a review from a team as a code owner October 13, 2023 21:25
@develric develric added Tooling and removed Tooling labels Oct 14, 2023
@ravishanker ravishanker 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 Oct 15, 2023
Copy link
Contributor

@jostnes jostnes left a comment

Choose a reason for hiding this comment

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

I ran ReaderTests locally and looks good, the previously failing test e2eBookmarkPost now works without issue. The changes look good too. Thanks for fixing the failing test! :shipit:

@ravishanker ravishanker removed the Do Not Merge In PRs with this label, our automation will fail a require check, preventing accidental merging label Oct 16, 2023
@ravishanker ravishanker merged commit 7969cf0 into trunk Oct 16, 2023
2 checks passed
@ravishanker ravishanker deleted the feature/reader-improvements branch October 16, 2023 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants