feat: started working on auto refresh of activity page#255
feat: started working on auto refresh of activity page#255
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #255 +/- ##
======================================
Coverage 4.43% 4.43%
======================================
Files 21 21
Lines 969 969
Branches 94 94
======================================
Hits 43 43
Misses 869 869
Partials 57 57 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Personally I wouldn't care about an auto refresh every 30s, especially considering that weekly/monthly queries are very demanding. Maybe if I have an activitywatch tab open which I go back to after an hour it would be cool if it reloaded, but I can also see how it could be annoying. |
|
A possibly less demanding option is to have a text field "UI is outdated" that appears next to Refresh button if data has not been refreshed for past 5 minutes, thus letting user know they should Refresh. That said, I can see a use case for the auto-refresh setting if somebody has the webpage in view/on another monitor and wants to see their activity live. |
871a9e1 to
39de143
Compare
Had this in my working tree for along time. Not ready and not sure if it's a good idea, but thought I should open a PR for it regardless.