7 Commits

Author SHA1 Message Date
Jacob Schmidt
7c3161c61b feat(settings): persist tags and fragment types via Tauri settings 2026-02-26 21:10:18 -06:00
Jacob Schmidt
235e46240d fix(tauri): support sidecar exe in configured root 2026-02-26 20:52:06 -06:00
Jacob Schmidt
004ea43cf2 fix(tauri): recursively resolve Journal.Sidecar.exe path 2026-02-26 20:29:29 -06:00
Jacob Schmidt
c7933aeeec Lists & todos backend, editor refactor, inline create, UX improvements
- Wire up lists and todos to C# backend with full CRUD persistence
- Add models, DTOs, repositories, and services for lists and todo lists/items
- Preserve SQLite DB across vault rebuild/load cycles
- Add session store for vault password persistence across navigation
- Add inline name input for creating lists and todo lists in SidePanel
- Clear editor panel on section change with empty state placeholder
- Default markdown editor to preview mode on item selection
- Decompose EditorPanel into sub-components:
  - editor/FragmentEditor, editor/TodoEditor, editor/MarkdownEditor
  - Shared markdown utilities in utils/markdown.ts
- Strip verbose console/eprintln logging from frontend and Tauri backend
- Add graceful shutdown with vault persistence on window close

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-02-26 17:33:27 -06:00
Jacob Schmidt
0465b05845 feat: add shutdown command, auth/entries backend, and editor panel
- Add Rust shutdown command that kills sidecar and exits app cleanly
- Frontend calls invoke('shutdown') after vault flush on close
- Add auth.ts, entries.ts, and normalize.ts backend modules
- Add EditorPanel.svelte component
- Expand entries store with full CRUD support
- Add JournalEntryDtos and JournalEntryDtoMapper in Journal.Core
- Update entry search, fragments, and sidecar CLI

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-02-26 15:34:28 -06:00
Jacob Schmidt
e2bfa0e6ff fix: sidecar project root resolution and Tauri frontend wiring
- Set JOURNAL_PROJECT_ROOT and CWD when spawning sidecar so data
  lands at repo root instead of under src-tauri/ (fixes dev watcher
  hot-reload loop triggered by schema file writes)
- Add backend client layer (auth.ts, client.ts, fragments.ts, types.ts)
- Wire vault unlock flow with password prompt modal on locked DB
- Update fragments store with full sidecar CRUD integration
- Update EditorPanel and AppModal for fragment editing support
- Gitignore runtime journal/ and logs/ directories

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-02-25 22:02:49 -06:00
Jacob Schmidt
5167304cb4 Initial Frontend Rework 2026-02-24 22:16:51 -06:00