Open kouloumos opened 11 months ago
Hi @kouloumos
Here's a draft for the fixes: https://github.com/bitcointranscripts/transcription-review-front-end/pull/238
This is still an issue, although it's kind of different now that we are using GitHub as the source of truth for the state of the transcript/edit.
Update on observations
If I make a change to a field and then leave the Editor, although the change will be saved (there is auto-save on every metadata change) the very first time that I will come back to the Editor, I will see the previous state (the one before the change). If I refresh the page, I will get the correct up-to-date state.
This is still an issue, I think it has to do with concurrency. It only occurs if you change a metadata field (e.g add/remove speaker) and then you quickly refresh the page. I think we can ignore it for now.
Possible solution
I believe that all of those issues will be resolved if we change the way we are handling/showcasing-to-the-user the current state of Saved Changes. But as we are already thinking about a different editing experience (https://github.com/bitcointranscripts/transcription-review-front-end/issues/280) it doesn't make sense to work on this right now.
I observed two instances of weird behavior with the state of the data in the Editor: