experiments in a post-browser web
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(todo): disable todo feature pending listing / search / edit flows

The two cmd-panel commands wired in `feat(todo)` work but aren't
useful day-to-day without:
- a `todos` listing/search UI in the cmd panel (vs. opening the
tags grid and filtering by #todo manually)
- tab/down autocomplete that suggests existing todos as you type
`done …`
- an inline edit affordance from the suggestion list

Disabled by renaming `features/todo/manifest.json` →
`manifest.json.disabled` so `discoverFeatures()` skips the directory.
The handlers and tile boilerplate stay checked in. README.md in the
feature dir explains why and how to re-enable when the missing
flows land.

No code changes — the feature picks up automatically on next app
start once the manifest is renamed back.

+40
+40
features/todo/README.md
··· 1 + # Todo Commands — DISABLED 2 + 3 + This feature is checked in but **disabled by design**. Discovery skips it 4 + because the manifest is named `manifest.json.disabled` — no `manifest.json` 5 + means `discoverFeatures()` walks past the directory. 6 + 7 + ## Why disabled 8 + 9 + The two cmd-panel commands in `background.js` (`todo`, `done`) work, but 10 + they're not enough to be daily-use: 11 + 12 + - No way to **list** outstanding todos without opening the tags grid and 13 + filtering by `#todo` manually. 14 + - No way to **search** todos from the cmd panel — `done <match>` does a 15 + blind first-match-wins lookup with no suggestion UI. 16 + - No **inline editing** — once a todo's body is set you have to open the 17 + item in the editor like any other text item. 18 + - The original task spec called for `todo <text> <tab>/<down>` to search 19 + existing todos and open one in the editor; that needs cmd-panel 20 + suggestion-source plumbing this feature doesn't have yet. 21 + 22 + ## Re-enabling 23 + 24 + When the listing / search / inline-edit flows land, rename: 25 + 26 + ``` 27 + mv manifest.json.disabled manifest.json 28 + ``` 29 + 30 + …and the feature picks up automatically on next app start. 31 + 32 + ## What's here 33 + 34 + - `manifest.json.disabled` — declares `todo` and `done` commands. 35 + - `background.html` / `background.js` — handlers using `getOrCreateTag` → 36 + `tagItem`/`untagItem` and `getItemsByTag` for the `done` lookup. 37 + - `config.js` — id/labels stub. 38 + 39 + The handlers wire to `cmd:execute:todo` and `cmd:execute:done`. Reactivate 40 + by restoring the manifest filename — no code changes needed.
features/todo/manifest.json features/todo/manifest.json.disabled