-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: After page refresh, store state no longer retains the selected project #566 #567
base: main
Are you sure you want to change the base?
Fix: After page refresh, store state no longer retains the selected project #566 #567
Conversation
…h-store-state-no-longer-retains-the-selected-project
…h-store-state-no-longer-retains-the-selected-project
…equest to avoid clearing our user stories in "Planning with User Stories" mode after page refresh
After the page refresh, the previously selected project with all their user stories should now be displayed correctly again, along with the last active/clicked user story. For the "Planning with User Stories" mode, I'm currently also working on extracting and reloading the user stories from the session object in the database after every page refresh as an additional backup. However, I still need to determine whether I'll do this in this PR or in a separate one. |
…h-store-state-no-longer-retains-the-selected-project # Conflicts: # frontend/src/main.ts
…h-store-state-no-longer-retains-the-selected-project
…h-store-state-no-longer-retains-the-selected-project
Fix for #566.
Persisting the store state in our sessionStorage using the pinia-plugin-persistedstate (https://prazdevs.github.io/pinia-plugin-persistedstate/). All changes to the state are automatically updated in the localStorage as well.