feat(F-175): completed feature

This commit is contained in:
chattie
2026-08-22 18:35:10 +02:00
parent 5d90dd32de
commit 348003d168
12 changed files with 42 additions and 40 deletions

View File

@@ -6973,13 +6973,15 @@
"description": "Collapsed admin sidebar must use logo-main.webp three-leaf favicon mark instead of logo-main.png.",
"priority": "high",
"risk": "low",
"status": "pending",
"status": "done",
"created_at": "2026-08-22",
"gates": {
"reviewer": false,
"security": false,
"qa": false
}
"reviewer": true,
"security": true,
"qa": true,
"close": true
},
"completed_at": "2026-08-22T16:35:10Z"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -103,7 +103,7 @@ function Sidebar({ role, email, collapsed, mobileOpen, onCloseMobile, onLogout }
className={`mx-auto h-9 w-auto object-contain ${collapsed ? 'lg:hidden' : ''}`}
/>
<img
src="/images/logo-main.png"
src="/images/logo-main.webp"
alt="mercadodevida"
className={`mx-auto hidden h-9 w-9 object-contain ${collapsed ? 'lg:block' : ''}`}
/>

View File

@@ -0,0 +1,3 @@
# F-175 — Diseño
Fuente visual: favicon frontend 32×32 RGBA (marca de tres hojas). Convertir lossless a WebP local y referenciar `/images/logo-main.webp` solo en collapsed.

View File

@@ -0,0 +1,3 @@
# F-175
Sidebar cerrado usa logo WebP de tres hojas.

View File

@@ -0,0 +1,3 @@
# F-175 — Implementer
Generado logo-main.webp lossless desde favicon de tres hojas y usado solo en sidebar collapsed. Build/tsc PASS.

View File

@@ -0,0 +1 @@
{"feature_id":"F-175","agent":"leader","stage":"close","verdict":"APPROVED","checks":[{"item":"all gates/build","ok":true}],"issues":[]}

View File

@@ -0,0 +1 @@
{"feature_id":"F-175","agent":"qa","stage":"qa_gate","verdict":"APPROVED","checks":[{"item":"collapsed uses logo-main.webp","ok":true},{"item":"expanded keeps png","ok":true},{"item":"build","ok":true}],"issues":[]}

View File

@@ -0,0 +1 @@
{"feature_id":"F-175","agent":"reviewer","stage":"review_gate","verdict":"APPROVED","checks":[{"item":"correct WebP asset","ok":true},{"item":"build","ok":true}],"issues":[]}

View File

@@ -0,0 +1 @@
{"feature_id":"F-175","agent":"security","stage":"security_gate","verdict":"APPROVED","checks":[{"item":"local asset","ok":true}],"issues":[]}

View File

@@ -1,16 +1,3 @@
# F-163Make POS terminal and cash session setup usable
# F-175Use logo-main.webp in collapsed sidebar
## Qué significa
- **Vincular terminal**: asociar este navegador/dispositivo a una caja física mediante un código generado en Admin → TPV.
- **Sesión de caja**: turno diario de efectivo. Antes de vender se indica fondo inicial y se abre la caja.
## Implementación
- Nueva entrada/página Admin **TPV**: explicación, tiendas, terminales, creación y código de vinculación.
- Aceptar el UUID fijo de la tienda por defecto al crear terminal.
- POS muestra formulario para abrir caja cuando no hay sesión OPEN; deja de mandar al operador a una pantalla admin inexistente.
## Aceptación
1. Admin puede crear terminal y obtener código.
2. Dispositivo puede vincularse con ese código.
3. Cajero puede abrir sesión indicando efectivo inicial.
4. Tras abrir, aparece la pantalla de venta.
Convertir el favicon de tres hojas a `admin/public/images/logo-main.webp` y usarlo exclusivamente en estado desktop collapsed. Expanded conserva logo-main.png completo.

View File

@@ -1,68 +1,68 @@
{
"feature_id": "F-163",
"feature_id": "F-175",
"stage": "close",
"agent": "leader",
"action": "Close usable TPV setup",
"action": "Close collapsed WebP logo fix",
"state": "running",
"next_agent": "leader",
"waiting_for": "Seleccionar una feature pending y actualizar este estado",
"updated_at": "2026-08-22T16:33:09Z",
"updated_at": "2026-08-22T16:35:10Z",
"timeline": [
{
"ts": "2026-08-22T16:25:44Z",
"ts": "2026-08-22T16:33:56Z",
"agent": "leader",
"stage": "intake",
"state": "running",
"message": "Make terminal binding and cash opening self-service"
"message": "Create three-leaf collapsed sidebar WebP asset"
},
{
"ts": "2026-08-22T16:26:32Z",
"ts": "2026-08-22T16:34:09Z",
"agent": "architect",
"stage": "design",
"state": "running",
"message": "Design Admin terminal setup and POS cash opening"
"message": "Specify collapsed favicon-derived WebP"
},
{
"ts": "2026-08-22T16:26:57Z",
"ts": "2026-08-22T16:34:23Z",
"agent": "implementer",
"stage": "build",
"state": "running",
"message": "Implement terminal admin page and cash opening"
"message": "Generate and render logo-main.webp"
},
{
"ts": "2026-08-22T16:31:54Z",
"ts": "2026-08-22T16:35:09Z",
"agent": "reviewer",
"stage": "review_gate",
"state": "running",
"message": "Review end-to-end terminal and session setup"
"message": "Review WebP logo"
},
{
"ts": "2026-08-22T16:32:07Z",
"ts": "2026-08-22T16:35:09Z",
"agent": "security",
"stage": "security_gate",
"state": "running",
"message": "Audit TPV admin RBAC and binding cookies"
"message": "Check local asset"
},
{
"ts": "2026-08-22T16:32:29Z",
"ts": "2026-08-22T16:35:09Z",
"agent": "qa",
"stage": "qa_gate",
"state": "running",
"message": "Validate create-bind-open-config workflow"
"message": "Validate collapsed WebP logo"
},
{
"ts": "2026-08-22T16:32:56Z",
"ts": "2026-08-22T16:35:09Z",
"agent": "documenter",
"stage": "document",
"state": "running",
"message": "Document terminal and cash session concepts"
"message": "Document logo asset"
},
{
"ts": "2026-08-22T16:33:09Z",
"ts": "2026-08-22T16:35:10Z",
"agent": "leader",
"stage": "close",
"state": "running",
"message": "Close usable TPV setup"
"message": "Close collapsed WebP logo fix"
}
]
}