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

Save changes button on WooPayments pages are always active #9305

Closed
pierorocca opened this issue Aug 22, 2024 · 7 comments · Fixed by #9386
Closed

Save changes button on WooPayments pages are always active #9305

pierorocca opened this issue Aug 22, 2024 · 7 comments · Fixed by #9386
Assignees
Labels
focus: checkout payments priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.

Comments

@pierorocca
Copy link
Contributor

Describe the bug

WooPayments and Multicurrency pages seem to be the only pages where the "save settings" button is always enabled. Settings can be saved even if no changes were made to any setting. On occasion, the browser will throw a warning typical of unsaved changes.

image

Expected

Save settings is disabled until a settings change is made
When a change is made, the button is enabled

@FangedParakeet do you know if there's a historical reason or technical limitation for this behavior?

@pierorocca pierorocca added type: bug The issue is a confirmed bug. focus: checkout payments labels Aug 22, 2024
@pierorocca
Copy link
Contributor Author

image

@FangedParakeet
Copy link
Contributor

do you know if there's a historical reason or technical limitation for this behavior?

@pierorocca, I wanted to confirm with the team before I offered a definitive answer here, but AFAICT there shouldn't be any technical limitations preventing us from implementing this enhancement and moreover there should be some existing functionality in the current code that might assist us in providing this feature, so might be a lightweight improvement from a development perspective as well.

@pierorocca pierorocca added the priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. label Aug 30, 2024
@mdmoore mdmoore self-assigned this Sep 3, 2024
@FangedParakeet
Copy link
Contributor

Please add your planning poker estimate with Zenhub @mdmoore

@mdmoore
Copy link
Member

mdmoore commented Sep 11, 2024

This turned out to be more complex than a 2 because of the multiple settings screens accessible through modals and sub-pages. Upgrading the estimate to a 3.

@pierorocca
Copy link
Contributor Author

@mdmoore which subpages don't have their own save button?

@mdmoore
Copy link
Member

mdmoore commented Sep 12, 2024

@pierorocca It's that more that they all do have their own save buttons. It's just that I kept realizing there were more settings to consider than just a main settings page and the multi-currency page, such as the Advanced Fraud settings, Single Currency settings via the "manage" link within each currency, and Express Checkout customization settings. Then there is the Add/Remove Currencies modal which requires updating the disabled state based on changes made via the modal.

@pierorocca
Copy link
Contributor Author

Ah I see, it's the quantity of pages with save buttons as opposed to tracking changes multiple levels deep. Gotcha.

@FangedParakeet FangedParakeet added this to the WooPayments 8.3.0 milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: checkout payments priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants