vladimirmarkelov / todo_lib Goto Github PK
View Code? Open in Web Editor NEWCollection of utilities for todo.txt format
License: MIT License
Collection of utilities for todo.txt format
License: MIT License
Now there is no way to show archived todos (except setting done.txt it as todo.txt file). It would be good to add an option to load done.txt instead of todo.txt and disable all edit features.
Add support for threshold date. It exists in todo-txt library but is not exposed in todo_lib. Should work in the same way as due date does
Allow a user to track time spent for a todo
It seems that the library does not fully comply with the todo.txt format when a task is completed.
It does implement Rule 1:
A task is complete if it starts with an x (case-sensitive and lowercase) followed directly by a space.
But it does not respect Rule 2, regarding the position of the completion date and the handling of priority for completed tasks.
(A) 2023-08-20 Test #ex_1
x (A) 2023-08-20 2023-08-20 Test #ex_2
x 2023-08-20 2023-08-20 Test #ex_3
x 2023-08-20 2023-08-20 pri:A Test #ex_4
x 2023-08-20 2023-08-20 (A) Test #ex_5
Currently a pending task (ex_1
) is completed by just appending x
(ex_2
), whereas the format seems to expect the completion and creation dates to follow the completion flags, with the priority either deleted (ex_3
) or transformed in a key:value (ex_4
). Some apps also support just reordering the priority (ex_5
).
ttdl is my favourite command line tool for todo.txt (thanks!), but this issue makes files not interoperable with other tools, in particular on surfaces where ttdl is less practical, like mobile phones (e.g. SwiftoDo).
Ideally:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.