This repository has been archived on 2022-05-13. You can view files and clone it, but cannot push or open issues or pull requests.
chronometrist/TODO.org

25 lines
1.8 KiB
Org Mode
Raw Normal View History

2019-08-09 02:05:47 +00:00
1. [-] Move time operations into a chronometrist-time file
2. -report - highlight the current day
2019-08-04 19:20:13 +00:00
2019-08-09 18:06:48 +00:00
* Chronometrist
1. don't suggest nil when asking for first project on first run
2. use variables instead of hardcoded numbers to determine spacing
3. refactor repetitive calls to (format "%04d-%02d-%02d" (elt seq a) (elt seq b) (elt seq c))
4. when starting a project with time of "-" (i.e. not worked on today until now), immediately set time to 0 instead of waiting for the first timer refresh
5. Mouse commands should work only on buttons.
6. Button actions should accept prefix arguments and behave exactly like their keyboard counterparts.
7. mouse-3 should clock-out without asking for reason.
8. Some way to ask for the reason just before starting a project. Even when clocking out, the reason is asked _before_ clocking out,which adds time to the project.
9. Timeclock already _has_ hooks! :| Why do we re-implement them?
- I don't know of a way to know the project being clocked into using timeclock hooks.
2019-08-11 12:51:27 +00:00
- With v0.2.0 Chronometrist also has a before-project-stop-functions, which runs before the project is stopped, and can control whether the project actually is stopped.
2019-08-09 18:06:48 +00:00
10. Optimization. ~chronometrist-refresh~ is expensive in CPU, and ~chronometrist-timer~ runs it every 3 seconds by default. :\
Ideas -
* Support multiple files, so we read and process lesser data when one of them changes.
* Make file writing async
* Don't refresh from file when clocking in.
* Only write to the file when Emacs is idle or being killed, and store data in memory (in the events hash table) in the meantime
11. Use buttercup instead of ert
12. See if it is possible to store buttons in a variable, so *-print-non-tabular functions can be made shorter and less imperative. (see ~make-text-button~)