Feat v0.4.2 tags search (#24)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #24.
This commit is contained in:
19
ROADMAP.md
19
ROADMAP.md
@@ -1,6 +1,6 @@
|
||||
# Switchboard Core — Roadmap
|
||||
|
||||
## Current: v0.4.1 — Folders + Navigation Tree
|
||||
## Current: v0.4.2 — Tags + Search
|
||||
|
||||
Fork of chat-switchboard, gutted to a pure extension platform. All AI/chat
|
||||
features removed from the kernel. What remains is the minimum viable
|
||||
@@ -253,12 +253,19 @@ Zero platform special-casing. Proves the full extension stack E2E.
|
||||
| Editor folder select | ✅ | Dropdown with nested hierarchy (`└` prefix). Moves notes between folders via move-note API. |
|
||||
| Updated stats | ✅ | Stats include `unfiled` and `folders` counts. |
|
||||
|
||||
### v0.4.2 — Tags + Search (planned)
|
||||
### v0.4.2 — Tags + Search (complete)
|
||||
|
||||
- `note_tags` table (note_id, tag)
|
||||
- Tag management inline with note save
|
||||
- Tag filter in sidebar, tag pills on cards
|
||||
- Drag-and-drop note-to-folder moves
|
||||
| Step | Status | Description |
|
||||
|------|--------|-------------|
|
||||
| Tags table | ✅ | `ext_notes_tags` — note_id, tag. Indexed on both columns for bidirectional lookup. |
|
||||
| Tag CRUD API | ✅ | 3 Starlark handlers: list all unique tags, get tags for note, replace tags for note (delete+reinsert). Tags normalized: lowercase, trimmed, deduped. |
|
||||
| Tags in list/get/search | ✅ | `_list_notes` batch-fetches all tags in one query, attaches `tags` array to each item. `_get_note` includes tags. `_search_notes` matches against tags. |
|
||||
| Tag cascade delete | ✅ | Hard-deleting a note also deletes its tag rows. Stats include `tags` count. |
|
||||
| Tag input in editor | ✅ | `TagInput` component: removable pills + text field, comma/Enter to add, autocomplete dropdown from all tags. |
|
||||
| Tag pills on cards | ✅ | `NoteCard` renders up to 3 tag pills with "+N" overflow. |
|
||||
| Tag filter in sidebar | ✅ | `TagFilter` component: clickable pills, toggle active tag, client-side note filtering. |
|
||||
| Drag-and-drop | ✅ | `NoteCard` is draggable. `FolderNode`, "All Notes", and "Unfiled" are drop targets. Uses existing move-note API. |
|
||||
| Folder context menu | ✅ | Replaced `prompt()` hack with proper right-click popup menu: Add subfolder, Rename, Delete. Positioned at click coordinates, dismissed on outside click. |
|
||||
|
||||
### v0.4.3 — Backlinks + Wikilinks (planned)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user