Skip to content

feat: refresh signup welcome and plan selection flow#2136

Merged
DonKoko merged 5 commits intomainfrom
codex/implement-new-signup-flow
Oct 24, 2025
Merged

feat: refresh signup welcome and plan selection flow#2136
DonKoko merged 5 commits intomainfrom
codex/implement-new-signup-flow

Conversation

@carlosvirreira
Copy link
Copy Markdown
Contributor

Summary

  • update the /welcome choose-purpose view with new copy, guardrail hint, plan badges, and analytics-aware CTA behaviour
  • redesign the /select-plan route with static team plan cards, optional add-ons section, refreshed trial messaging, and navigation back link
  • add focused tests covering the revised welcome selection states and plan selection layout

Testing

  • npx vitest run app/components/welcome/choose-purpose.test.tsx app/routes/_welcome+/select-plan.test.tsx

https://chatgpt.com/codex/tasks/task_b_68f7bb3dc5ac832683f243af3aab07b5

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
shelf-docs Ready Ready Preview Comment Oct 24, 2025 8:01am

Synchronize testing documentation from CLAUDE.md to AGENTS.md to ensure
comprehensive testing guidance for AI agents. Key improvements include:

- Add detailed Testing Approach section with Vitest and validation pipeline
- Expand Test Philosophy to explicitly discourage testing implementation details
- Clarify When to Mock with specific guidance on avoiding internal logic mocks
- Improve directory structure examples and factory usage patterns
- Enhance Pre-Commit Checklist with focus on behavior-driven tests

This ensures agents have complete testing context when working on the codebase
and aligns with the project's emphasis on behavior-focused, minimally-mocked tests.
Replace hardcoded plan copy with dynamic generation from Stripe price data.
The previous implementation used static values ($67/mo, $37/mo) which would
not reflect actual Stripe pricing changes.

Changes:
- Add getPlanCopy function to dynamically format prices from Stripe data
- Extract unit_amount and currency from price objects
- Calculate monthly equivalent for annual plans (divide by 10)
- Generate dynamic footnotes with actual annual totals
- Update iteration to use planPrices instead of hardcoded planCopy object

This ensures pricing stays in sync with Stripe configuration and supports
currency changes without code modifications.
@carlosvirreira
Copy link
Copy Markdown
Contributor Author

carlosvirreira commented Oct 23, 2025

hey @DonKoko works nice - thank you for your latest polish on top of all.

Please check that we write 7-day trial as this is our current default.

For the rest I find this to be a nice enhancement to what we have.

Only thing I noticed that might be - unrelated is that when i clicked on the trial I got an error of not being able to create more workspaces. So - ideally this is something we check if it wont translate to prod.

Screenshot 2025-10-23 at 16 58 14

Screenshot 2025-10-23 at 16 58 42

@DonKoko
Copy link
Copy Markdown
Contributor

DonKoko commented Oct 24, 2025

@carlosvirreira the days of trial is a env variable because its used in many places in the app. The value we have on staging is just an old value. The original PR actually had it hardcoded which was an issue so I had to fix them. I hope i didn't miss any instances.
As for the create workspaces issue, I will give it a test but I think its something with webhooks not working right now on staging.

@carlosvirreira
Copy link
Copy Markdown
Contributor Author

@carlosvirreira the days of trial is a env variable because its used in many places in the app. The value we have on staging is just an old value. The original PR actually had it hardcoded which was an issue so I had to fix them. I hope i didn't miss any instances. As for the create workspaces issue, I will give it a test but I think its something with webhooks not working right now on staging.

sounds good - besides those points nothing from my end to adjust

@DonKoko DonKoko merged commit 9a7700c into main Oct 24, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants