Files
meshcore-analyzer/tests
n30nex 3bf678709f fix(ui): preserve navigation and menu focus during delayed updates (#2333)
Fixes #2332. Fixes #2335.

Two delayed UI updates could undo user actions. Rebuilding the More menu
removed its focused link; a late packet-list response could replace a
newly requested Nodes URL before `hashchange` ran.

The menu now preserves the selected destination when it stays in More or
moves inline, closes an empty menu, and leaves other controls' focus
alone. Packet URL updates now require the packets route, including its
existing detail/query forms. Observation selection and encoded filters
remain supported.

The changes add one lookup across the existing 12 navigation links and a
URL ownership check. No packet loop, API request, dependency, setting or
customizer change is added.

[Packet
RED](https://github.com/Kpa-clawbot/CoreScope/actions/runs/40409110743/job/121874676123)
fails four wrong-route assertions. [Menu
RED](https://github.com/Kpa-clawbot/CoreScope/actions/runs/40409898375/job/121877663579)
fails the intended focused-destination assertion after the packet
correction removes the competing navigation failure. GREEN is
`57522143`.

Local combined validation passes all 221 standalone frontend suites, 60
navigation browser checks, 17 branding/route checks and 11
filter/deep-link checks. The packet regression controls delivery of a
real API response; substituting the original code still fails it.
Existing exact title assertions remain; diagnostics now report the
actual title. Backend source trees are unchanged from the tested
baseline.

[Final
CI](https://github.com/Kpa-clawbot/CoreScope/actions/runs/40410894023)
passes on `57522143`, including all three browser shards and both
architecture builds. Three independent source reviews found no blockers.
Final repository checks and after-push browser verification pass. Ready
for maintainer review.
2026-10-28 21:55:40 +01:00
..