ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.37k stars 105 forks source link

Separate sorting rules by file #556

Open swantzter opened 11 months ago

swantzter commented 11 months ago

Feature Request

Description: I work with a system of two todo.txt files: todo.txt and detailed-todo.txt. My todo.txt contains somewhat more high-level tasks sorted by priority and generally has 1-3 tasks at A priority at a time - those I'm currently working on. My detailed-todo.txt then has smaller tasks for those "A" priority tasks in case it grew larger than anticipated, and I would much rather have those sorted/grouped by project. However, if I change the sorting order in sleek today it changes globally for all files.

Implementation Details: I'd envision this could be done in a couple different ways, it seems todotxt/todo.txt#1 on adding comments to the file format, which would allow something like a vim modeline, has stalled. Some clients (as seen in the referenced issue) has implemented support for comments with # anyway.

A more compliant alternative would probably be to store in sleek a mapping from filepath => sorting+filters config.

I would also envision that you'd maybe add a "override defaults for this file" toggle, so by default changing sorting order and filters would be global. But enabling that switch would create a per-file config that applies to only the current file. And switching it off would reset it to the globals (likely by removing the override filename=>settings mapping in storage)

github-actions[bot] commented 8 months ago

This is an automated response. We acknowledge your report, and we appreciate your engagement. However, as there has been no recent activity in this thread, it has been marked as stale. If you have any further feedback or if the matter is still relevant, please do not hesitate to respond. Otherwise, this thread will be automatically closed in 15 days from now.