fix: persist edit mode on refresh (#527) #534

Closed
b25marem wants to merge 0 commits from 527-stay-edit-mode-refresh into team_2_week_3
Collaborator

Changes:
Save edit mode state in localStorage
Restore state on page refresh

Test:
ON: refresh, result: stays ON
OFF: refresh, result stays OFF

Changes: Save edit mode state in localStorage Restore state on page refresh Test: ON: refresh, result: stays ON OFF: refresh, result stays OFF
Collaborator

Review on #527

Whats done

I tried several combinations of switching to edit mode, refreshing, going to the settings page and back

Tested on ubuntu using firefox

  • App starts and edit mode persisted when refreshing and going to the settings page and back.

Inspected following files frontend/src/components/Dashboard/Dashboard.js

  • Indentation/code styling is ok
  • Comments
    • No comment in added code, but I think this is fine

Conclusion

  • Clean and simple solution. This can be merged
# Review on #527 ## Whats done I tried several combinations of switching to edit mode, refreshing, going to the settings page and back ### Tested on ubuntu using firefox + App starts and edit mode persisted when refreshing and going to the settings page and back. ### Inspected following files frontend/src/components/Dashboard/Dashboard.js + Indentation/code styling is ok + Comments + No comment in added code, but I think this is fine ## Conclusion + Clean and simple solution. This can be merged
Collaborator

Merged!

Merged!
a24vinla closed this pull request 2026-04-24 08:44:19 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!534
No description provided.