Skip to content
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

Feature proposal: savable filters #106

Closed
wants to merge 1 commit into from
Closed

Feature proposal: savable filters #106

wants to merge 1 commit into from

Conversation

freder
Copy link

@freder freder commented Apr 25, 2021

I think it would be handy to be able to save filters. this PR is just a quick and dirty proof-of-concept. I haven't checked where sleek stores the user config but I would imagine the saved filters could live in a json file next to the actual todo.txt file.

@ransome1
Copy link
Owner

Hi @freder , thanks for the PR, really appreciate it.

I havn't had the chance to check what exactly is done in your code, so I'm just refereing to the PRs title. Filter (contexts, projects, priorities) are already being persisted in the user configuration (/home/$USER/.config/sleek/user-preferences.json). So if you select one the filters and close sleek, your selected filter should still apply when you reopen sleek. If this doesnt happen on your side, you might have found a bug and I would be looking forward to a bug report.

Anyhow I just double checked the latest release and it doesn't seem broken. But maybe I'm misreading your proposal.

@freder
Copy link
Author

freder commented Apr 25, 2021

sorry, I should have described in more detail:

sleek

basically, I want to be able to save different sets of filter configurations. – similar to "perspectives" in omnifocus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants