fix(scale)+docs: fix scale calculator units (cm not m), update CLAUDE.md+ROADMAP.md
Scale calculator: - Real input now in cm (not m) — more natural for architects - Drawing output in mm (unchanged) - Formula: drawing_mm = real_cm * 10 / scale (was val/scale, wrong) - Reverse: real_cm = drawing_mm * scale / 10 (was val*scale, wrong) - Secondary display: real in m; drawing in cm; reverse also shows mm - Added 1:20 preset (useful for detail drawings) - Removed Camere tab (not useful) Docs: - CLAUDE.md: update Mini Utilities 0.3.0 + Password Vault 0.4.0 descriptions - ROADMAP.md: add task 8.04 (this session), bump module versions, renumber 8.05-8.08 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+19
-6
@@ -36,13 +36,13 @@
|
||||
| 2 | Email Signature | 0.1.0 | COMPLETE | US/SDT addresses may need update | AD sync, branding packs, promo banners |
|
||||
| 3 | Word XML | 0.1.0 | COMPLETE | — | Schema validator, visual mapper |
|
||||
| 4 | Digital Signatures | 0.1.0 | COMPLETE | — | Permission layers, document insertion |
|
||||
| 5 | Password Vault | 0.3.0 | COMPLETE | — | Hardware key, rotation reminders, Passbolt |
|
||||
| 5 | Password Vault | 0.4.0 | COMPLETE | — | Hardware key, rotation reminders, Passbolt |
|
||||
| 6 | IT Inventory | 0.2.0 | COMPLETE | — | Network scan import |
|
||||
| 7 | Address Book | 0.1.1 | COMPLETE | — | Email sync, deduplication |
|
||||
| 8 | Prompt Generator | 0.2.0 | HARDENING | Bug fixes, new idea TBD | Prompt scoring, more image templates |
|
||||
| 9 | Word Templates | 0.1.0 | COMPLETE | No clause library; no Word generation | Diff compare, document generator |
|
||||
| 10 | Tag Manager | 0.2.0 | HARDENING | Logic/workflow fix, ERP API exposure needed | Smart suggestions |
|
||||
| 11 | Mini Utilities | 0.2.0 | COMPLETE | — | More converters, more tools TBD |
|
||||
| 11 | Mini Utilities | 0.3.0 | COMPLETE | — | More converters, more tools TBD |
|
||||
| 12 | Dashboard | 0.1.0 | COMPLETE | — | Custom dashboards per role |
|
||||
| 13 | AI Chat | 0.2.0 | COMPLETE | Needs API key env vars for real AI | Streaming, model selector, conversation templates |
|
||||
| 14 | Hot Desk | 0.1.1 | COMPLETE | — | — |
|
||||
@@ -845,25 +845,38 @@ Env vars (hardcoded in docker-compose.yml for Portainer CE):
|
||||
|
||||
---
|
||||
|
||||
### 8.04 `[STANDARD]` Registratura — Print/PDF Export
|
||||
### 8.04 ✅ `[STANDARD]` Mini Utilities + Password Vault — UX Improvements (2026-03-12)
|
||||
|
||||
**What:** TVA calculator with configurable rate, new scale calculator for drawings, multi-user support in Password Vault.
|
||||
**Implemented:**
|
||||
- **TVA cotă configurabilă**: preseturi 5%/9%/19%/21% + câmp custom; rata efectivă afișată în rezultate; titlu card actualizat dinamic
|
||||
- **Calculator scară desen** (tab nou "Scară"): modul Real→Desen (input cm, output mm) și Desen→Real (input mm, output cm); 7 preseturi 1:20..1:5000 + scară custom 1:X; afișare secundară în m/cm; copy button pe rezultat
|
||||
- Logică: `drawing_mm = real_cm × 10 / scale` / `real_cm = drawing_mm × scale / 10`
|
||||
- **Password Vault — utilizatori multipli**: tip `VaultUser { username, password, email?, notes? }`; câmp `additionalUsers: VaultUser[]` pe `VaultEntry`; secțiune colapsibilă "Utilizatori suplimentari" în form; badge cu numărul de utilizatori în lista de intrări; normalizare backward-compat în `useVault` hook
|
||||
**Files:** `src/modules/mini-utilities/components/mini-utilities-module.tsx`, `src/modules/password-vault/types.ts`, `src/modules/password-vault/components/password-vault-module.tsx`, `src/modules/password-vault/hooks/use-vault.ts`
|
||||
**Versions:** Mini Utilities 0.2.0→0.3.0, Password Vault 0.3.0→0.4.0
|
||||
|
||||
---
|
||||
|
||||
### 8.05 `[STANDARD]` Registratura — Print/PDF Export
|
||||
|
||||
**What:** Export registry as formatted PDF. Options: full registry, single entry, deadline summary.
|
||||
|
||||
---
|
||||
|
||||
### 8.05 `[STANDARD]` Word Templates — Clause Library + Document Generator
|
||||
### 8.06 `[STANDARD]` Word Templates — Clause Library + Document Generator
|
||||
|
||||
**What:** In-app clause composition, template preview, simple Word generation from templates.
|
||||
|
||||
---
|
||||
|
||||
### 8.06 `[STANDARD]` N8N Webhook Integration
|
||||
### 8.07 `[STANDARD]` N8N Webhook Integration
|
||||
|
||||
**What:** Fire webhooks on events (new entry, deadline approaching, status change). N8N at http://10.10.10.166:5678.
|
||||
|
||||
---
|
||||
|
||||
### 8.07 `[STANDARD]` Mobile Responsiveness Audit
|
||||
### 8.08 `[STANDARD]` Mobile Responsiveness Audit
|
||||
|
||||
**What:** Test all modules on 375px/768px. Fix overflowing tables, forms, sidebar.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user