-
-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modules/todo enhancements #1100
Conversation
Awesome! I’m on vacation right now but as soon as I’m back I’ll merge this in. |
Wonderful, hope you have a nice vacation :) |
Updated with one more configuration: can set the placement of checked items, so instead of shown at the end (this is still the default), you can use I find this really useful when you want to use the todo module as a quasi-Kanban board, I use checked items to indicate "in-progress", and want them to be shown (& moved to) the top of the list |
…settable in config)
…ecutes for selected/edited item\n\nsorting solution not ideal, as if the user changes dates.undatedAsDays setting, it will not automatically resort the whole list
switch settings.dateFormat { | ||
case "yyyy-mm-dd", "yy-mm-dd", "dd-mm-yyyy", "dd-mm-yy", "dd M yy", "dd M yyyy": | ||
default: | ||
settings.dateFormat = "yyyy-mm-dd" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only sensible date format :)
@tadeaspaule Some linting issues to resolve and there are a few commented-out debugging lines to remove. Once those are resolved, I'll merge this in. This is a great addition - thanks for improving this! |
OK, everything should be in order now hopefully :) ran
|
Hi,
I find the todo module to be really useful, but it was missing some functionality so added it here:
newPos
field (valid values "first" or "last")checkedPos
field (valid values "first", "last", "none")Also date functionality:
dates.undatedAsDays
setting)dates.enabled
(true by default)dates.format
setting (yyyy-mm-dd, yy-mm-dd, dd-mm-yy, dd-mm-yyyy, dd M yy, dd M yyyy)dates.hideYearIfCurrent
(true by default)dates.switchToInDaysIn
(default 7)