stack/apps
Armaan Jain 9b0361a1d7
Swap Do Later and Connect button positions in payments onboarding (#1714)
## Summary

Swaps the positions of "Do Later" and "Connect" buttons in the payments
setup onboarding step for US users. "Connect" is now `primaryAction`
(filled, left) and "Do Later" is `secondaryAction` (outline, right).

For non-US users (where "Connect" isn't shown), "Do Later" remains the
filled `primaryAction` — preserving the original visual hierarchy.

Link to Devin session:
https://app.devin.ai/sessions/a5ff1d4533b54cbc9e1ed06b08334604
Requested by: @Developing-Gamer

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved the payment setup step’s action button behavior for a more
consistent experience.
* For US-based setup, **Connect** is now the main action (with matching
loading state).
  * For non-US countries, the main action is omitted.
* **Do Later** is available as the secondary action (with matching
loading state).
* Action buttons are disabled during saving or when a payment setup
action is in progress.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: armaan <armaan@stack-auth.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-03 00:14:55 +05:30
..
backend chore: update package versions 2026-07-02 17:12:34 +00:00
bulldozer-js chore: update package versions 2026-07-02 17:12:34 +00:00
dashboard Swap Do Later and Connect button positions in payments onboarding (#1714) 2026-07-03 00:14:55 +05:30
dev-launchpad chore: update package versions 2026-07-02 17:12:34 +00:00
e2e chore: update package versions 2026-07-02 17:12:34 +00:00
hosted-components chore: update package versions 2026-07-02 17:12:34 +00:00
internal-tool chore: update package versions 2026-07-02 17:12:34 +00:00
mcp chore: update package versions 2026-07-02 17:12:34 +00:00
mock-oauth-server chore: update package versions 2026-07-02 17:12:34 +00:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00
skills chore: update package versions 2026-07-02 17:12:34 +00:00