Commit Graph

270 Commits

Author SHA1 Message Date
xeruf 039c390c66 fix(tasks): re-filter when reducing view depth 2024-08-29 12:02:13 +03:00
xeruf b974957bc9 fix: do not set view depth when searching 2024-08-29 11:54:53 +03:00
xeruf dd5aaf71d2 feat: enable moving back through history with & 2024-08-29 11:50:34 +03:00
xeruf c5a2872534 feat: enable setting specific state with label 2024-08-29 11:06:56 +03:00
xeruf 1a1f23007b feat: filter tasks by state change time 2024-08-28 21:56:15 +03:00
xeruf 9eaf10006b fix(tasks): avoid timestamp conflicts 2024-08-28 09:16:38 +03:00
xeruf 6492a22cc9 fix: dim path separators 2024-08-28 09:16:38 +03:00
xeruf 13dac88ded fix: more consistent time-tracking history 2024-08-28 09:16:35 +03:00
xeruf 1263e39fb3 fix: parse date without numbers as day start 2024-08-27 12:02:45 +03:00
xeruf 714d4a4d5b fix(tasks): only enter a perfect global match that is not closed 2024-08-27 12:02:45 +03:00
xeruf 1d7d3eea74 feat(main): automatic readline history 2024-08-27 12:02:45 +03:00
xeruf 3cab294122 feat(tasks): prevent accidental redundant time-tracking 2024-08-27 12:02:45 +03:00
xeruf 01305c5a78 feat: more adaptive tag filtering
Make tag exclusions more persistent
2024-08-27 12:02:45 +03:00
xeruf 14a1cbe09c refactor: code cleanup with clippy 2024-08-27 12:02:45 +03:00
xeruf 533378b24d feat(tasks): allow jumping to task anywhere by exact name match 2024-08-27 12:02:40 +03:00
xeruf a0f5d62c81 fix: more intuitive feedback when stopping timetracking 2024-08-25 14:28:23 +03:00
xeruf 84e46827ce fix(tasks): temporary improved author formatting 2024-08-25 11:17:55 +03:00
xeruf 3c93e0aae7 feat: character threshold for creating notes 2024-08-25 11:17:26 +03:00
xeruf c3d18e4494 fix(tasks): properly determine last tracking of current task 2024-08-25 10:50:24 +03:00
xeruf 75a5f27843 feat(main): allow creating multiple task at once with newlines 2024-08-24 21:01:07 +03:00
xeruf 58126ba6e7 feat(main): migrate to current rustyline version 2024-08-24 20:57:07 +03:00
xeruf 9f14a0f3f9 feat: parse plain hour when adjusting tracking 2024-08-22 11:13:35 +03:00
xeruf f240413e2a style: various small cleanups 2024-08-21 12:31:29 +03:00
xeruf 999068bdd9 fix(main): pass own username to Tasks object 2024-08-21 12:30:13 +03:00
xeruf f7f4bdc4f3 refactor(main): merge local_tasks into relays map 2024-08-21 12:22:47 +03:00
xeruf ed1f482707 feat: revamp timestamp formatting helpers 2024-08-21 11:57:28 +03:00
xeruf 3dca6a4b23 fix(main): safer key persistence 2024-08-21 11:52:07 +03:00
xeruf 17b3334aea fix: prompt via readline 2024-08-21 11:05:43 +03:00
xeruf 77ba311bab feat(main): neatly interpret plain hour in date filter 2024-08-21 10:14:01 +03:00
xeruf 9da41db427 feat(main): implement readline functionality with rustylinez
Including background log output
2024-08-20 22:40:16 +03:00
xeruf a67bd384ec fix(tasks): creation position in filter_or_create 2024-08-20 21:42:05 +03:00
xeruf ace365de38 fix(main): enhance Result warnings macro with string interpolation 2024-08-20 21:16:01 +03:00
xeruf 07bba314ec fix(main): print Result warnings via macro 2024-08-20 20:41:41 +03:00
xeruf 126bd8cf81 fix: move from std::sync fully to tokio
Fixes Relay adding

Closes https://github.com/rust-nostr/nostr/issues/533
2024-08-20 14:29:09 +03:00
xeruf b5b2ea9b71 fix(main): client communication ordering 2024-08-20 14:18:37 +03:00
xeruf f98486f012 docs: small updates 2024-08-20 13:51:23 +03:00
xeruf ada3492487 feat: upgrade to nostr sdk 0.34 2024-08-20 13:00:36 +03:00
xeruf efc0061390 feat(main): rudimentary filter by date or author 2024-08-19 22:16:19 +03:00
xeruf 1b0f7dca09 fix(main): more intuitive behavior when stopping tracking with stamp 2024-08-19 21:55:44 +03:00
xeruf f4cff3d702 feat: use author name consistently 2024-08-19 21:41:45 +03:00
xeruf f8a4777f71 feat(kinds): more accurate tag formatting 2024-08-19 21:25:59 +03:00
xeruf 0296556bcd fix(main): fetch task kinds before updates 2024-08-19 21:25:20 +03:00
xeruf c64a1fa051 feat(tasks): add task author to default columns 2024-08-19 21:21:31 +03:00
xeruf 721c200b97 fix(tasks): hide duplicates again in personal time-tracking history 2024-08-19 17:35:26 +03:00
xeruf 3b9fedd9a3 feat(tasks): display details on task without subtasks 2024-08-19 17:30:05 +03:00
xeruf 12b7c909ab feat(tasks): track depth in ChildIterator 2024-08-19 16:52:19 +03:00
xeruf 5bc3509930 refactor: provide position ref and cloned 2024-08-19 16:36:06 +03:00
xeruf 629db66018 fix(tasks): properly find current position when futures are involved 2024-08-19 13:59:37 +03:00
xeruf e0d241ec5a fix(tasks): undo tracking with history-based position 2024-08-19 13:56:28 +03:00
xeruf 506a73060a fix(tasks): properly process movement with history-based position 2024-08-19 13:47:27 +03:00
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