Open gpuente opened 1 month ago
Maybe this issue has some relation with this PR https://github.com/powerhouse-inc/document-model-electron/pull/159 and the debounceOperations
@gpuente Did you have anymore insights in this issue/bug?
Hey @CallmeT-ty ! This issue is still reproducible in staging. The main problem with this bug was that it could lead to duplicated operations, but since we are merging the fix for that by today, this bug now should have less priority.
@gpuente Do you have an idea weither this bug is reproducable?
@CallmeT-ty this issue is still reproducible
How to reproduce this issue:
pullInterval
value when adding a new drive (change this from the code): https://github.com/powerhouse-inc/document-model-electron/blob/staging/src/components/drive-container.tsx#L85 (you can use50000
ms)model type
to1
and click outside the text field: you'll see in the network tab that connect is callingpushUpdates
mutation with the operation addedmodel type
to2
and click outside the text field: you'll see in the network tab that connect is callingpushUpdates
mutation with the new operationmodel description
to3
and click outside the text field: connect is not callingpushUpdates
mutation with the new operationExpected behavior:
In step 10, connect should call
pushUpdates
mutations so the operation is registered in switchboard.Demo