Show remaining time on a task on the tray#4156
Show remaining time on a task on the tray#4156johannesjo merged 3 commits intosuper-productivity:masterfrom
Conversation
|
I created this PR as a draft so we can test on other environments and see what happens here. Can you guys test on Linux if possible? I'll test this on Windows. I didn't implemented the timer when the Pomodoro is enabled, do you think that's a good thing to have? I'll probably need to understand a little how can I add this to get the current pomodoro timer on the event process of the Store/dispatch. |
|
Just manage to add the Pomodoro timer on the tray timer when the pomodoro is enabled! yay!
The only issue is, the tray timer seem to be slower than the one inside the application, sometimes they are not totally in sync, I don't know if this is huge problem. but since I never used the Thank you! |
|
Thanks for the changes! On gnome there is still nothing shown unfortunately. Maybe we could try using something like this: https://www.npmjs.com/package/@girs/node-appindicator3-0.1 ? |
|
Thank you! |
|
hey @johannesjo, sorry for not testing that on Windows yet. I'll try to do it this week, let you know once I figured it out, and maybe I could open another PR. I'll probably just not able to test on Linux, did you manage to see it something there? |
No. :) |

Description
The idea is to show the remaining time of a task on the tray icon at the top.
Issues Resolved
List any existing issues this PR resolves
#3091
When you play a task that has an estimate time, it shows the remaining time
When you play a task that does not have an estimate time, it shows the time spent on the task until now
When the user has the Pomodoro timer enabled, it shows the rest of the pomodoro session:
cc: @johannesjo @9z0