aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-24 14:42:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-24 14:42:04 -0300
commita098fddfad9835544a4b4dd70669c1bc1afd049e (patch)
tree53767ea59b9d0b97d326f9685ddc98356acb36e2
parent7b0dae80d1562d3df908d3604f653ee7f13d89c3 (diff)
downloadfinder-a098fddfad9835544a4b4dd70669c1bc1afd049e.tar.gz
finder-a098fddfad9835544a4b4dd70669c1bc1afd049e.tar.bz2
TODO: update
-rw-r--r--TODO.md8
-rw-r--r--packages/finder/main.py1
-rw-r--r--packages/finder/plugin/searcher/file/name.py1
3 files changed, 8 insertions, 2 deletions
diff --git a/TODO.md b/TODO.md
index 0530be4..bdbf21c 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,5 +1,12 @@
# TODO
+## Improvements
+
+* [ ] Abstract/generalize plugin load logic.
+* [ ] `FinderPluginFileNameSearcher.setPath`: check if path exists.
+* [ ] `FinderPluginFileXdgOpener.open`: check if file actually exists (and if
+ it's not a dead symbolic link etc).
+
## UX
* [ ] Results using a select box instead of a text buffer?
@@ -45,6 +52,7 @@
* [ ] Search processing regexps or not (`text` or `re.escape(text)`).
* [ ] Sorting criteria.
* [ ] Whether to list folders (and not just files).
+ * [ ] Follow/unfollow symlinks.
* [ ] Non-toggles:
* [ ] Refresh interval.
* [ ] Terminal size polling interval.
diff --git a/packages/finder/main.py b/packages/finder/main.py
index 949b847..40a97a3 100644
--- a/packages/finder/main.py
+++ b/packages/finder/main.py
@@ -169,7 +169,6 @@ class FinderMain():
)
async def load(self):
- # TODO: logic should be abstracted/generalized
from .plugin.searcher.file.name import FinderPluginFileNameSearcher
from .plugin.opener.file.xdg import FinderPluginFileXdgOpener
diff --git a/packages/finder/plugin/searcher/file/name.py b/packages/finder/plugin/searcher/file/name.py
index b9c631c..4388a70 100644
--- a/packages/finder/plugin/searcher/file/name.py
+++ b/packages/finder/plugin/searcher/file/name.py
@@ -22,7 +22,6 @@ import os
import re
class FinderPluginFileNameSearcher():
- # TODO: check if path exists
def __init__(self, path):
self.setPath(path)
self.items = []