Files
meshcore-analyzer/tests
n30nex 82aafb53c3 fix(analytics): count roles within selected filters (#2275)
Analytics Nodes now counts roles from the same complete, filtered node
list used by Network Status. Region/area selections no longer display
the API's global role totals. The global API metadata remains available
to other consumers.

Fixes #2213.

Validation: RED reproduces the mismatching totals; all standalone
frontend suites and the unchanged server suite pass. Browser checks
cover region and area changes and empty results. Regressions also cover
501-node pagination, unknown roles, unchanged metadata and request
counts.

Counting happens inside the existing O(n) status pass, using six bounded
counters and no additional requests. No configuration changes. Common
ingestor validation is covered by the separate #2272 test-stability
change.
2026-10-25 12:10:36 +01:00
..