wordpress-mobile / WordPress-iOS

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

Site Settings: Fix issue with saving site settings #23831

Closed kean closed 4 days ago

kean commented 4 days ago

Fixes https://github.com/wordpress-mobile/WordPress-iOS/issues/23787. The app will now use the existing method didChangeSetting for tracking changes in DiscussionSettingsViewController as a trigger for save. I also made a couple of other changes:

Note: ignore the first commit https://github.com/wordpress-mobile/WordPress-iOS/pull/23831/commits/b24ddf8d500b7355ff71e76298d9ed9540f621e2 as it simply fixes the formatting.

https://github.com/user-attachments/assets/8148c2f5-5ea1-4aef-939a-c66590085375

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 4 days ago
1 Warning
:warning: This PR is assigned to the milestone 25.5. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by :no_entry_sign: Danger

wpmobilebot commented 4 days 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 Numberpr23831-6e6094c
Version25.4.2
Bundle IDorg.wordpress.alpha
Commit6e6094cf000536b85e559af29dcdadc4c47a7d17
App Center BuildWPiOS - One-Offs #11082
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
wpmobilebot commented 4 days 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 Numberpr23831-6e6094c
Version25.4.2
Bundle IDcom.jetpack.alpha
Commit6e6094cf000536b85e559af29dcdadc4c47a7d17
App Center Buildjetpack-installable-builds #10123
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.