Add a new item using the API (e.g. using the Quick Dynalist app).
Expected result
The item appears in active clients (e.g. mobile, web).
Actual result
The item doesnât get pushed to existing clients. If you open Dynalist in a new tab it will be there (so not a problem with the API not working), but it wonât force sync down to existing clients.
On mobile even pressing ârefreshâ (from the three dot menu) doesnât force it to sync. You have to manually start typing in a different item to force it to sync down.
On desktop doing Ctrl-s also doesnât force it to sync down, you have to completely refresh the page or starting typing in a new item.
NOTE: If you add an item from a native client (not API) then the item is properly pushed to all clients, this just appears to be a problem when adding items from the API.
Environment
Iâve reproed this off and on in the browser, and 100% of the time on the Android native app.
Seems to have just started happening in the past couple of days. Did something change in the way API updates are pushed to clients?
Also, itâs been hit or miss on desktop for me. Sometimes it works fine like you described. But on the native Android app itâs completely broken for me.
Looking at the network tab in the dev console Iâm seeing https://dynalist.io/api/bundle_binary POST requests as soon as I add an item from Quick Dynalist, but the bundle has "diffs":[],"diffs_ts":[]. When I add something from a first party client the bundle contains real diffs.
I tried it a few more times and youâre right. API seems to be acting up.
First API insert appeared <1 second
Second API insert didnât appear even after 10 seconds
Third API insert made the second and third appear in <1 second
Some show up quick, some not at all until you do something
Seems like weâve hit one of the hardest problems in computer science: Cache invalidation.
Iâm joking. The issue should now be resolved. Let me know if thatâs the case.
@Shida Iâm also having issues with the web clipper new items being synced down to connected clients. I donât use that feature much so hadnât noticed it before.