summaryrefslogtreecommitdiffstats
path: root/TODO.md
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-06-25 19:48:16 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-06-26 10:19:06 -0700
commit408660cb5d9a900921200d9cc43943e912f815e6 (patch)
tree4346ceec5f98b9b384033c2dbf6dceffc322775b /TODO.md
parentcea8ac496f97a36790bdbe3bbb3a87bf9c91a7f4 (diff)
Fix various small bugs
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
index bcead9b..3bfeec4 100644
--- a/TODO.md
+++ b/TODO.md
@@ -8,6 +8,9 @@
4. Refactor layout handling (see TODO on `tui::views::LayoutView::relayout`)
### bugs
+0. Another parser bug: some links return /questions/tagged/; need to make sure
+ we only select digits. Hello regex. (use test/duckduckgo/tagged.html to write
+ a new test).
1.
```
so --search-engine google --site stackoverflow --site askubuntu how to stop typing sudo
@@ -18,6 +21,9 @@ thread '<unnamed>' panicked at 'assertion failed: value_pos >= source_pos', /hom
```
So maybe the md parser should just build its own source for
SpannedString, and own everything...
+2. Searching site:meta.stackexchange.com also returns results from
+ math.meta.stackexchange.com; this will lead to requesting question IDs that
+ don't exist. Need to improve parser to account for this.
### feature ideas
- Add sort option, e.g. relevance|votes|date
@@ -25,6 +31,7 @@ SpannedString, and own everything...
- Maybe allow slimmer builds without TUI that only offer --lucky.
#### Endless improvements for the TUI
+1. Add Shift+TAB to cycle focus backwards (just add CirculularFocus wrapper)
3. Small text at bottom with '?' to bring up key mapping dialog
1. Init with smaller layout depending on initial screen size.
2. Maybe cli `--auto-resize` option that changes layouts at breakpoints.