Commit Graph

270 Commits

Author SHA1 Message Date
xeruf ebfe632497 feat(tasks): derive position from history 2024-08-19 13:06:20 +03:00
xeruf a4f9398846 fix: simplify tracking functions
Pruning the local history is not worth it.
2024-08-19 11:45:12 +03:00
xeruf 416a7f195d feat: format visible time tracking history 2024-08-19 11:27:12 +03:00
xeruf f8375cf879 refactor(task): state kind numbers as enum values 2024-08-18 22:47:19 +03:00
xeruf 8bf305d4d4 fix: only show default state for proper tasks 2024-08-18 22:43:14 +03:00
xeruf eaeeebca7b feat: add notes as stateless tasks 2024-08-18 22:37:02 +03:00
xeruf 2255abc1b8 docs: unify property columns documentation 2024-08-18 21:54:48 +03:00
xeruf 19d0fbb8fc feat(task): expose remaining relevant event properties 2024-08-18 21:38:20 +03:00
xeruf 903536bd3b docs: some helpful comments 2024-08-18 21:37:39 +03:00
xeruf 86654c8348 feat: show named task authors 2024-08-18 21:33:32 +03:00
xeruf d88cae4273 feat(main): enable filtering by author 2024-08-16 21:58:38 +03:00
xeruf 9ad1243078 fix(main): better messages for background thread operations 2024-08-16 17:46:04 +03:00
xeruf 2fac3fd8f8 refactor(tasks): resolve recursive tasks without intermediate collections 2024-08-16 09:45:35 +03:00
xeruf 34540370c3 refactor(main): small cleanups 2024-08-15 15:50:58 +03:00
xeruf 43278a6631 feat(tasks): interpret plain numbers as minutes and strip prefixes 2024-08-15 13:22:16 +03:00
xeruf 9c0a688297 fix(tasks): prevent tracking invalid times 2024-08-15 13:12:42 +03:00
xeruf fcd5e9c0c9 feat(tasks): employ time parsing libraries for tracking offsets 2024-08-15 12:21:32 +03:00
xeruf 3e056eb2b6 feat: feedback when filter does not match 2024-08-15 10:33:52 +03:00
xeruf 930c6b9c38 fix: improve task filtering, especially with slash
- smart case
- substring match
- less movement needed
2024-08-15 10:33:06 +03:00
xeruf c93b2f2d91 feat(main): enhance prompt formatting 2024-08-15 09:31:49 +03:00
xeruf 0253b00c61 feat(tasks): display tracking since for current task 2024-08-14 22:12:43 +03:00
xeruf 957422f767 feat: localize nostr Timestamps consistently 2024-08-14 21:49:36 +03:00
xeruf 3eefbad6d5 feat: allow setting multiple tag filters at once 2024-08-14 19:42:58 +03:00
xeruf b544616801 test(tasks): small rearrangements 2024-08-14 16:00:03 +03:00
xeruf 1e0cc319b8 docs: expand Readme and adjust code comments 2024-08-14 15:59:43 +03:00
xeruf 8588fb9a04 refactor(main): improved debug output 2024-08-14 15:57:05 +03:00
xeruf bbfbb2d8b0 fix(main): better feedback on url parse error 2024-08-14 15:40:15 +03:00
xeruf f5aca3eca8 fix(main): better feedback after adjusting timetracking 2024-08-14 15:36:54 +03:00
xeruf be582cb536 fix(main): revamp prompt formatting 2024-08-14 15:33:50 +03:00
xeruf 68d5c101e9 feat(main): enable switching to new relay while running 2024-08-14 15:32:42 +03:00
xeruf 45b8f9cf0f feat(main): define MostrMessage type for inter-thread channel 2024-08-13 21:40:23 +03:00
xeruf ae4d315d87 fix: small sorting adjustment 2024-08-13 21:40:01 +03:00
xeruf 66af6af0ab fix(main): do not superfluously move in place 2024-08-13 21:40:01 +03:00
xeruf a059ff1c3e refactor(main): define timeout delays as constants 2024-08-13 21:39:47 +03:00
xeruf 6cb2d47a8d feat(main): advanced logger instantiation 2024-08-13 21:27:26 +03:00
xeruf 6d4666c12d feat(tasks): improve visible tasks summary 2024-08-13 11:59:57 +03:00
xeruf c67ef3b119 feat(main): batch up messages for relays 2024-08-13 11:54:14 +03:00
xeruf 619bcfbbad feat(tasks): generate tree from iterator 2024-08-12 23:08:06 +03:00
xeruf 85b923edc8 feat: enable creating dependent sibling task 2024-08-12 23:06:49 +03:00
xeruf 9f84fd7ef1 refactor(tasks): find task tree as references 2024-08-12 12:17:03 +03:00
xeruf 67a19d61f2 feat(tasks): implement fallback for finding task children 2024-08-12 12:09:46 +03:00
xeruf 8f3552aeba feat: move up after setting state manually 2024-08-12 11:57:21 +03:00
xeruf b3d70ab0b7 feat(tasks): enable excluding tags from view 2024-08-11 12:28:08 +03:00
xeruf c83d8a2f55 feat(tasks): option to fully set sorting 2024-08-11 12:05:29 +03:00
xeruf a7d02e60b2 feat(tasks): make sorting by property customizable 2024-08-11 10:58:34 +03:00
xeruf 55792ca34f feat(tasks): sorting by property 2024-08-11 10:01:46 +03:00
xeruf dda969e08b feat: integrate progress and dependencies into state property 2024-08-10 21:27:47 +03:00
xeruf dcf333353b fix(tasks): ignore future stamps in time-tracking summation 2024-08-10 21:27:47 +03:00
xeruf 15bd21059d fix: show currently running timetracking for task 2024-08-10 21:27:47 +03:00
xeruf 9fbe3e27cb feat: implement task stopping shortcut 2024-08-10 21:27:41 +03:00
xeruf 06bfe8e18a fix(task): properly parse str into State 2024-08-10 18:16:29 +03:00
xeruf b74ac18e39 style: reformat and remove leftover debug print 2024-08-10 18:14:19 +03:00
xeruf ae2172c8f2 feat(main): properly apply input trimming 2024-08-10 18:11:42 +03:00
xeruf b03ad00b6a feat: quick filter for all task states 2024-08-10 15:44:52 +03:00
xeruf ff74ac216b feat(task): colorize state property 2024-08-10 15:14:09 +03:00
xeruf c48355e5da feat(task): parse dependees 2024-08-09 20:53:30 +03:00
xeruf 7a8a048d6c feat: add procedures for dependency lists 2024-08-08 21:10:17 +03:00
xeruf c492d64d9e style: align command match branches 2024-08-08 18:16:25 +03:00
xeruf b62ec6fd39 feat: summarize time tracked on visible tasks 2024-08-08 15:14:04 +03:00
xeruf 43c62bf742 feat: list existing tracked times 2024-08-08 15:09:39 +03:00
xeruf 79b42b8df0 style: reformat code 2024-08-08 13:52:02 +03:00
xeruf a3a732879f feat(tasks): don't create tasks from typos 2024-08-08 13:04:52 +03:00
xeruf 6b7b6b91a8 feat: hashtag list and quick filter override 2024-08-08 13:04:22 +03:00
xeruf 08b0ba48a3 feat: properly handle commands without argument 2024-08-08 00:18:34 +03:00
xeruf 4180533844 fix(tasks): apply state to new tasks 2024-08-07 23:59:05 +03:00
xeruf fca9b1492b fix(tasks): recursive time tracked format string 2024-08-07 15:04:57 +03:00
xeruf 50ac994d21 docs: slight additions to readme and code comments 2024-08-07 15:04:18 +03:00
xeruf 65207a1de2 feat: allow switching between initial relays 2024-08-07 15:03:29 +03:00
xeruf 6932e1f257 feat: hide Tasks attributes for feedback logs and make column interaction 1-indexed 2024-08-07 00:06:09 +03:00
xeruf b66089fc94 refactor: create helpers file 2024-08-06 23:01:59 +03:00
xeruf f4f1b56f02 feat: info feedback on what you are doing 2024-08-06 22:54:22 +03:00
xeruf b5b57b7ac9 fix: flush after backtrack 2024-08-06 17:57:01 +03:00
xeruf db4f9ee8cb fix(tasks): test time-tracking including automatic back-tracking 2024-08-06 17:52:31 +03:00
xeruf d950c13098 feat: migrate to nostr-sdk 0.33 2024-08-06 11:34:18 +03:00
xeruf a2505e94fb feat: allow timetracking with date specifier 2024-08-02 20:40:42 +03:00
xeruf 8c2c279238 refactor: put kinds and helpers in own module 2024-08-02 14:44:47 +03:00
xeruf aa468f80c5 test(tasks): separate test cases 2024-08-02 14:31:28 +03:00
xeruf 55d856c75d feat: info message on task creation 2024-08-02 14:31:00 +03:00
xeruf e16e21a477 feat(main): collapse more time tracking events through soft flushing 2024-08-02 14:30:06 +03:00
xeruf 9619435c03 fix(tasks): time display format replacements 2024-08-02 11:13:36 +03:00
xeruf bf802e3195 feat: filter with slash 2024-08-01 21:40:15 +03:00
xeruf 03f9e60c6f feat: activate perfect match and filter without dot 2024-08-01 21:11:33 +03:00
xeruf 5b05c53947 fix: task progress percentage 2024-08-01 20:40:55 +03:00
xeruf 7f34a888f3 feat: make tags sticky and allow manual removal 2024-08-01 20:12:04 +03:00
xeruf 256c86e06f fix: move text notes to comma key 2024-08-01 20:04:56 +03:00
xeruf a9509fd4f2 feat: fold repeated time tracking events 2024-08-01 20:00:45 +03:00
xeruf 36fe58d3f3 fix(tasks): time tracking within current session 2024-08-01 19:48:05 +03:00
xeruf 14dcc8f0ff fix(tasks): comment persistence 2024-08-01 19:18:46 +03:00
xeruf 486cbb1ab4 feat: undo function with @ 2024-08-01 19:10:58 +03:00
xeruf afd6f2f77a style: reformat 2024-07-31 20:08:33 +03:00
xeruf 03263840ac fix(tasks): no decimal point for progress percentage 2024-07-31 20:07:20 +03:00
xeruf 5c7793f4a3 feat: revamp time tracking with own kind 2024-07-31 20:07:16 +03:00
xeruf e5953c63b4 fix: list properties instead of adding blank column 2024-07-30 21:21:16 +03:00
xeruf 74464241ec docs: explain implemented and planned concepts 2024-07-30 21:18:11 +03:00
xeruf 3652f0d39f refactor: state-kind conversion 2024-07-30 20:25:27 +03:00
xeruf 320575e9c3 refactor: reformat and inline hints 2024-07-30 17:13:29 +03:00
xeruf c848a4797c feat: implement recursive task progress and subtask completion count 2024-07-30 17:11:43 +03:00
xeruf 50cc8de6a2 feat: hide time if empty 2024-07-30 09:37:12 +03:00
xeruf fbbdd5eef8 feat: separate description specifiers 2024-07-30 09:09:54 +03:00
xeruf f89615d8e4 style: reformat code 2024-07-30 09:03:55 +03:00
xeruf b519d459db feat: nicely format current task information 2024-07-30 09:00:39 +03:00
xeruf f8f0cf7570 feat(tasks): print info on currently selected task 2024-07-30 08:23:32 +03:00
xeruf 18fca1d0f3 release: 0.2.0 2024-07-29 23:19:06 +03:00
xeruf e7bfc720db fix(tasks): relative path last parent 2024-07-29 21:27:50 +03:00
xeruf eb5117e21f feat: proper logging 2024-07-29 21:06:23 +03:00
xeruf 8d2cf29b83 fix(tasks): properly handle whitespace in task creation 2024-07-29 16:20:43 +03:00
xeruf 1824de8d69 refactor(task): cache parent id 2024-07-29 16:13:40 +03:00
xeruf 66fc702538 fix(task): omit duplicated state name 2024-07-29 14:17:05 +03:00
xeruf 1251f54789 fix(task): omit tags referencing events in property getter 2024-07-29 14:13:32 +03:00
xeruf eb7e571f1e fix(task): update tracked time while task is active 2024-07-29 14:01:33 +03:00
xeruf cdd6981bf6 feat(main): fallback to case-insensitive filter 2024-07-29 13:37:05 +03:00
xeruf e255ce0676 feat: correctly display path for unnamed and unknown tasks 2024-07-29 13:32:47 +03:00
xeruf 98d921b941 feat(main): enable manual state updates 2024-07-29 13:28:39 +03:00
xeruf 8e7b8d3e66 fix(main): prevent overrunning string index on column edits 2024-07-29 09:59:17 +03:00
xeruf b71916c905 feat(task): match state filter case-insensitively 2024-07-29 09:43:13 +03:00
xeruf 5d6b2a2dcb feat(main): trim input strings 2024-07-29 09:32:10 +03:00
xeruf 5723151cfb feat: properly format tracked time 2024-07-29 09:19:23 +03:00
xeruf 1b361355b0 feat(main): relay override by environment variable 2024-07-27 22:40:52 +03:00
xeruf 93718aaf1e feat(main): interactively save and persist keys and relays 2024-07-27 21:49:04 +03:00
xeruf 0db7b648c4 fix: update default columns 2024-07-26 21:50:55 +03:00
xeruf d511e9ca49 feat: enable filtering by state 2024-07-26 21:50:48 +03:00
xeruf 54e870a93a feat(task): more accessors and modifiers 2024-07-26 21:15:50 +03:00
xeruf c2f1f54170 feat(main): dynamically specify relays 2024-07-26 12:58:20 +03:00
xeruf 867ba917c0 refactor(task): return descriptions as references 2024-07-26 12:38:27 +03:00
xeruf 79c3174f4f feat: enable state filtering 2024-07-26 11:07:47 +03:00
xeruf fd94de7149 feat: tags property column 2024-07-25 22:50:57 +03:00
xeruf ce7e015b02 feat: activating tags 2024-07-25 22:40:35 +03:00
xeruf ed5e4d97d7 style: reorder tasks methods logically 2024-07-25 22:10:01 +03:00
xeruf 81f226fa43 style: reformat all code 2024-07-25 22:09:24 +03:00
xeruf 0c90086833 feat: text notes as descriptions 2024-07-25 10:54:18 +03:00
xeruf a1a94f402d feat: add relative path property 2024-07-25 00:52:03 +03:00
xeruf 6ed2299ee0 feat: enable setting view depth 2024-07-25 00:26:29 +03:00
xeruf 87cdecbeee feat: allow removing property column by index 2024-07-25 00:15:20 +03:00
xeruf 860c3080b2 feat: toggle for recursive task view 2024-07-24 21:11:36 +03:00
xeruf ad65388979 style: slight stdout phrasing improvement 2024-07-24 19:11:08 +03:00
xeruf f3110564cd feat: separate output columns by tabulator 2024-07-24 16:14:19 +03:00
xeruf b30994c151 feat: live updates via mpsc 2024-07-24 16:12:57 +03:00
xeruf 27324f8601 feat: key persistence and EventSender 2024-07-24 15:47:24 +03:00
xeruf 72af6bfd61 feat: enable removing column by index 2024-07-23 23:04:55 +03:00
xeruf ab28cf4fd7 feat: return Event from task state updates 2024-07-23 13:45:25 +03:00
xeruf a3f342d80a refactor: inline repl function 2024-07-23 13:28:57 +03:00
xeruf 9a2f3f8794 refactor: reformat 2024-07-19 21:06:03 +03:00
xeruf 1ea34898d1 feat: fetch new events in session 2024-07-19 21:04:21 +03:00
xeruf 3a444c3ac2 fix: automatically stop task tracking on close 2024-07-19 19:57:32 +03:00
xeruf c8463e6924 feat: properly load tasks from relay 2024-07-19 16:49:23 +03:00
xeruf 026915f870 feat: evaluate time tracked recursively 2024-07-19 09:44:12 +03:00
xeruf 44ea79bc81 feat: intuitive name navigation and filtering 2024-07-19 09:35:03 +03:00
xeruf 04ff65737a feat: task time column 2024-07-19 09:34:19 +03:00
xeruf 91e04f2c16 feat: task path column 2024-07-19 01:29:36 +03:00
xeruf 2dbfecc4c5 refactor: refactor task structs into own file 2024-07-19 01:23:25 +03:00