verstak/docs
mirivlad 9ee6df0d3f feat: node section assignment for sidebar filtering + search fix
Backend:
- Migration 004: add 'section' column to nodes table
  (NULL=inbox, values: clients/projects/recipes/documents/archive)
- Create(parentID, type, title, section) — section stored on root nodes
- ListRoots(includeDeleted, section) — filters by section
  (section='inbox' returns nodes with NULL section)
- GET /api/nodes?section=X filters root nodes by section
- POST /api/nodes accepts 'section' field in body

Frontend:
- Sidebar separates 'НАВИГАЦИЯ' (virtual sections) from 'ДЕЛА' (real nodes)
- Each section loads only its own nodes: GET /api/nodes?section=clients etc.
- Creating from a section sets the section automatically
- Inbox shows only nodes with no section
- selectBySearch(id) closes result dropdown after selection
- All types shown in Russian (Дело, Заметка, Папка, etc.)

Acceptance: go build pass, go test pass (all packages),
  manual: Pro projects section shows only project-nodes,
  clients only client-nodes, inbox only unsectioned nodes.
2026-05-31 01:26:46 +08:00
..
00_README.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
01_Product_Spec.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
02_Architecture.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
03_Data_Model_Storage.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
04_Sync_Backup_Activity.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00
05_UI_UX.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00
06_Roadmap.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00
07_AI_Coder_Prompts.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00
08_MVP_Checklist.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00
09_Extensibility.md steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
PLAN.md feat: node section assignment for sidebar filtering + search fix 2026-05-31 01:26:46 +08:00
verstak_browser_extension_prompts.md step 1: skeleton - go module, CLI stub with --version, structure 2026-05-30 18:42:19 +08:00