diff --git a/backlog/features.json b/backlog/features.json index 4ce6cd9..9874be4 100644 --- a/backlog/features.json +++ b/backlog/features.json @@ -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" } ] } diff --git a/project/apps/admin/public/images/logo-main.webp b/project/apps/admin/public/images/logo-main.webp new file mode 100644 index 0000000..d0804af Binary files /dev/null and b/project/apps/admin/public/images/logo-main.webp differ diff --git a/project/apps/admin/src/app/(dashboard)/layout.tsx b/project/apps/admin/src/app/(dashboard)/layout.tsx index 57eff25..98abba0 100644 --- a/project/apps/admin/src/app/(dashboard)/layout.tsx +++ b/project/apps/admin/src/app/(dashboard)/layout.tsx @@ -103,7 +103,7 @@ function Sidebar({ role, email, collapsed, mobileOpen, onCloseMobile, onLogout } className={`mx-auto h-9 w-auto object-contain ${collapsed ? 'lg:hidden' : ''}`} /> diff --git a/work/artifacts/F-175/architect.md b/work/artifacts/F-175/architect.md new file mode 100644 index 0000000..9951dd6 --- /dev/null +++ b/work/artifacts/F-175/architect.md @@ -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. diff --git a/work/artifacts/F-175/documenter.md b/work/artifacts/F-175/documenter.md new file mode 100644 index 0000000..cc78b9f --- /dev/null +++ b/work/artifacts/F-175/documenter.md @@ -0,0 +1,3 @@ +# F-175 + +Sidebar cerrado usa logo WebP de tres hojas. diff --git a/work/artifacts/F-175/implementer.md b/work/artifacts/F-175/implementer.md new file mode 100644 index 0000000..b986823 --- /dev/null +++ b/work/artifacts/F-175/implementer.md @@ -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. diff --git a/work/artifacts/F-175/leader-close.json b/work/artifacts/F-175/leader-close.json new file mode 100644 index 0000000..dc40433 --- /dev/null +++ b/work/artifacts/F-175/leader-close.json @@ -0,0 +1 @@ +{"feature_id":"F-175","agent":"leader","stage":"close","verdict":"APPROVED","checks":[{"item":"all gates/build","ok":true}],"issues":[]} diff --git a/work/artifacts/F-175/qa.json b/work/artifacts/F-175/qa.json new file mode 100644 index 0000000..9f26399 --- /dev/null +++ b/work/artifacts/F-175/qa.json @@ -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":[]} diff --git a/work/artifacts/F-175/reviewer.json b/work/artifacts/F-175/reviewer.json new file mode 100644 index 0000000..1d8e526 --- /dev/null +++ b/work/artifacts/F-175/reviewer.json @@ -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":[]} diff --git a/work/artifacts/F-175/security.json b/work/artifacts/F-175/security.json new file mode 100644 index 0000000..82d11fe --- /dev/null +++ b/work/artifacts/F-175/security.json @@ -0,0 +1 @@ +{"feature_id":"F-175","agent":"security","stage":"security_gate","verdict":"APPROVED","checks":[{"item":"local asset","ok":true}],"issues":[]} diff --git a/work/current.md b/work/current.md index 93e9a2b..397c187 100644 --- a/work/current.md +++ b/work/current.md @@ -1,16 +1,3 @@ -# F-163 — Make POS terminal and cash session setup usable +# F-175 — Use 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. diff --git a/work/runtime-status.json b/work/runtime-status.json index e6b542b..85c74e5 100644 --- a/work/runtime-status.json +++ b/work/runtime-status.json @@ -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" } ] }