wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.66k stars 1.11k forks source link

Sidebar: Global Reader Navigation #23605

Closed kean closed 1 week ago

kean commented 1 week ago

Reader required similar design as BlogDetailsSubsection for representing its paths, so I added ReaderNavigationPath:

enum ReaderNavigationPath: Hashable {
    case discover
    // ...
}

// In RootViewPresenter
func showReader(path: ReaderNavigationPath?)

Every single Reader navigation is now handled by this one method.

Changes

Unlike the previous PR, I won't cover every change because most of it is just moving code around. But here are some of the more important ones:

To test:

Regression Notes

  1. Potential unintended areas of impact

  2. What I did to test those areas of impact (or what existing automated tests I relied on)

  3. What automated tests I added (or what prevented me from doing so)

PR submission checklist:

Testing checklist:

dangermattic commented 1 week ago
2 Warnings
:warning: This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.
:warning: This PR is assigned to the milestone 25.4. This milestone is due in less than 4 days.
Please make sure to get it merged by then or assign it to a milestone with a later deadline.

Generated by :no_entry_sign: Danger

wpmobilebot commented 1 week ago
Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr23605-2b1ff18
Version25.3
Bundle IDcom.jetpack.alpha
Commit2b1ff18a4580412199aba8be0877eccfc8c7b962
App Center Buildjetpack-installable-builds #9744
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
wpmobilebot commented 1 week ago
WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr23605-2b1ff18
Version25.3
Bundle IDorg.wordpress.alpha
Commit2b1ff18a4580412199aba8be0877eccfc8c7b962
App Center BuildWPiOS - One-Offs #10700
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.