diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 27e8cb4..98444c3 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -48,8 +48,7 @@ src/ inventory.rs One inventory section (rows + money) item.rs One inventory row numput.rs Numeric input components (Numput, NumputChange) - character/*.rs Character page: player_card, prepared_spells, - attunements + character/*.rs Character page: prepared_spells, attunements mod.rs Pages (Character, Inventories, Wiki) + item search ``` @@ -115,8 +114,8 @@ App │ └─ SpellSlots 9 levels of clickable pips ├─ Nav links to the three routes └─ Routes - ├─ Character player card; prepared spells (vacant/occupied - │ slots with free-text entry); attunements (3 slots) + ├─ Character prepared spells (vacant/occupied slots with + │ free-text entry); attunements (growable slots) ├─ Inventories two Inventory sections (Personal/Common) │ └─ Inventory balance (5 × Numput), rows (ForEnumerate) │ └─ Item name, quantity ±, weight ±, more/swap/remove diff --git a/README.md b/README.md index c3a6899..12b6614 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,10 @@ game. The UI is in Russian. wipe to a blank campaign - Undo/redo: header buttons and Ctrl+Z / Ctrl+Shift+Z / Ctrl+Y over edit bursts; Clear and import are undoable too -- Character page: player card, prepared spells (free-text slots with - level/description) and attunements (3 slots, clearable) +- Character page: prepared spells (free-text slots with + level/description) and attunements (growable slots, clearable) - Character sidebar: portrait, names, class, level, XP, hit points with - temp HP bar, hit dice, death saves, spell slots + temp HP bar, manual AC, hit dice, death saves, spell slots - Inventories page (`/inv`): personal and party-common inventories, currency per denomination, item rows with quantity and weight steppers, move between inventories, remove diff --git a/ROADMAP.md b/ROADMAP.md index 5f4ffe1..5f1eaac 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -150,6 +150,12 @@ with clear). Notes: - Rows are plain functions called from `For`'s `let(...)` children: component tags are not allowed directly inside them (view macro). +**Second pass (2026-08-16):** the player card is gone (it duplicated the +sidebar); headings are plain RU (`Заготовленные заклинания`, `Атюнменты`); +attunements grew from a fixed 3-slot array to a `Vec` with a "+ слот" +button (custom campaigns); `PlayerData.ac` (manual armor class) lives in +the sidebar HP block, `#[serde(default)]` so old saves still load. + ## Phase 3 — Inventory & item search end-to-end (L, ~3-5 days) Rows are editable and move/remove works. Search exists but is orphaned; "+" and