feat(indicadores): domain navigation moves to the header; searchVisible reads the catalog before the domain

The in-page domain buttons are removed, since the header selector replaces them. Also fixes a computed that, after a visit to CaMa, never became true again, so CaCu and TEA lost their search box when switched to from CaMa.

(cherry picked from commit 3678c3653b33fcb98ba2334ca8f03f838dc86440)
This commit is contained in:
Angel Capetillo Zavala
2026-11-12 01:21:53 -06:00
parent d761a6fb1a
commit ff03a88ea0
7 changed files with 74 additions and 57 deletions
@@ -44,8 +44,8 @@ describe('UX-04 navegación Angular', () => {
const harness = await setup();
await harness.navigateByUrl('/indicadores/' + domain, IndicadoresPage);
load(domain, harness); harness.detectChanges();
// Our shell keeps the domain nav on the page itself, see indicadores-page.html.
expect(harness.routeNativeElement!.querySelectorAll('nav.domain-nav a')).toHaveLength(3);
// The domain links are in the shell's header selector (app-encabezado.spec.ts); the page has none of its own.
expect(harness.routeNativeElement!.querySelectorAll('nav.domain-nav')).toHaveLength(0);
http.expectNone(() => true);
});
it('mantiene la ruta, restaura borradores y reconsulta la aplicación entre TEA/CaCu/CaMa', async () => {