Skip to content

Sync drafts between tabs #155

Description

@josephmturner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions