mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 17:36:15 -08:00
The Remote Control nav item carried id: '@iptvnator/ui/remote-control' — the NX library name pasted in place of the section's HTML id. The settings-section-scroll directive resolves the target with document.getElementById(), which returned null for that string, so clicking "Remote" silently no-op'd. The active-state binding ([class.settings-group--active]="activeSection() === 'remote-control'") also never lit up because the nav reported a different id than the section template uses. Change the nav id to 'remote-control' so it matches the section's id="remote-control" attribute. Added a focused regression spec (settings-options.spec.ts) that: - asserts the desktop-only items light up only when isDesktop is true, - reads each section component's root <section id="…"> at test time and cross-checks the nav id set against it, so any future drift between the two (renamed section, new section without nav entry, copy-paste of a library path into the id) fails the build. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>