Skip to content

fix: restore session tabs on reload, remove allgs Set divergence #359

Open
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/session-restore-local-storage
Open

fix: restore session tabs on reload, remove allgs Set divergence #359
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/session-restore-local-storage

Conversation

@avinxshKD
Copy link

@avinxshKD avinxshKD commented Mar 3, 2026

closes #348

session restore was commented out ("on hold"). tabs were saving fine, just never loading back on refresh.

also dropped the allgs Set, it diverged from localStorage on every restart so remove/addGraph were working on stale data. everything just reads localStorage directly now.

ADD_GRAPH_BULK wasn't spreading initialGraphState so restored tabs were missing fields, fixed that too.

@avinxshKD
Copy link
Author

Hey @pradeeban I also patched ADD_GRAPH_BULK to spread initialGraphState so restored tabs don't come back half-empty. lmk if you want anything changed 🌸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant