Skip to content

Prevent data mixing between tabs.#4839

Open
corentin-soriano wants to merge 1 commit intonilsteampassnet:masterfrom
corentin-soriano:hotfix/multi_tab
Open

Prevent data mixing between tabs.#4839
corentin-soriano wants to merge 1 commit intonilsteampassnet:masterfrom
corentin-soriano:hotfix/multi_tab

Conversation

@corentin-soriano
Copy link
Copy Markdown
Contributor

Move teampassItem, teampassApplication, and teampassSettings to sessionStorage instead of localStorage to avoid mixing data between multiple open tabs.
store.everything.session.min.js is a modified copy of store.everything.min.js to use sessionStorage and expose storeSession object.

store => Local Storage (shared between all tabs).
storeSession => Session Storage (not shared between tabs).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @corentin-soriano
Thank you for this, indeed seems to works smoothly.
QUestion is regarding this file that is included inside store.js component.
I'm a bit concerned about the maintenance of it.
This plugin doesn't evolve regularly but injecting a new file inside it might be a braker in a futur update.
Your position ?

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.

2 participants