You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,16 +55,20 @@ The extension renders a persistent widget above the editor:
55
55
56
56
### Widget display settings
57
57
58
-
How tasks are sorted and how many are shown can be configured via `/tasks` → Settings (saved as project overrides in `.pi/tasks-config.json`). All defaults preserve the original behaviour.
58
+
How tasks are sorted and how many are shown can be configured via `/tasks` → Settings (saved as project overrides in `.pi/tasks-config.json`).
59
59
60
60
| Setting | Values | Default | Behaviour |
61
61
|---------|--------|---------|-----------|
62
62
|`sortOrder`|`id` / `status` / `recent` / `oldest`|`id`|`id` = creation order; `status` groups completed → in-progress → pending; `recent`/`oldest` = by last-updated time |
63
-
|`maxVisible`|`5`–`100`|`10`|Caps how many task lines the widget shows (ignored when`showAll` is on)|
64
-
|`showAll`|`true` / `false`|`false`| When `true`, every task is shown regardless of `maxVisible`|
65
-
|`hiddenAt`|`bottom` / `top`|`bottom`|When the list overflows `maxVisible`, where the `… and N more` collapse happens. `top` pairs well with `sortOrder: status` to keep active work visible and fold completed tasks away|
63
+
|`maxVisible`|`5`–`100`|`10`|Window size when the global tool view is collapsed and`showAll` is off|
64
+
|`showAll`|`true` / `false`|`false`| When `true`, every task is always shown regardless of `maxVisible`|
65
+
|`hiddenAt`|`bottom` / `top`|`bottom`|Legacy compatibility setting retained in config; the focused task window now uses separate earlier/later markers|
66
66
67
-
> Note: the widget's `status` order is completed-first (so finished work collapses at the top with `hiddenAt: top`), which is the reverse of the `TaskList` tool's pending-first order.
67
+
When a collapsed list exceeds `maxVisible`, the widget starts at the first unfinished task in the configured sort order and displays up to `maxVisible` tasks. Separate `… N earlier` and `… N later` lines show hidden work on either side. If every task is complete, the final window is shown. Lists that fit within the limit remain fully visible.
68
+
69
+
The task widget follows Pi's global tool expansion state (Ctrl-O by default): expand to show every task, then collapse to restore the focused window. The extension does not register or override that keybinding.
70
+
71
+
> Note: the widget's `status` order is completed-first, which is the reverse of the `TaskList` tool's pending-first order.
0 commit comments