docs: mark Phase 1 tasks 1.12 and 1.13 complete

This commit is contained in:
AI Assistant
2026-02-19 07:12:53 +02:00
parent eaca24aa58
commit 6cb655a79f
2 changed files with 30 additions and 8 deletions

View File

@@ -209,18 +209,19 @@
--- ---
### 1.12 `[LIGHT]` Registratura — Increase Linked-Entry Selector Limit ### 1.12 `[LIGHT]` Registratura — Increase Linked-Entry Selector Limit
**What:** The linked-entry selector in `registry-entry-form.tsx` shows only first 20 entries (`.slice(0, 20)`). Add a search/filter field to find entries by number or subject, and remove the 20 limit. **What:** Added search/filter input (by number, subject, sender) to the linked-entry selector. Removed `.slice(0, 20)` cap. Also improved chip labels to show truncated subject.
**Files to modify:** `src/modules/registratura/components/registry-entry-form.tsx` **Commit:** `cd4b0de`
**Status:** Done ✅
--- ---
### 1.13 `[LIGHT]` Word XML — Remove POT/CUT Auto-Calculation ### 1.13 `[LIGHT]` Word XML — Remove POT/CUT Auto-Calculation
**What:** The xlsx says POT/CUT auto-calculation is "not needed". The toggle exists but the auto-injection code in `xml-generator.ts` should be removed. Keep the fields, just remove the auto-compute logic. **What:** Removed `computeMetrics` entirely from `XmlGeneratorConfig`, `generateCategoryXml`, `generateAllCategories`, `downloadZipAll`, `useXmlConfig`, `XmlSettings`, and `WordXmlModule`. Fields kept; auto-injection removed.
**Files to modify:** `src/modules/word-xml/services/xml-generator.ts` **Commit:** `eaca24a`
**User action needed:** Confirm this should be removed. **Status:** Done ✅
--- ---

View File

@@ -4,7 +4,28 @@
--- ---
## Session — 2026-02-19 (GitHub Copilot - Claude Sonnet 4.6) [continued] ## Session — 2026-02-19 (GitHub Copilot - Claude Sonnet 4.6) [continued 2]
### Completed
- **Task 1.12: Registratura — Linked-Entry Selector Search** ✅
- Added search input (by number, subject, sender) to `registry-entry-form.tsx`
- Removed `.slice(0, 20)` cap — all entries now searchable
- Chip labels now show truncated subject alongside entry number
- Commit: `cd4b0de`
- **Task 1.13: Word XML — Remove POT/CUT Auto-Calculation** ✅
- Removed `computeMetrics` from `XmlGeneratorConfig` type, `generateCategoryXml`, `generateAllCategories`, `downloadZipAll`, `useXmlConfig`, `XmlSettings`, `WordXmlModule`
- Removed POT/CUT auto-injection logic entirely; fields can still be added manually
- Removed unused `Switch` import from `xml-settings.tsx`
- Commit: `eaca24a`
### Notes
- Phase 1 (13 tasks) now fully complete ✅
- Next: **Phase 2** — Hot Desk module (new module from scratch)
---
### Completed ### Completed