Commit graph

16 commits

Author SHA1 Message Date
mow
30e3bf6dbe fix: rename RemoveSession to DeleteSession and implement separate delete logic
replace unnecessary clones with borrows in manager and main
2026-03-10 20:12:16 +01:00
mow
1a0b8c49aa refactor: merge workspace (core/ + ui/) into a single flat binary crate
integrate CLI into main.rs, no lib.rs by design (YAGNI)
2026-03-10 19:20:57 +01:00
mow
9ec407d9aa refactor(session): introduce cursor model and full command set 2026-03-09 21:08:59 +01:00
mow
767315a65e refactor(examples/cli): update to new SessionCommand API 2026-03-09 21:06:51 +01:00
mow
7fa218e68c fix: remove_document() kind-check moved before mutable borrow to prevent silent error drop 2026-03-08 17:41:09 +01:00
mow
a6c1863f57 refactor(core): reorganize module structure 2026-03-08 17:41:05 +01:00
mow
59ab96be98 docs: fix misleading and add comment for SessionData 2026-03-08 09:20:34 +01:00
mow
31e7e9c3ef feat: improve test harness output with structured colored logging 2026-03-08 09:04:28 +01:00
mow
e928c61107 refactor: rename commands to SessionCommand/DocumentCommand split
- Rename SessionKind → CollectionKind
- Replace monolithic DocumentCommand with SessionCommand (lifecycle + collection)
  and DocumentCommand (reserved for future document operations)
- Separate session creation from population (New → Select → AddDirectory)
- Collection commands operate on active session, no hidden side effects
- RemoveDocument/CopyDocument use explicit indices (no more Option)
2026-03-08 09:01:20 +01:00
wfx
1ab1e2228e chore: add CLI tests for copy/move/delete operations and a print_session helper function 2026-03-07 23:03:40 +01:00
wfx
82f2f9d80e chore: restore Cargo.toml 2026-03-07 22:57:29 +01:00
wfx
95ce7b7598 feat: add CopyItemToSession and DeleteItemToSession commands 2026-03-07 22:57:29 +01:00
wfx
c4c5568630 add Cargo.lock 2026-03-07 22:57:29 +01:00
wfx
5eb444091f Cargo.toml gelöscht 2026-03-07 22:57:29 +01:00
wfx
56b7ef47df Delete Cargo.lock 2026-03-07 22:27:14 +01:00
mow
c85f35310e chore: inital commit
Split project into a Cargo workspace with two crates:

- core/ (noctua_core): UI-independent document library
- ui/ (noctua_ui): COSMIC application scaffold (empty)

justfile for workspace (run, run-cli, check, test, build)
2026-03-07 20:29:18 +01:00