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

Update Done/cancel buttons #5168

Open
wants to merge 3 commits into
base: 7.7.0
Choose a base branch
from
Open

Update Done/cancel buttons #5168

wants to merge 3 commits into from

Conversation

mazevedofs
Copy link
Collaborator

Phabricator: https://phabricator.wikimedia.org/T383460

Notes

  • Design review items from the nav bar updates

Test Steps

  1. Run the app. Check all the spots mentioned in Robin's comment liked on the task

@mazevedofs mazevedofs requested review from a team and tonisevener and removed request for a team January 24, 2025 17:24
@mazevedofs mazevedofs changed the base branch from main to 7.7.0 January 24, 2025 17:24
@mazevedofs mazevedofs marked this pull request as draft January 24, 2025 17:24
@mazevedofs mazevedofs marked this pull request as ready for review January 24, 2025 17:28
Copy link
Collaborator

@tonisevener tonisevener left a comment

Choose a reason for hiding this comment

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

Thanks, these mostly look good, found one regression (commented on appropriate file). I also found some that weren't updated:

Screenshot 2025-01-24 at 3 25 44 PM

For the two factor and change temp, I had to fudge some code to even enter that screen.

I also found one double Done button situation that was missed, we should ask design for instruction here:

Settings > My Languages > Add another language so you have multiple > See Edit button, tap it:

Screenshot 2025-01-24 at 3 18 26 PM

Lastly, there's a series of other pieces of feedback, but they seem a bit more involved due to changing existing X buttons into a label. Maybe we can break that off into a separate task? I would like to prioritize them separately at least, for the chance that they will be deprioritized to a later release.

Screenshot 2025-01-24 at 3 22 36 PM

Article Gallery
Article TOC
Article References
Editor Find in Page

@@ -181,7 +181,7 @@ class SinglePageWebViewController: ThemeableViewController, WMFNavigationBarConf
let titleConfig = WMFNavigationBarTitleConfig(title: "", customView: nil, alignment: .hidden)

if navigationController?.viewControllers.first === self {
closeConfig = WMFNavigationBarCloseButtonConfig(text: CommonStrings.doneTitle, target: self, action: #selector(closeButtonTapped(_:)), alignment: .leading)
closeConfig = WMFNavigationBarCloseButtonConfig(text: CommonStrings.cancelActionTitle, target: self, action: #selector(closeButtonTapped(_:)), alignment: .leading)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This fixes the Year in Review > Donate > Other Payment Method modal, but causes a regression with Article > Edit Article Description > Learn More:

12 Article > Article Description Edit > Learn More

Screenshot 2024-12-19 at 4 53 14 PM

✅ Keep it as is

Changed to:
Screenshot 2025-01-24 at 3 10 29 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants