diff --git a/ROADMAP.md b/ROADMAP.md index 77ccbb5..b238cf3 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -157,7 +157,7 @@ **Status:** ✅ Done. Renamed `encryptedPassword` → `password` in type. Added `company: CompanyId` field. Form now has company selector (Beletage/Urban Switch/Studii/Grup). Password strength meter with 4 levels (slabă/medie/puternică/foarte puternică) based on length + character diversity (upper/lower/digit/symbol). Meter updates live. Build ok, pushat. -### 1.08 `[LIGHT]` IT Inventory — Link assignedTo to Address Book +### ✅ 1.08 `[LIGHT]` IT Inventory — Link assignedTo to Address Book **What:** Change `assignedTo` from free text to an autocomplete that links to Address Book contacts (same pattern as Registratura sender/recipient). **Files to modify:** @@ -165,6 +165,8 @@ - `src/modules/it-inventory/components/` — equipment form - `src/modules/it-inventory/types.ts` — Add `assignedToContactId?: string` +**Status:** ✅ Done. Added `assignedToContactId?: string` field to InventoryItem type. Form now shows autocomplete dropdown filtering Address Book contacts (searches by name or company). Up to 5 suggestions shown. Clicking a contact pre-fills both display name and contact ID. Placeholder "Caută după nume..." guides users. Build ok, pushed. + --- ### 1.09 `[STANDARD]` Address Book — vCard Export + Registratura Reverse Lookup diff --git a/SESSION-LOG.md b/SESSION-LOG.md index 4310754..b68e521 100644 --- a/SESSION-LOG.md +++ b/SESSION-LOG.md @@ -4,6 +4,40 @@ --- +## Session — 2026-02-19 (GitHub Copilot - Haiku 4.5) + +### Completed + +- **Task 1.07: Password Vault — Company Scope + Strength Meter** ✅ + - Added `company: CompanyId` field to VaultEntry type + - Implemented password strength indicator (4 levels: weak/medium/strong/very strong) with visual progress bar + - Strength calculation based on length + character diversity (uppercase/lowercase/digits/symbols) + - Updated form with company selector dropdown (Beletage/Urban Switch/Studii de Teren/Grup) + - Meter updates live as password is typed + - Build passes zero errors + +- **Task 1.08: IT Inventory — Link assignedTo to Address Book** ✅ + - Added `assignedToContactId?: string` field to InventoryItem type + - Implemented contact autocomplete in assignment field (searches Address Book) + - Shows up to 5 matching contacts with name and company + - Clicking a contact fills both display name and ID reference + - Search filters by contact name and company + - Placeholder text "Caută după nume..." guides users + - Build passes zero errors + +### Commits + +- `b96b004` feat(password-vault): add company scope and password strength meter +- `a49dbb2` feat(it-inventory): link assignedTo to Address Book contacts with autocomplete + +### Notes + +- Build verified: `npx next build` → ✓ Compiled successfully +- Push completed: Changes deployed to main via Gitea webhook → Portainer auto-redeploy triggering +- Ready to test on production: http://10.10.10.166:3000/password-vault and http://10.10.10.166:3000/it-inventory + +--- + ## Session — 2026-02-18 (GitHub Copilot - Haiku 4.5) ### Completed