Skip to content

feat: started working on auto refresh of activity page#255

Draft
ErikBjare wants to merge 1 commit intomasterfrom
dev/autorefresh
Draft

feat: started working on auto refresh of activity page#255
ErikBjare wants to merge 1 commit intomasterfrom
dev/autorefresh

Conversation

@ErikBjare
Copy link
Copy Markdown
Member

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.

@ErikBjare ErikBjare marked this pull request as draft February 9, 2021 16:07
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 9, 2021

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 4.43%. Comparing base (23b2074) to head (96de709).
⚠️ Report is 520 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@johan-bjareholt
Copy link
Copy Markdown
Member

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.

@nicolae-stroncea
Copy link
Copy Markdown
Member

nicolae-stroncea commented Feb 13, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants