td-task 0.2.2__tar.gz → 0.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {td_task-0.2.2 → td_task-0.2.4}/PKG-INFO +8 -1
- {td_task-0.2.2 → td_task-0.2.4}/README.md +7 -0
- {td_task-0.2.2 → td_task-0.2.4}/pyproject.toml +1 -1
- {td_task-0.2.2 → td_task-0.2.4}/src/td/CHANGELOG.md +9 -0
- {td_task-0.2.2 → td_task-0.2.4}/src/td/terminal.py +4 -0
- {td_task-0.2.2 → td_task-0.2.4}/src/td/tui.py +514 -63
- {td_task-0.2.2 → td_task-0.2.4}/tests/test_tui_notes.py +212 -0
- {td_task-0.2.2 → td_task-0.2.4}/uv.lock +1 -1
- {td_task-0.2.2 → td_task-0.2.4}/.env.enc +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/.github/workflows/publish.yml +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/.gitignore +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/.python-version +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/assets/demo.gif +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/demo.tape +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/src/td/__init__.py +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/src/td/__main__.py +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/src/td/db.py +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/tests/test_cli_notes.py +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/tests/test_notes.py +0 -0
- {td_task-0.2.2 → td_task-0.2.4}/tests/test_update.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: td-task
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: Fast TUI and CLI manager for tasks and Markdown notes
|
|
5
5
|
Requires-Python: >=3.14
|
|
6
6
|
Requires-Dist: cryptography>=42.0.0
|
|
@@ -123,7 +123,9 @@ td notes delete 12 --json
|
|
|
123
123
|
| `s` | Star task (pin to top, bold yellow) |
|
|
124
124
|
| `c` | Archive all completed tasks |
|
|
125
125
|
| `y` | Copy task list to clipboard |
|
|
126
|
+
| `f` | Filter notes by title in current list; submit empty query to clear |
|
|
126
127
|
| `↑` / `k` `↓` / `j` | Navigate tasks |
|
|
128
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
127
129
|
| `Ctrl+↑` / `Ctrl+↓` | Reorder task position |
|
|
128
130
|
| `Alt+↑` / `Alt+↓` | Duplicate task above / below |
|
|
129
131
|
| `←` / `→` | Switch to previous / next list |
|
|
@@ -145,6 +147,7 @@ td notes delete 12 --json
|
|
|
145
147
|
| `Cmd+Backspace` on macOS / `Ctrl+Backspace` elsewhere | Clear current line |
|
|
146
148
|
| `Tab` / `Shift+Tab` | Indent or outdent current line |
|
|
147
149
|
| Arrow keys / `Home` / `End` | Move cursor |
|
|
150
|
+
| `PageUp` / `PageDown` | Move one wrapped viewport |
|
|
148
151
|
| `Backspace` / `Delete` | Delete text or join lines |
|
|
149
152
|
|
|
150
153
|
The active line shows raw Markdown. Other lines show a live preview. The editor
|
|
@@ -165,6 +168,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
|
|
|
165
168
|
| `d` | Delete list (with all its tasks) |
|
|
166
169
|
| `Shift+↑` / `Shift+↓` | Reorder list position |
|
|
167
170
|
| `↑` / `k` `↓` / `j` | Navigate lists |
|
|
171
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
168
172
|
| `q` / `Esc` | Quit |
|
|
169
173
|
|
|
170
174
|
### Archived Lists
|
|
@@ -174,6 +178,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
|
|
|
174
178
|
| `Enter` / `r` | Restore highlighted list |
|
|
175
179
|
| `d` | Permanently delete highlighted list and its items |
|
|
176
180
|
| `↑` / `k` `↓` / `j` | Navigate archived lists |
|
|
181
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
177
182
|
| `q` / `Esc` | Return to active lists |
|
|
178
183
|
|
|
179
184
|
### Archive
|
|
@@ -181,6 +186,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
|
|
|
181
186
|
| Key | Action |
|
|
182
187
|
|-----|--------|
|
|
183
188
|
| `↑` / `k` `↓` / `j` | Navigate |
|
|
189
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
184
190
|
| `r` | Restore task to active list |
|
|
185
191
|
| `d` | Delete task permanently |
|
|
186
192
|
| `c` | Clear all archived tasks |
|
|
@@ -193,6 +199,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
|
|
|
193
199
|
| `e` / `Enter` | Edit selected setting |
|
|
194
200
|
| `↑` / `↓` | Adjust numeric values (when editing) |
|
|
195
201
|
| `↑` / `k` `↓` / `j` | Navigate settings |
|
|
202
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
196
203
|
| `q` / `Esc` | Return |
|
|
197
204
|
|
|
198
205
|
Settings you can change: max tasks per list (3–50), max starred tasks, whole-database
|
|
@@ -112,7 +112,9 @@ td notes delete 12 --json
|
|
|
112
112
|
| `s` | Star task (pin to top, bold yellow) |
|
|
113
113
|
| `c` | Archive all completed tasks |
|
|
114
114
|
| `y` | Copy task list to clipboard |
|
|
115
|
+
| `f` | Filter notes by title in current list; submit empty query to clear |
|
|
115
116
|
| `↑` / `k` `↓` / `j` | Navigate tasks |
|
|
117
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
116
118
|
| `Ctrl+↑` / `Ctrl+↓` | Reorder task position |
|
|
117
119
|
| `Alt+↑` / `Alt+↓` | Duplicate task above / below |
|
|
118
120
|
| `←` / `→` | Switch to previous / next list |
|
|
@@ -134,6 +136,7 @@ td notes delete 12 --json
|
|
|
134
136
|
| `Cmd+Backspace` on macOS / `Ctrl+Backspace` elsewhere | Clear current line |
|
|
135
137
|
| `Tab` / `Shift+Tab` | Indent or outdent current line |
|
|
136
138
|
| Arrow keys / `Home` / `End` | Move cursor |
|
|
139
|
+
| `PageUp` / `PageDown` | Move one wrapped viewport |
|
|
137
140
|
| `Backspace` / `Delete` | Delete text or join lines |
|
|
138
141
|
|
|
139
142
|
The active line shows raw Markdown. Other lines show a live preview. The editor
|
|
@@ -154,6 +157,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
|
|
|
154
157
|
| `d` | Delete list (with all its tasks) |
|
|
155
158
|
| `Shift+↑` / `Shift+↓` | Reorder list position |
|
|
156
159
|
| `↑` / `k` `↓` / `j` | Navigate lists |
|
|
160
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
157
161
|
| `q` / `Esc` | Quit |
|
|
158
162
|
|
|
159
163
|
### Archived Lists
|
|
@@ -163,6 +167,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
|
|
|
163
167
|
| `Enter` / `r` | Restore highlighted list |
|
|
164
168
|
| `d` | Permanently delete highlighted list and its items |
|
|
165
169
|
| `↑` / `k` `↓` / `j` | Navigate archived lists |
|
|
170
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
166
171
|
| `q` / `Esc` | Return to active lists |
|
|
167
172
|
|
|
168
173
|
### Archive
|
|
@@ -170,6 +175,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
|
|
|
170
175
|
| Key | Action |
|
|
171
176
|
|-----|--------|
|
|
172
177
|
| `↑` / `k` `↓` / `j` | Navigate |
|
|
178
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
173
179
|
| `r` | Restore task to active list |
|
|
174
180
|
| `d` | Delete task permanently |
|
|
175
181
|
| `c` | Clear all archived tasks |
|
|
@@ -182,6 +188,7 @@ marker. Press `Enter` or `Backspace` on an empty continuation to leave list mode
|
|
|
182
188
|
| `e` / `Enter` | Edit selected setting |
|
|
183
189
|
| `↑` / `↓` | Adjust numeric values (when editing) |
|
|
184
190
|
| `↑` / `k` `↓` / `j` | Navigate settings |
|
|
191
|
+
| `PageUp` / `PageDown` | Move one viewport |
|
|
185
192
|
| `q` / `Esc` | Return |
|
|
186
193
|
|
|
187
194
|
Settings you can change: max tasks per list (3–50), max starred tasks, whole-database
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.4] - 2026-08-05
|
|
4
|
+
- Add live, case-insensitive note-title filtering with `f` in the current list.
|
|
5
|
+
|
|
6
|
+
## [0.2.3] - 2026-08-05
|
|
7
|
+
- Scroll large task lists inside a fixed header and footer viewport.
|
|
8
|
+
- Buffer complete TUI frames to prevent flicker and partial header rendering.
|
|
9
|
+
- Prevent a trailing frame newline from scrolling the header off-screen.
|
|
10
|
+
- Add PageUp/PageDown navigation across lists, archives, settings, and the note editor.
|
|
11
|
+
|
|
3
12
|
## [0.2.2] - 2026-08-05
|
|
4
13
|
- Fix `td update` silently reporting "already up-to-date" on installs made from a local checkout.
|
|
5
14
|
- Pull the source checkout with `git pull --ff-only` and force a rebuild before upgrading such installs.
|
|
@@ -19,6 +19,8 @@ KEY_ARROW_LEFT = "\x1b[D"
|
|
|
19
19
|
KEY_ARROW_RIGHT = "\x1b[C"
|
|
20
20
|
KEY_HOME = "\x1b[H"
|
|
21
21
|
KEY_END = "\x1b[F"
|
|
22
|
+
KEY_PAGE_UP = "\x1b[5~"
|
|
23
|
+
KEY_PAGE_DOWN = "\x1b[6~"
|
|
22
24
|
KEY_SHIFT_ARROW_UP = "\x1b[1;2A"
|
|
23
25
|
KEY_SHIFT_ARROW_DOWN = "\x1b[1;2B"
|
|
24
26
|
KEY_SHIFT_TAB = "\x1b[Z"
|
|
@@ -52,6 +54,8 @@ if IS_WINDOWS:
|
|
|
52
54
|
"M": KEY_ARROW_RIGHT,
|
|
53
55
|
"G": KEY_HOME,
|
|
54
56
|
"O": KEY_END,
|
|
57
|
+
"I": KEY_PAGE_UP,
|
|
58
|
+
"Q": KEY_PAGE_DOWN,
|
|
55
59
|
"S": KEY_DELETE,
|
|
56
60
|
"\x0f": KEY_SHIFT_TAB,
|
|
57
61
|
"\x8d": KEY_CTRL_ARROW_UP,
|