refactor: standardize developer text and identifiers in English
This commit is contained in:
+19
-20
@@ -18,8 +18,7 @@
|
||||
BEFORE the <link rel="stylesheet" href="style.css"> tag below.
|
||||
|
||||
Problem reported by user 2026-09-10:
|
||||
"quando faccio refresh per un momento si vede il theme precedente
|
||||
quello purple"
|
||||
"When I refresh, the previous purple theme briefly appears."
|
||||
|
||||
The earlier guard `html:not([data-theme]) [data-theme-only]` only
|
||||
hid the two parallel widget branches, but the UNTHEMED DEFAULTS in
|
||||
@@ -179,7 +178,7 @@
|
||||
<a class="feedback-link" href="https://tally.so/r/pb8LWq" target="_blank" rel="noopener noreferrer">Enviar feedback</a>
|
||||
|
||||
<!-- Theme=white only: Status card between topbar and stage
|
||||
"Listo para conversar / Informes, análisis, datos y mucho más."
|
||||
Ready to converse / Reports, analysis, data and more.
|
||||
with light-blue chart icon and chevron-right arrow. -->
|
||||
<div class="status-card" hidden data-theme-only="white" aria-label="Estado de la sesión">
|
||||
<div class="status-card-icon" aria-hidden="true">
|
||||
@@ -265,8 +264,8 @@
|
||||
<!-- WHITE THEME mic stage (replaces the purple orb)
|
||||
- Blue mic circular button (116 px, deep blue, white mic)
|
||||
- Two waveform banks left + right (audio-reactive CSS bars)
|
||||
- "Escuchando..." status text
|
||||
- "Detener" pill button below.
|
||||
- Listening status text
|
||||
- Stop pill button below.
|
||||
Mirrors the screenshot center UI exactly. -->
|
||||
<div class="white-mic-stage" hidden data-theme-only="white" aria-label="Control de voz">
|
||||
<!-- Waveform left side: 7 bars mirror right side, heights driven by JS vars -->
|
||||
@@ -311,10 +310,10 @@
|
||||
<span class="w-bar wb-7" style="--bar-h: 0.4"></span>
|
||||
</div>
|
||||
|
||||
<!-- Status caption below mic circle: "Escuchando...", "Pensando..." etc. -->
|
||||
<!-- Status caption below mic circle: listening, thinking, etc. -->
|
||||
<p id="white-mic-caption" class="white-mic-caption" role="status">Escuchando…</p>
|
||||
|
||||
<!-- Secondary pill "Detener" (Stop) below caption, with dark stop-square icon. -->
|
||||
<!-- Secondary stop pill below caption, with a dark stop-square icon. -->
|
||||
<button id="white-stop-btn"
|
||||
class="white-stop-btn"
|
||||
type="button"
|
||||
@@ -338,10 +337,10 @@
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Theme=white only: Quick action pills below mic area
|
||||
"Resumen" · "Consultar datos" · "Crear respuesta" each with icon -->
|
||||
<!-- Theme=white only: summary, data lookup and draft-response quick
|
||||
actions below the mic area, each with an icon. -->
|
||||
<div class="quick-actions" hidden data-theme-only="white" aria-label="Acciones rápidas">
|
||||
<button class="quick-action-btn" type="button" data-action="resumen">
|
||||
<button class="quick-action-btn" type="button" data-action="summary">
|
||||
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
|
||||
<polyline points="14 2 14 8 20 8"/>
|
||||
@@ -350,7 +349,7 @@
|
||||
</svg>
|
||||
<span>Resumen</span>
|
||||
</button>
|
||||
<button class="quick-action-btn" type="button" data-action="consultar-datos">
|
||||
<button class="quick-action-btn" type="button" data-action="query-data">
|
||||
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<line x1="6" y1="20" x2="6" y2="12"/>
|
||||
<line x1="11" y1="20" x2="11" y2="6"/>
|
||||
@@ -359,7 +358,7 @@
|
||||
</svg>
|
||||
<span>Consultar datos</span>
|
||||
</button>
|
||||
<button class="quick-action-btn" type="button" data-action="crear-respuesta">
|
||||
<button class="quick-action-btn" type="button" data-action="draft-response">
|
||||
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<line x1="18" y1="2" x2="22" y2="6"/>
|
||||
<path d="M7.5 20.5 19 9l-4-4L3.5 16.5 2 22z"/>
|
||||
@@ -368,15 +367,15 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Chat di testo SEMPRE VISIBILE (fissa in basso, tra stage e footer).
|
||||
Nota: ora è un blocco diretto del flex-col #app, non più un overlay
|
||||
destro → non c'è più bisogno del bottone toggle in topbar. -->
|
||||
<!-- Text chat ALWAYS VISIBLE, fixed between the stage and footer.
|
||||
The panel is now a direct child of the flex-column #app, so it
|
||||
no longer needs a topbar toggle for a right-side overlay. -->
|
||||
<div id="chat-panel" class="chat-panel chat-panel-inline" aria-label="Chat de texto">
|
||||
<div class="chat-panel-inner">
|
||||
<header class="chat-panel-header">
|
||||
<h3>Conversación</h3>
|
||||
<div class="chat-header-actions" aria-label="Acciones de la conversación">
|
||||
<!-- "En línea" status pill (green dot + text) — theme=white only.
|
||||
<!-- Online status pill (green dot + text) — theme=white only.
|
||||
Mirrors the screenshot chat header top-right corner. -->
|
||||
<span class="chat-status-pill" hidden data-theme-only="white" role="status" aria-live="polite">
|
||||
<span class="chat-status-dot" aria-hidden="true"></span>
|
||||
@@ -428,14 +427,14 @@
|
||||
<div id="bubble-stack" class="bubble-stack" aria-live="polite" aria-atomic="false"></div>
|
||||
|
||||
<!-- Webcam self-view, shown bottom-left while the camera tool is enabled.
|
||||
HIDDEN BY DEFAULT TODAY: riattivare togliendo hidden + scommentando listener in main.js -->
|
||||
HIDDEN BY DEFAULT TODAY: remove hidden and restore the main.js listener to reactivate. -->
|
||||
<div id="cam-pip" class="cam-pip" aria-hidden="true" hidden>
|
||||
<video id="cam-video" class="cam-video" autoplay playsinline muted></video>
|
||||
<span class="cam-flash" aria-hidden="true"></span>
|
||||
<span class="cam-label">camera</span>
|
||||
</div>
|
||||
|
||||
<!-- Left sidebar: reports programados.
|
||||
<!-- Left sidebar: scheduled reports.
|
||||
Desktop: fixed left, 320px, always visible (below topbar + above sticky footer).
|
||||
Mobile : off-canvas left overlay, toggled by #reports-sidebar-toggle button in topbar. -->
|
||||
<aside id="reports-sidebar" class="reports-sidebar" aria-label="Reportes programados" hidden data-theme-only="dark">
|
||||
@@ -615,8 +614,8 @@
|
||||
</label>
|
||||
|
||||
<!-- Camera tool row — HIDDEN BY DEFAULT TODAY.
|
||||
Per riattivarlo in futuro: togli hidden da div + small,
|
||||
scommenta listener toolCamSwitch + funzioni enableCamera in main.js. -->
|
||||
To reactivate later, remove hidden from the div and small,
|
||||
then restore the toolCamSwitch listener and enableCamera functions in main.js. -->
|
||||
<div class="tool-row tool-row-sep" id="tool-cam-row" hidden>
|
||||
<div class="tool-info">
|
||||
<span class="tool-name">Camera</span>
|
||||
|
||||
Reference in New Issue
Block a user