arch-kiosk / arch-kiosk-office

💼 central place for collaboration
GNU Affero General Public License v3.0
1 stars 0 forks source link

bridge: dock is being prepared but bridge still offers to download it #2964

Closed luizaogs closed 2 weeks ago

luizaogs commented 2 weeks ago

I'm not sure if this was always the case. If so, I had never noticed it.

I'm preparing my dock in the hub after a new test release. This morning I had used Bridge to download from that same dock, but currently the dock is "processing". However, Bridge still gives me the two options that I should see when a dock is prepared: "send to FM again" or "download from Kiosk again".

Once the dock is indeed prepared again, Bridge does not refresh automatically and I still get those two options which really are relevant to my morning download rather than this one. In order to get the correct "download from Kiosk" rather than "download from Kiosk AGAIN," I need to go into Bridge's settings and click on reset app state.

A bit of a confusing workflow.

luizaogs commented 2 weeks ago

Perhaps relevant is the fact that I did not upload that dock, so perhaps an issue more relevant to testing.

urapadmin commented 2 weeks ago

yes, that is a bit of a test issue. If you don't upload, Bridge can still be expecting something back from FileMaker. If a new state in Kiosk automatically reset the Bridge state it could lead to losing the option to upload current recording data (which in some scenarios I would want to do to use the "repair mode" of the import). I remember that I decided to decouple the Bridge states from those in Kiosk at some point to be a bit more flexible. I think for the regular recording cycle in the field this is okay.

urapadmin commented 2 weeks ago

see also #2942