jeel-shah / todo-wrangler Goto Github PK
View Code? Open in Web Editor NEWAn obsidian plugin to wrangle your Todos and put them in their place.
Home Page: https://jeelshah.com/master-your-productivity-with-todo-wrangler/
License: MIT License
An obsidian plugin to wrangle your Todos and put them in their place.
Home Page: https://jeelshah.com/master-your-productivity-with-todo-wrangler/
License: MIT License
We need to have test cases so that the plugin continues to stay robust as we add more features.
Objective: Verify that the plugin recognizes tasks marked with the default keyword "TODO".
Preconditions: The plugin is installed and activated with default settings.
Input:
TODO Hello
Expected Output:
### TODOs
TODO Hello
Input:
- [x] TODO Bye
Expected Output:
### TODOs
- [x] TODO Bye
Input:
- [ ] TODO Bye
Expected Output:
### TODOs
- [ ] TODO Bye
Objective: Verify that the plugin recognizes tasks marked with a custom keyword set in the plugin settings.
Preconditions: The plugin is installed, activated, and the user has set a custom keyword in the settings (e.g., "DONE").
The above inputs/outputs should also work with the custom keyword.
- TODO Hello World
- TODO Hi there
- TODO Hello
Hi @Jeel-Shah
We have noticed that the latest release of your plugin cannot be installed currently.
This is due to the following reasons:
manifest.json
in latest releaseWe will remove this plugin from the community plugins if this issue is not fixed within 30 days.
Currently, lines starting with "TODO" or "- [] TODO" or "- TODO" will get consolidated.
However proper markdown code for a checkbox includes a whitespace between the brackets. But this is not consolidated.
Obsidian only renders a checkbox when done this way - [ ]
. It will not render - []
into a checkbox because of the missing whitespace.
So my question would be: would it be possible to add - [ ] TODO
to the list of "to be consolidated TODO lines"?
Presently, the Wrangler will only move pre-defined keywords which fit into the following cases:
- [] keyword
keyword
[] keyword
Generally, the Regex is '^-?\\s*(\\[x?\\])?\\s*' + keyword
.
However, we also need to include :
so it's quite common to have a colon right after the keyword.
:
in their keyword:
in the settingsAs a user, I would like to wrangle TODOs at the top of the file so that I can quickly see the relevant TODOs when I see my note.
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.