You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes a new subthought will disappear unexpectedly.
When the subthought is added manually, all of its descendants are populated, indicating that the thoughts are being saved initially but the contextIndex entry is being overwritten.
How are deletions differentiated from past states?
Until we have write receipts or history, they aren’t. We have to use timestamps.
Where and how are timestamps utilized?
Ignored in loadLocalState
Should be okay since only initialState exists and the remote state is deferred.
updateState (requires migration to add timestamp to contextIndex)
Does it get overwritten by the local store or remote?
Must be in the remote. There is nothing for local store to overwrite.
Test A: Two browser tabs logged in.
Unable to reproduce
Test B: Try in various combinations.
Two browser tabs logged in
Go offline in tab X
Make edits in tab X
Reconnect in tab Y
The text was updated successfully, but these errors were encountered:
Sometimes a new subthought will disappear unexpectedly.
When the subthought is added manually, all of its descendants are populated, indicating that the thoughts are being saved initially but the
contextIndex
entry is being overwritten.loadLocalState
initialState
exists and the remote state is deferred.updateState
(requires migration to add timestamp tocontextIndex
)The text was updated successfully, but these errors were encountered: