Merge origin/dashboard-test: CaMa wired to the published catalog, with the mock's views kept

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.
This commit is contained in:
rockdrigo
2026-11-12 13:35:39 -06:00
98 changed files with 5383 additions and 1106 deletions
+15 -3
View File
@@ -25,9 +25,7 @@
--space-8: 48px;
--space-9: 64px;
/* Aliases for the `--issste-*` tokens the vendored `features/indicadores`
module (fork `dev`) is written against, so it can be pulled in byte-
identical rather than rewritten against our own naming. */
/* Aliases for the tokens used by `features/indicadores`. */
--issste-text: var(--color-text);
--issste-text-secondary: var(--color-text-secondary);
--issste-background: var(--color-background);
@@ -45,6 +43,20 @@
--issste-radius: 4px;
}
/* The indicators experience: Roboto headings and square corners with a slight rounding (no pills), as in the
reference. Scoped to the pages with the indicators header; `body` so that overlays (menus, selects, dialogs)
share it. Rajdhani stays the heading font of the other routes. */
body:has(.app-shell--indicadores) {
--issste-font-heading: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
--issste-radius: 4px;
--mat-sys-corner-extra-small: 2px;
--mat-sys-corner-small: 2px;
--mat-sys-corner-medium: 4px;
--mat-sys-corner-large: 4px;
--mat-sys-corner-extra-large: 6px;
--mat-sys-corner-full: 4px;
}
html {
height: 100%;
@include mat.theme(