Skip to content

Commit

Permalink
Update onboarding (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
argaen authored May 1, 2024
1 parent 21bd634 commit efafee1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/components/onboarding/Onboarding.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ describe('Onboarding', () => {
await waitFor(() => expect(result.current.data).toHaveLength(12));

// STEP 6: Show accounts tree again
await screen.findByText('See that now your bank account', { exact: false });
await screen.findByText('Your bank account is now part', { exact: false });
await user.click(screen.getByText('Next'));

// STEP 7: Adds a transaction between bank account and groceries account
Expand Down Expand Up @@ -232,7 +232,7 @@ describe('Onboarding', () => {
}));

// STEP 8: Shows about the Save button
await screen.findByText('We save the data automatically', { exact: false });
await screen.findByText('For paid users', { exact: false });
await user.click(screen.getByText('Next'));

// STEP 9: Final disclaimer
Expand Down
13 changes: 5 additions & 8 deletions src/components/onboarding/Onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default function Onboarding({
content: (
<div className="text-left leading-relaxed">
<p className="mb-2">
See that now your bank account appears in the accounts tree.
Your bank account is now part of the accounts tree.
If you added an opening balance, you will see that your
total net worth has changed.
</p>
Expand Down Expand Up @@ -279,11 +279,12 @@ export default function Onboarding({
content: (
<div className="text-left leading-relaxed">
<p className="mb-2">
We save the data automatically for you whenever you do changes.
For paid users, the data is saved automatically in your
Google Drive whenever you do changes.
</p>
<p className="mb-2">
The data is uploaded to your Google Drive, under the maffin.io folder. Make
sure you take good care of that file!
For non paid users, data will have to be exported and imported every time
you enter.
</p>
<div className="flex justify-end">
<button
Expand Down Expand Up @@ -318,10 +319,6 @@ export default function Onboarding({
<div className="flex py-3 justify-center">
<Image src={maffinLogo} alt="logo" height="65" />
</div>
<p className="badge rounded-md warning mt-3">
You own your data which means you have to be careful. Do not
delete the maffin.io folder from your Google drive!
</p>
</span>
<div className="flex justify-center mt-5">
<button
Expand Down

0 comments on commit efafee1

Please sign in to comment.