Notification area icon should change color when there are urgent tasks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I would like to suggest a slight enhancement to the notification area plugin. The notification icon could be colored differently according to whether there are urgent tasks to do or not.
Use case: I wake up in the morning and I want to know if there is anything urgent to do today. I could have a look at the notification area and see the icon colored if there are urgent tasks to do ("danger zone", see below). If the icon is white, I can relax and have my coffee without even opening the GTG main window. In the end, the purpose of the notification area is to notify people of events that require their attention, not simply to provide an extra launcher for the application.
The danger zone is defined as a time span in days. If number of days left to do a task are less than this time span, then the task is in danger zone. When there is at least one task in danger zone, the icon should be colored. Overdue tasks are of course always in danger zone.
Setting a danger zone of 0 days should disable the attention monitor and reproduce the old behavior.
The icon color should adhere to the current theme.
----
A previous specification of the icon coloring was:
- green if there are tasks due soon ("danger zone")
- red if there are tasks due today or overdue tasks
- white if there is nothing urgent to do
Related branches
- Bertrand Rousseau (community): Approve
- Lionel Dricot (community): Needs Fixing
-
Diff: 607 lines (+367/-27)5 files modifiedGTG/plugins/notification-area.gtg-plugin (+1/-1)
GTG/plugins/notification_area/data/icons/ubuntu-mono-dark/22x22/apps/gtg_need_attention.svg (+60/-0)
GTG/plugins/notification_area/data/icons/ubuntu-mono-light/22x22/apps/gtg_need_attention.svg (+60/-0)
GTG/plugins/notification_area/notification_area.py (+167/-19)
GTG/plugins/notification_area/notification_area.ui (+79/-7)
description: | updated |
tags: | added: toreview |
Changed in gtg: | |
status: | In Progress → Fix Committed |
tags: | removed: toreview |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
I like the idea, although it won't be usable for me (always showing red or green). Wouldn't be better to have a separate plugin which on startup of GTG would provide information like that? Using a notification or open an extra window to show you important tasks to do in danger zone.
The question is if you want to be notified about being in a danger zone always (it might feel deprivating) or on startup.
I suppose it should take in account only doable tasks (tasks shown in workview) for computing danger zone.