1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00

Onboarding redirect tests and trial status bar (#2197)
Some checks failed
Publish Docker image / ci (push) Has been cancelled
Publish Docker image / Build docker image (push) Has been cancelled

* Onboarding redirect tests and trial status bar

* use helper method

* Fix time tolerance failure

* Update post-onboarding message to be generic

* Disable turbo frames on Trial start button

* Update flash notice in test
This commit is contained in:
Zach Gollwitzer 2025-05-02 15:21:46 -04:00 committed by GitHub
parent bc7e32deab
commit 441f436187
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 110 additions and 18 deletions

View file

@ -4,7 +4,7 @@
{ name: "Setup", path: onboarding_path, is_complete: user.first_name.present?, step_number: 1 },
{ name: "Preferences", path: preferences_onboarding_path, is_complete: user.set_onboarding_preferences_at.present?, step_number: 2 },
{ name: "Goals", path: goals_onboarding_path , is_complete: user.set_onboarding_goals_at.present?, step_number: 3 },
{ name: "Start", path: trial_onboarding_path, is_complete: user.onboarded_at.present?, step_number: 4 },
{ name: "Start", path: trial_onboarding_path, is_complete: user.onboarded?, step_number: 4 },
] %>
<%# Don't show last step if self hosted %>

View file

@ -32,7 +32,8 @@
<%= render ButtonComponent.new(
text: "Try Maybe for 14 days",
href: start_trial_subscription_path,
full_width: true
full_width: true,
data: { turbo: false }
) %>
</div>
</div>