dashboard-test is the base for every CaMa feature both branches built; this
branch's TEA and CaCu work (from the TEA mock) and its later CaMa views are
kept on top of it.
How:
- From dashboard-test: the opportunity strip with pending cards
(camaKpiCards, CAMA_OPORTUNIDAD_KPIS), the histopathology view drawn from
the published BI-RADS matrix, the pending histopathology card, the
follow-up table component (app-seguimiento-tabla), the paired BI-RADS
counts, the deferred domain selector in the header, the compact filter row
for CaMa, the quiet «Disponible» state and the stricter KPI rules (no rate
without a denominator, no median without observations).
- Kept from this branch: the single-period filters and the indicator
selector of every domain (instead of the side navigation and «Modalidad»),
TEA's Histórico grouping and summary paragraph, CaCu's views, the
catalog-driven scenario and confirmation pickers, the Análisis tab, no
pins or figure count below five indicators, and no representation
selector on the cards.
- Histórico: this branch's component, which serves TEA and CaMa, with
dashboard-test's fixed CaMa panel list (HISTORICO_CAMA) and pending
panels; figures merged (dashboard-test's stricter series rules plus the
shared scales, EEG colours and in-process chart of TEA).
- Specs: this branch's for shared components; dashboard-test's for its CaMa
components. Expectations that contradicted the kept design (TEA without
Histórico, «Modalidad», side navigation, four entries in
KPI_BY_DOMAIN.cama) now state the merged behaviour.
Implications:
- CaMa search and pins never show; its cards are what the summary draws.
- The four CaMa opportunity cards are pending until the catalog publishes
their indicator; the mock publishes all four.
- The histopathology view still has its label buttons and inner labels;
this branch's expandable donut for CaMa is no longer used.
Tokens are set on body when the indicators header is present, so menus, selects and dialogs share them; the other routes keep Rajdhani and their shapes.
(cherry picked from commit f5103b483d9d7188b4feffe91beda38d997004d4)
How: --issste-radius is 4px instead of Material's medium corner (12px), and
the Material shape tokens are overridden after mat.theme (corner-full 4px, so
buttons stop being pills; medium and large 4px; extra-large 6px). The
indicators feature's 999px pills (legend buttons, EEG badges) use the shared
radius. Headings use Roboto at weight 500 instead of Rajdhani at 700, a step
smaller: page title 1.75rem, section titles 1.25rem, card titles 1.125rem,
KPI titles 1rem and KPI values 1.75rem; the header title is 1.25rem.
Implications: the corner tokens are global, so Conectar and Gobernanza (dialogs,
panels, buttons) also get square corners; their own 999px chips are unchanged.
Circles drawn with 50% (dots, swatches) stay round. Rajdhani is no longer used
anywhere, so it can be dropped from the font assets. No behaviour changes.
Resumen
- Estado del caso (completo, en proceso, fuera del protocolo) al cierre del
periodo, en una figura y en el párrafo, separado de diagnóstico confirmado.
- Tiempos por paso: M-CHAT a ADOS-2, ADOS-2 a diagnóstico y total.
- Un solo formato: barras. M24 son barras apiladas por grupo de edad.
- «Descargar reporte» abre la impresión con el periodo y los indicadores
seleccionados.
Histórico
- Porcentaje de casos en proceso, tiempos por paso en la misma escala y
calidad de los EEG (indicador solo de esta pestaña, con `vistas`).
- Ejes con unidades y fechas como «mar 2025».
Seguimiento
- Columna y filtro de estado del caso, con lo que falta.
- Filtro por tipo de alteración y resumen de EEG que sigue los filtros.
- Módulo de ADOS-2 junto al puntaje.
- Tarjetas de alteraciones: al elegir una se apartan y aparece su mapa, sin
caja, con leyenda de colores. Referencia por grupo de edad.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Se quita el botón flotante de navegación por indicadores.
- Cada opción de «Buscar indicadores» tiene un enlace «Ir» que lleva a su
tarjeta (y la muestra si estaba oculta por la selección).
- Resumen del paciente en Seguimiento más compacto; «Puntajes por reactivo»
plegado por defecto, con un triángulo para desplegarlo.