Skip to content

Component save mechanism  #200

@pietrop

Description

@pietrop

Describe the bug

At the moment the component uses the url param as a key to save in local storage.
However when you come back to a transcript if it is present in local storage with the current logic that version takes priority over the server side one.

This could be problematic if there are multiple people (asynchronously) editing the transcript and the server version has moved passed the local version. As the local version will be left behind.

To Reproduce
see above description

Expected behavior

To have a better for the component to handle saving that doesn't introduce bugs.

Screenshots

NA

Additional context

bbc/digital-paper-edit-electron#4
#177

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions