mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
## 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> |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| .env | ||
| .env.development | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .npmrc | ||
| components.json | ||
| DESIGN-GUIDE.md | ||
| instrumentation-client.ts | ||
| LICENSE | ||
| next.config.mjs | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||