Description
This PR updates the logic used to determine whether the onboarding tutorial should be shown.
Instead of relying on a localStorage flag, we now check if the user has any uploaded files in their account.
This ensures that users who have already completed the tutorial won’t see it again, even if they open the app in incognito mode or from a different browser.
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed
Testing Process
- Create new account
- Complete the tutorial
- Open the app in another browser
- Check that the tutorial is not displayed in your new account
Additional check:
- Log in in an old account, check that the tutorial is not displayed in some browsers (at least 2 different browsers)