feat(ui): rinomina Misure→Attività, textarea descrizione task, tool Testo annotazioni

- Navbar e breadcrumb: label "Misure" rinominata "Attività" (IT) / "Activities" (EN)
- Descrizione task: input sostituito con textarea multilinea + display whitespace-pre-wrap
- Annotation editor: nuovo tool "Testo" con fabric.IText (inline editing, serializzazione, viewer)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Adriano Dal Pastro
2026-05-23 13:26:23 +00:00
parent 6772e3166a
commit b9c767fb0c
7 changed files with 123 additions and 17 deletions
@@ -247,6 +247,18 @@
<span class="hidden sm:inline">{{ _('Rettangolo') }}</span>
</button>
<!-- Text Tool -->
<button type="button"
class="anno-btn"
:class="{ 'active': annoTool === 'text' }"
@click="setAnnoTool('text')"
title="{{ _('Testo') }}">
<svg class="w-4 h-4" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 6v2m16-2v2M7 6v12m0 0h2m-2 0H5m12-12v12m0 0h2m-2 0h-2"/>
</svg>
<span class="hidden sm:inline">{{ _('Testo') }}</span>
</button>
<!-- Separator -->
<div class="w-px h-6 bg-[var(--border-color)] mx-1"></div>