1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

User Onboarding + Bug Fixes (#1352)

* Bump min supported date to 20 years

* Add basic onboarding

* User onboarding

* Complete onboarding flow

* Cleanup, add user profile update test
This commit is contained in:
Zach Gollwitzer 2024-10-23 11:20:55 -04:00 committed by GitHub
parent 73e184ad3d
commit 1d20de770f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 1088 additions and 300 deletions

View file

@ -1,70 +1,30 @@
---
en:
accounts:
sync_all_button:
sync: Sync all
account:
has_issues: Issue detected.
troubleshoot: Troubleshoot
account_list:
new_account: "New %{type}"
empty:
no_accounts: No accounts yet
empty_message: Add an account either via connection, importing or entering manually.
new_account: New account
form:
name_label: Account name
name_placeholder: Example account name
institution: Financial institution
ungrouped: "(none)"
balance: Today's balance
accountable_type: Account type
mode: Value tracking mode
mode_prompt: Select a mode
type_prompt: Select a type
header:
accounts: Accounts
manage: Manage accounts
new: New account
institution_accounts:
add_account_to_institution: Add new account
has_issues: Issue detected, see accounts
syncing: Syncing...
status: "Last synced %{last_synced_at} ago"
status_never: Requires data sync
edit: Edit institution
delete: Delete institution
confirm_title: Delete financial institution?
confirm_body: Don't worry, none of the accounts within this institution will be affected by this deletion. Accounts will be ungrouped and all historical data will remain intact.
confirm_accept: Delete institution
new_account: Add account
institutionless_accounts:
other_accounts: Other accounts
menu:
edit: Edit
import: Import transactions
confirm_title: Delete account?
confirm_body_html: "<p>By deleting this account, you will erase its value history, affecting various aspects of your overall account. This action will have a direct impact on your net worth calculations and the account graphs.</p><br /> <p>After deletion, there is no way you'll be able to restore the account information because you'll need to add it as a new account.</p>"
confirm_accept: 'Delete "%{name}"'
new_account: New %{type}
accountables:
credit_card:
form:
available_credit: Available credit
available_credit_placeholder: '10000'
minimum_payment: Minimum payment
minimum_payment_placeholder: '100'
apr: APR
apr_placeholder: '15.99'
expiration_date: Expiration date
annual_fee: Annual fee
annual_fee_placeholder: '99'
apr: APR
apr_placeholder: '15.99'
available_credit: Available credit
available_credit_placeholder: '10000'
expiration_date: Expiration date
minimum_payment: Minimum payment
minimum_payment_placeholder: '100'
overview:
amount_owed: Amount Owed
available_credit: Available Credit
minimum_payment: Minimum Payment
apr: APR
expiration_date: Expiration Date
annual_fee: Annual Fee
apr: APR
available_credit: Available Credit
expiration_date: Expiration Date
minimum_payment: Minimum Payment
unknown: Unknown
depository:
form:
@ -77,7 +37,8 @@ en:
tooltip:
cash: Cash
holdings: Holdings
total_value_tooltip: The total value is the sum of cash balance and your holdings value, minus margin loans.
total_value_tooltip: The total value is the sum of cash balance and your
holdings value, minus margin loans.
loan:
form:
interest_rate: Interest rate
@ -133,17 +94,65 @@ en:
trend: Trend
unknown: Unknown
year: Year
create:
success: New account created successfully
destroy:
success: Account deleted successfully
edit:
edit: "Edit %{account}"
edit: Edit %{account}
empty:
empty_message: Add an account either via connection, importing or entering manually.
new_account: New account
no_accounts: No accounts yet
form:
accountable_type: Account type
balance: Today's balance
institution: Financial institution
mode: Value tracking mode
mode_prompt: Select a mode
name_label: Account name
name_placeholder: Example account name
type_prompt: Select a type
ungrouped: "(none)"
header:
accounts: Accounts
manage: Manage accounts
new: New account
index:
accounts: Accounts
add_institution: Add institution
new_account: New account
institution_accounts:
add_account_to_institution: Add new account
confirm_accept: Delete institution
confirm_body: Don't worry, none of the accounts within this institution will
be affected by this deletion. Accounts will be ungrouped and all historical
data will remain intact.
confirm_title: Delete financial institution?
delete: Delete institution
edit: Edit institution
has_issues: Issue detected, see accounts
new_account: Add account
status: Last synced %{last_synced_at} ago
status_never: Requires data sync
syncing: Syncing...
institutionless_accounts:
other_accounts: Other accounts
menu:
confirm_accept: Delete "%{name}"
confirm_body_html: "<p>By deleting this account, you will erase its value history,
affecting various aspects of your overall account. This action will have a
direct impact on your net worth calculations and the account graphs.</p><br
/> <p>After deletion, there is no way you'll be able to restore the account
information because you'll need to add it as a new account.</p>"
confirm_title: Delete account?
edit: Edit
import: Import transactions
new:
title: Add an account
manual_entry: Enter account manually
csv_entry: Import accounts CSV
connected_entry: Securely link account with Plaid (coming soon)
csv_entry: Import accounts CSV
manual_entry: Enter account manually
title: Add an account
show:
cash: Cash
holdings: Holdings
@ -157,17 +166,17 @@ en:
summary:
new: New
no_assets: No assets found
no_assets_description: Add an asset either via connection, importing or entering manually.
no_assets_description: Add an asset either via connection, importing or entering
manually.
no_liabilities: No liabilities found
no_liabilities_description: Add a liability either via connection, importing or entering manually.
create:
success: New account created successfully
destroy:
success: Account deleted successfully
update:
success: Account updated
no_liabilities_description: Add a liability either via connection, importing
or entering manually.
sync_all:
success: Successfully queued accounts for syncing.
sync_all_button:
sync: Sync all
update:
success: Account updated
credit_cards:
create:
success: Credit card created successfully

View file

@ -1,15 +1,15 @@
---
en:
impersonation_sessions:
create:
success: "Request sent to user. Waiting for approval."
join:
success: "Joined session"
leave:
success: "Left session"
approve:
success: "Request approved"
reject:
success: "Request rejected"
success: Request approved
complete:
success: "Session completed"
success: Session completed
create:
success: Request sent to user. Waiting for approval.
join:
success: Joined session
leave:
success: Left session
reject:
success: Request rejected

View file

@ -4,7 +4,8 @@ en:
cleans:
show:
description: Edit your data in the table below. Red cells are invalid.
errors_notice: You have errors in your data. Hover over the error to see details.
errors_notice: You have errors in your data. Hover over the error to see
details.
title: Clean your data
configurations:
show:
@ -18,8 +19,8 @@ en:
no_accounts: You don't have any accounts yet. Please create an account that
we can use for (unassigned) rows in your CSV or go back to the Clean step
and provide an account name we can use.
unassigned_account: Need to create a new account for unassigned rows?
rows_label: Rows
unassigned_account: Need to create a new account for unassigned rows?
show:
account_mapping_description: Assign all of your imported file's accounts to
Maybe's existing accounts. You can also add new accounts or leave them

View file

@ -2,12 +2,14 @@
en:
layouts:
auth:
or: or
privacy_policy: Privacy Policy
sign_in: sign in to your account
sign_up: create an account
terms_of_service: Terms of Service
existing_account: Already have an account?
no_account: New to Maybe?
sign_in: Sign in
sign_up: Create account
your_account: Your account
footer:
privacy_policy: Privacy Policy
terms_of_service: Terms of Service
issues:
action: How to fix this issue
description: Issue Description

View file

@ -0,0 +1,28 @@
---
en:
onboardings:
header:
sign_out: Log out
preferences:
currency: Currency
date_format: Date format
example: Example account
locale: Language
preview: Preview how data displays based on preferences.
submit: Complete
subtitle: Let's configure your preferences.
title: Configure your preferences
profile:
country: Country
first_name: First Name
household_name: Household Name
last_name: Last Name
profile_image: Profile Image
submit: Continue
subtitle: Let's complete your profile.
title: Let's set up the basics
show:
message: Were really excited youre here. In the next step well ask you a
few questions to complete your profile and then get you all set up.
setup: Set up account
title: Meet Maybe

View file

@ -7,8 +7,8 @@ en:
allocation_chart:
assets: Assets
debts: Debts
greeting: Welcome back, %{name}
fallback_greeting: Welcome back, friend
greeting: Welcome back, %{name}
import: Import
income: Income
investing: Investing (coming soon...)

View file

@ -13,6 +13,7 @@ en:
invalid_invite_code: Invalid invite code, please try again.
success: You have signed up successfully.
new:
submit: Create account
title: Create an account
welcome_body: To get started, you must sign up for a new account. You will
then be able to configure additional settings within the app.

View file

@ -10,6 +10,5 @@ en:
email_placeholder: you@example.com
forgot_password: Forgot your password?
password: Password
reset_password: Reset it
submit: Log in
title: Sign in to your account

View file

@ -29,19 +29,19 @@ en:
previous: Back
preferences:
show:
country: Country
currency: Currency
date_format: Date format
general_subtitle: Configure your preferences
general_title: General
language: Language
page_title: Preferences
theme_dark: Dark
theme_light: Light
theme_subtitle: Choose a preferred theme for the app (coming soon...)
theme_system: System
theme_title: Theme
update:
success: Preferences updated successfully.
profiles:
destroy:
success: Account deleted successfully.
show:
confirm_delete:
body: Are you sure you want to permanently delete your account? This action
@ -51,16 +51,17 @@ en:
delete_account: Delete account
delete_account_warning: Deleting your account will permanently remove all
your data and cannot be undone.
first_name: First Name
household_form_input_placeholder: Enter household name
household_form_label: Household name
household_subtitle: Invite family members, partners and other inviduals. Invitees
can login to your household and access your shared accounts.
household_title: Household
last_name: Last Name
page_title: Account
profile_image_choose: Choose
profile_image_type: JPG, GIF or PNG. 5MB max.
profile_subtitle: Customize how you appear on Maybe
profile_title: Profile
save: Save
update:
success: Profile updated successfully.
user_avatar_field:
accepted_formats: JPG or PNG. 5MB max.
choose: Choose

View file

@ -0,0 +1,7 @@
---
en:
users:
destroy:
success: Your account has been deleted.
update:
success: Your profile has been updated.

View file

@ -5,14 +5,23 @@ Rails.application.routes.draw do
get "feedback", to: "pages#feedback"
get "early-access", to: "pages#early_access"
resource :registration
resource :registration, only: %i[new create]
resources :sessions, only: %i[new create destroy]
resource :password_reset
resource :password
resource :password_reset, only: %i[new create edit update]
resource :password, only: %i[edit update]
resources :users, only: %i[update destroy]
resource :onboarding, only: :show do
collection do
get :profile
get :preferences
end
end
namespace :settings do
resource :profile, only: %i[show update destroy]
resource :preferences, only: %i[show update]
resource :profile, only: :show
resource :preferences, only: :show
resource :hosting, only: %i[show update]
resource :billing, only: :show
end