AlexandrePTJ / kemai

Kimai desktop client
MIT License
88 stars 25 forks source link

Kemai does not sync state except at startup #122

Closed nicolascircle closed 1 month ago

nicolascircle commented 1 month ago

When starting Kemain (appimage v0.11.0), Kemai know if an activity is already running (launched or stoped through the web interface).

However, when kemai is already launched and an activity is started or stoped through the web interface, kemai does not update to reflect the current status, and you can override values already existing.

I tried using the "Refresh cache" button, thinking it would sync with the web, but no. Seems like at startup, kemai is doing a get request on /api/timesheets/active route which is not doing when refreshing cache.

Is there a way to have desktop app synchronized with web interface ?

nicolascircle commented 1 month ago

Hum, had searched in the issues, and did not found answer, but there is one in discussions : https://github.com/AlexandrePTJ/kemai/discussions/109

So I'll close the issue. Sorry for the noise.