Merge lp:~justas.sadzevicius/gtimelog/recent_tasks into lp:~gtimelog-dev/gtimelog/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp:~justas.sadzevicius/gtimelog/recent_tasks |
Merge into: | lp:~gtimelog-dev/gtimelog/trunk |
Diff against target: |
242 lines (+189/-1) 1 file modified
src/gtimelog/main.py (+189/-1) |
To merge this branch: | bzr merge lp:~justas.sadzevicius/gtimelog/recent_tasks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GTimeLog developers | Pending | ||
Review via email: mp+46582@code.launchpad.net |
Description of the change
Cue 80s style commercial:
Keep your time log activity list relevant and up to date!
Act now and save (time)! *
Only the best task lists brought to your doorstep by Justas'
Launchpad branch.
* lp:~justas-pov/gtimelog/recent_tasks
* unit tests sold separately
Cheers,
Justas
P.S.: my gtimelogrc config:
task_list_url =
recent_task_days = 14
max_recent_
max_total_
max_top_duration = 7
max_top_recent = 7
max_top_days_worked = 6
(empty task_list_url and specified recent_task_days enable the task list)
P.P.S.:
"recent_task_days" - how many (calendar) days to aggregate
"max_recent_
"max_total_
Tasks are filtered by three criteria, then merged to a single list.
You can limit max amount of tasks for each filter:
"max_top_duration" - tasks you spent most time working on
"max_top_recent" - tasks you worked on most recently
"max_top_
Unmerged revisions
- 178. By Justas Sadzevičius
-
Reload task list if gtimelogrc changed.
- 177. By Justas Sadzevičius
-
More filtering options.
- 176. By Justas Sadzevičius
-
Fast-and-dirty "recent" task list to pick from most recent, most worked on and most often worked on tasks.
I want something like this.
I'm not happy that it creates a new file, mirroring the information already loaded into memory from timelog.txt. Is that really necessary?
I'd like to make the sidebar capable of displaying multiple pieces of information. Tasks and Recent Tasks could be two alternatives, selectable from a dropdown that would replace the title label.
That's a lot of new settings. And I get the impression that a lot of them are 0 and therefore disable this feature. Can we get some reasonable defaults that make it work out of the box?