Commit Graph

32 Commits (b69b51f558b21c1e6c90e8a8e23ef7707e526d45)

Author SHA1 Message Date
Andrew P Maney b69b51f558
Tasks: move "Show Completed" to a toolbar menu 2020-03-20 13:33:13 +02:00
Andrew P Maney 74ed60a3fb Tasks: hides Sidebar amount if value 0
Tasks: makes amount conditional more concise
2020-03-19 14:32:54 +02:00
Andrew P Maney 716240e266 Tasks: adds dueToday getter to TaskType
cleans up some code around filtering by due today
2020-03-18 22:08:13 +02:00
Andrew P Maney 9a7960556b Tasks: adds memoization to Sidebar 2020-03-18 22:04:21 +02:00
Andrew P Maney f3ba0b30ef Tasks: removes unnecessary comments 2020-03-18 21:35:50 +02:00
Andrew P Maney 8ba7709653 Tasks: moves Sidebar specific logic into Sidebar component
also adds amount to Due Today filter
2020-03-18 21:35:50 +02:00
Andrew P Maney 2980305beb Tasks: adds filter by Due Today 2020-03-18 21:35:50 +02:00
Andrew P Maney effd74e0b2 Tasks: adds filter by tag feature
Squash of #94
2020-03-17 13:25:01 +02:00
Tom Hacohen ec9d8d3329 Revert "Tasks: adds filter by tag feature"
Reverting because I'm not the author. The next commit will have the
right author set.

This reverts commit b14697474c.
2020-03-17 13:23:45 +02:00
Tom Hacohen b14697474c Tasks: adds filter by tag feature
Squash of #94
2020-03-17 13:17:22 +02:00
Andrew P Maney 9f618ab36c Tasks: changes margin units from px to em 2020-03-14 21:36:25 +02:00
Andrew P Maney c113c8b283 Tasks: displays tags on Task list items 2020-03-14 21:36:25 +02:00
Andrew P Maney fe8fbfdfd8 Tasks: adds tags 2020-03-14 21:36:25 +02:00
Andrew P Maney 93f06f81cd Tasks: moves misplaced const
a const was accidentally placed in the middle of imports,
that has been moved
2020-03-14 08:44:15 +02:00
Andrew P Maney f04212a1e6 Tasks: renames some vars from event to task
I assume this is just some cruft from a bad copy-paste
2020-03-13 21:51:08 +02:00
Tom Hacohen 8aa4af46f1 TaskEdit: fix crash when saving tasks with no status set. 2020-03-13 11:19:36 +02:00
Tom Hacohen 18967ddb16 TaskEdit: use null coalescing instead of ||.
It technically works because undefined happens to be falsey, but still bad
practice and can lead to errors (especially when copy-pasting).
2020-03-13 11:17:05 +02:00
Andrew P Maney 29d1e5cfe5 Tasks: adds mapPriority helper function
handles any possible issues with priorities that aren't 1, 5, or 9
2020-03-13 11:15:59 +02:00
Andrew P Maney bdd89fb533 Tasks: colors checkbox according to priority 2020-03-13 11:15:59 +02:00
Andrew P Maney 0436e9ccd0 Tasks: adds colored radio buttons
available as widget, they are being used for priority in Task Edit
2020-03-13 11:15:59 +02:00
Andrew P Maney add95621af Tasks: adds priority to Task type
with ability to edit in form
2020-03-13 11:15:59 +02:00
Andrew P Maney dc1b17f7f4 Tasks: adds secondary text displaying time until due 2020-03-12 11:02:42 +02:00
Tom Hacohen 8e1e3b8fe1 TaskListItem: change from anonymous to named function.
Other than the stylistic choice, this is also very useful for the react
dev tools, which show the component's name.
2020-03-12 10:19:16 +02:00
Andrew P Maney ad3958ae88 Tasks: adds checkbox to Task list item 2020-03-12 10:03:25 +02:00
Andrew P Maney 9e1c7ea8d5 Tasks: adds license 2020-03-11 11:27:51 +02:00
Andrew P Maney 632ec9cacf Pim: changes how onItemSave handles post-save action
onItemSave used to automatically "go back" after saving. New behavior is
onItemSave returns a promise that resolves to the history object. This object
can then be used to go back if needed. This allows for more granular control
over post-save actions.
2020-03-11 11:27:51 +02:00
Andrew P Maney b4ef6e641d Tasks: Quick Add feature
This is a merge of #84
2020-03-11 11:26:25 +02:00
Tom Hacohen c9aefdec4c Revert "Tasks: Quick Add feature"
Completely broken, had to revert it.

This reverts commit f5eb1932e8.
2020-03-09 19:57:59 +02:00
Tom Hacohen e75e1c5c5e Revert "Tasks: add license to files"
Depends on a completely broken piece of code.

This reverts commit 75f2b50a29.
2020-03-09 19:57:47 +02:00
Andrew P Maney 75f2b50a29 Tasks: add license to files 2020-03-09 19:30:55 +02:00
Andrew P Maney f5eb1932e8 Tasks: Quick Add feature 2020-03-09 19:30:55 +02:00
Andrew P Maney 5d54ab4563 Tasks: reorganizes Tasks components into their own subfolder 2020-03-09 19:27:55 +02:00