Work view should refresh itself periodically
Bug #514926 reported by
Bryce Harrington
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
High
|
Atit Anand |
Bug Description
-implement a core timer class ticking every half an hour and at midnight
- make the browser refresh at midnight
- make a plugin function
- register the cleanup plugin to that
I usually leave the Work View on all the time except when I'm doing planning work. In the morning when I sit down at the computer, I notice that it still shows the work view for the prior day. Weirdly, the task count next to 'All tasks' is different - it's the correct total of bugs for the current day.
I think gtg should automatically refresh its work view periodically (maybe once every hour or two) if it is left idle.
Changed in gtg: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in gtg: | |
assignee: | nobody → Luca Invernizzi (invernizzi) |
Changed in gtg: | |
milestone: | none → 0.3 |
assignee: | Luca Invernizzi (invernizzi) → nobody |
Changed in gtg: | |
milestone: | 0.3 → 0.4 |
tags: | added: refresh |
Changed in gtg: | |
importance: | Medium → High |
Changed in gtg: | |
assignee: | Antonio Roquentin (antonio-roquentin) → Atit Anand (atit-anand-cs) |
Changed in gtg: | |
status: | Triaged → In Progress |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm interested in solving this one.
Question: we have the need to run some code periodically in different places (this one, the cleanup feature, possibly the "alarm" thingie). Should we implement a single signal that "ticks" every half an hour or so or everything gets its own custom timer?
Pro custom:
- not having custom timers isn't like reimplementing the timer?
Against custom:
- code is more understandable
- recurring events can be turned on/off easily