Skip to content
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

Sync drafts between tabs #155

Open
josephmturner opened this issue Dec 26, 2020 · 0 comments
Open

Sync drafts between tabs #155

josephmturner opened this issue Dec 26, 2020 · 0 comments

Comments

@josephmturner
Copy link
Collaborator

If two tabs are opened at the same time, it is possible to overwrite changes made to drafts in another tab.
Syncing drafts between tabs would be a nice solution. A simpler, less elegant solution would be to prevent the app from running in two tabs.

I removed syncWithLocalStorage logic in 18d4f9d because it would crash when a new reference point was created in different tab. The new reference point id would be added to the draftMessage, but the original point would not be retrieved from ushin-db.

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

No branches or pull requests

1 participant