docs: update ROADMAP.md and SESSION-LOG.md for task 3.08
This commit is contained in:
+3
-1
@@ -327,7 +327,7 @@
|
||||
- Generare și descărcare document Word (`.docx`) gol care conține imaginea inserată automat.
|
||||
- Generare și descărcare document PDF gol care conține imaginea inserată automat.
|
||||
|
||||
### 3.08 `[BUSINESS]` IT Inventory — Simplificare și Status Nou
|
||||
### 3.08 ✅ `[BUSINESS]` IT Inventory — Simplificare și Status Nou (2026-02-28)
|
||||
|
||||
**Cerințe noi:**
|
||||
|
||||
@@ -341,6 +341,8 @@
|
||||
- Echipamentele care au aceste date completate vor fi randate automat în vizualizarea grafică a rack-ului.
|
||||
- La hover pe un echipament din rack, va apărea un tooltip cu detaliile de bază (Nume, IP, Status).
|
||||
|
||||
**Status:** ✅ Done. Rewrote types.ts: dynamic `InventoryItemType` (string-based) with `DEFAULT_EQUIPMENT_TYPES` (added server/switch/ups/patch-panel), `RACK_MOUNTABLE_TYPES` set, new "rented" status with `STATUS_LABELS` export. Removed deprecated fields (assignedTo, purchaseDate, purchaseCost, warrantyExpiry). Added `rackPosition`/`rackSize` fields. New `server-rack.tsx` — 42U rack visualization with color-coded status slots and tooltips. Rewrote module component: tabbed UI (Inventar + Rack 42U), 5 stat cards with purple pulse animation for rented count, inline custom type creation, conditional rack position fields for mountable types.
|
||||
|
||||
### 3.09 ✅ `[BUSINESS]` Address Book — Tipuri Dinamice (2026-02-27)
|
||||
|
||||
**Cerințe noi:**
|
||||
|
||||
+14
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
### Context
|
||||
|
||||
Continued Phase 3. Fixed critical Registratura bugs reported by user + started next task.
|
||||
Continued Phase 3. Fixed critical Registratura bugs reported by user + implemented task 3.08 IT Inventory improvements.
|
||||
|
||||
### Completed
|
||||
|
||||
@@ -20,6 +20,14 @@ Continued Phase 3. Fixed critical Registratura bugs reported by user + started n
|
||||
5. **Backdating support** — Date field renamed "Data document" with tooltip explaining retroactive registration. Added `registrationDate` field on RegistryEntry (auto = today). Registry table shows "(înr. DATE)" when registrationDate differs from document date. Numbers remain sequential regardless of document date.
|
||||
6. **"Actualizează" button feedback** — Submit button now shows loading spinner when saving, disabled during upload. `onSubmit` prop accepts `Promise<void>` for proper async tracking.
|
||||
|
||||
- **Task 3.08 — IT Inventory Improvements:**
|
||||
- Rewrote `types.ts`: dynamic `InventoryItemType` (string-based), `DEFAULT_EQUIPMENT_TYPES` with server/switch/ups/patch-panel, `RACK_MOUNTABLE_TYPES` set, new "rented" status, `STATUS_LABELS` export
|
||||
- Removed deprecated fields: assignedTo, assignedToContactId, purchaseDate, purchaseCost, warrantyExpiry
|
||||
- Added rack fields: `rackPosition` (1–42), `rackSize` (1–4U)
|
||||
- New `server-rack.tsx`: 42U rack visualization with color-coded status slots, tooltips, occupied/empty rendering
|
||||
- Rewrote `it-inventory-module.tsx`: tabbed UI (Inventar + Rack 42U), 5 stat cards with purple pulse for rented, inline custom type creation ("Tip nou" input), conditional rack position fields for RACK_MOUNTABLE_TYPES, simplified form
|
||||
- Fixed search filter in `use-inventory.ts`: removed `assignedTo` reference, added rackLocation/location
|
||||
|
||||
### Files Modified
|
||||
|
||||
- `src/modules/registratura/types.ts` — Added `ClosureResolution` type, `registrationDate` field on RegistryEntry, `resolution` field on ClosureInfo
|
||||
@@ -29,10 +37,15 @@ Continued Phase 3. Fixed critical Registratura bugs reported by user + started n
|
||||
- `src/modules/registratura/components/registry-table.tsx` — "Data doc." header, shows registrationDate when different
|
||||
- `src/modules/registratura/components/close-guard-dialog.tsx` — Resolution selector added
|
||||
- `src/modules/registratura/components/closure-banner.tsx` — Resolution badge display
|
||||
- `src/modules/it-inventory/types.ts` — Complete rewrite: dynamic types, rented status, rack fields
|
||||
- `src/modules/it-inventory/hooks/use-inventory.ts` — Updated imports, fixed search filter
|
||||
- `src/modules/it-inventory/components/it-inventory-module.tsx` — Complete rewrite: tabbed UI, dynamic types, rack fields
|
||||
- `src/modules/it-inventory/components/server-rack.tsx` — NEW: 42U rack visualization
|
||||
|
||||
### Commits
|
||||
|
||||
- `8042df4` fix(registratura): prevent duplicate numbers, add upload progress, submission lock, unified close/resolve, backdating support
|
||||
- `346e40d` feat(it-inventory): dynamic types, rented status, rack visualization, simplified form
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user