vonshednob / pter

Manage your todo.txt in a commandline user interface (TUI)
https://vonshednob.cc/pter/
MIT License
102 stars 6 forks source link

Easily set priority for selected task #16

Closed jerseyblue closed 2 years ago

jerseyblue commented 2 years ago

I frequently organize my list by changing the priority of tasks. Perhaps you can map keys to add/remove, increase or decrease the priority of a task. E.g., shift-A makes the task priority A. Overall I really like your tool. I've been a long time user of the Todo format for tracking tasks.

vonshednob commented 2 years ago

Glad you like it :)

I very much like the idea of being able to increase/decrease the priority of a task by shortcut! So far I had only considered to set the priority directly through shortcuts, but never implemented it. This is a good motivation.

jerseyblue commented 2 years ago

Happy to help in any way. My coding chops are a bit rusty but I can test etc.

vonshednob commented 2 years ago

pter’s code is also not the cleanest thing to work with, I’m afraid. As usual, needs clean-up anyway sigh

I’ll update this issue when there are things to test!

vonshednob commented 2 years ago

Righty, version 3.3.0 should solve this for you!

There are a few more shortcuts (and functions) to

But all of that should be documented, as usual, in the man page for pter.

Let me know if this is what you had in mind and/or if something else is wrong or missing!

nickfun commented 2 years ago

Ha, I was looking around for how to do this as well, nice to see it get worked on. I'm looking forward to the release of 3.3.0 :-) I don't see a branch with it, perhaps you only push to github on full release?

vonshednob commented 2 years ago

Whoops! Sorry for not communicating clearly! Version 3.3.0 is already released! Run

pip3 install -U pter

to update!

You can also run pter --check-for-updates to, well, check whether there are updates :)

@nickfun, thanks a lot for being ready to jump in! :+1: However, I should point out that the version of pter on github is only updated every now and then. The code is pypi is the leading source and the "truth" is sitting on my private gitolite server. I'm more than happy to receive patches though! (pull requests will work, too, for now, but are causing more work :sweat_smile: )

nickfun commented 2 years ago

Oh, thanks for clarifying. I'm used to github being the place for everything. I'm on 3.3.0 now and happy, thanks for this cool project 🚀

vonshednob commented 2 years ago

Glad you like it and thanks again for offering help! It's really appreciated!

jerseyblue commented 2 years ago

Thanks for being so responsive and adding this functionality! Works great.