verstak/internal/core/storage
mirivlad 0b26f7e5b3 refactor: implement template-driven node tree and human-readable vault layout
Unified Node model: added template_id, fs_path, archived, sort_order fields.
Template registry: system templates embedded as JSON (folder/project/client/
document/recipe), with Registry for enabled/disabled/filtered access.
SafeDisplayNameToPathSegment: human-readable path segments with Cyrillic
support, illegal char replacement, uniqueness via numeric suffixes.
Sidebar refactored: system views (Today/Inbox/Activity) separate from
workspace tree. Creation menu built dynamically from enabled templates.
Create/Rename/Move: physical folder operations with fs_path update,
recursive descendant path updates.
DB migration 012: adds template_id, fs_path, archived columns.
Vault migration command: rebuilds fs_path for existing nodes.
Tests: safename, registry, node model, repository integration.
Docs: VAULT_LAYOUT.md, TEMPLATES.md, PLAN.md updated.
i18n: nav.system, nav.workspace, template.*, common.rename/archive,
migrate.* keys added to ru.json and en.json.
2026-06-02 12:47:06 +08:00
..
migrations.go step 2: init command + SQLite storage + migrations + config 2026-05-30 18:58:47 +08:00
migrations_002.sql.go steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
migrations_003.sql.go steps 4-6 + doc overhaul: files, notes, GUI, plugins docs 2026-05-30 20:35:04 +08:00
migrations_004.sql.go feat: node section assignment for sidebar filtering + search fix 2026-05-31 01:26:46 +08:00
migrations_005.sql.go step 7: actions — table, service, CLI, GUI tab + confirm dialog 2026-05-31 01:52:23 +08:00
migrations_006.sql.go steps 8+9: worklog + FTS5 search 2026-05-31 02:25:25 +08:00
migrations_007.sql.go steps 8+9: worklog + FTS5 search 2026-05-31 02:25:25 +08:00
migrations_008.sql.go today dashboard: activity_events, ListTodayView with events timeline, frontend TodayDashboard separated from sidebar 2026-06-01 02:16:13 +08:00
migrations_009.sql.go activity: global feed, per-case log, sidebar section, today UX 2026-06-01 02:53:56 +08:00
migrations_010.sql.go feat: sync — migration 010 for sync_ops and sync_state tables 2026-06-01 22:45:12 +08:00
migrations_011.sql.go sync: overhaul sync system — device pairing, server_sequence, auto-sync, dashboards 2026-06-02 02:26:05 +08:00
migrations_012.sql.go refactor: implement template-driven node tree and human-readable vault layout 2026-06-02 12:47:06 +08:00
storage.go refactor: implement template-driven node tree and human-readable vault layout 2026-06-02 12:47:06 +08:00