Repository navigation
Keep open health and route details through the startup theme refresh - #2488
Conversation
|
Kent Beck Gate: NEEDS-WORK on |
|
Review feedback addressed (commit
Kent Beck Gate: PASS (test quality) on |
|
Thanks, the logic is right and the E2E red/green holds as described (30/30 on head, 4 fail on It needs a rebase on master: #2446 ( One trap in that rebase: master already has |
d45e8a3 to
cfcbc72
Compare
|
Review feedback addressed (commit
|
|
Kent Beck Gate: PASS (test quality) on |
Brings in Kpa-clawbot#2457, Kpa-clawbot#2490, Kpa-clawbot#2488, Kpa-clawbot#2500 and Kpa-clawbot#2455. Conflicts were two added lines on each side: the eslint globals (frameHex/frameSize and NeighborRank) and the deploy.yml E2E suite list (the privacy-on suite and test-neighbor-rank-e2e.js); both kept. The leak test now requests Kpa-clawbot#2457's /api/nodes/neighbor-rank, which serves no positions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes #2464. Home keeps the selected health card and any open packet journey when the startup theme arrives. Analytics keeps the selected route and refreshes its distances and map. A hop-filter change restores a route only if it remains visible.
Both pages reuse their original detail request, including one in flight. A failed Route Patterns list can retry on the next theme refresh. Leaving the page keeps the detail closed.
Rebased on
31aabf6b3after #2446. Both pages now use master’s map teardown and tile-sync unregister helpers. The tests open each detail, trigger the delayed theme and navigate away. Reintroducing a duplicate helper made both cleanup assertions fail.On the new base, the tests reproduced the lost Home card, lost route, and lost eligible filtered route. All 35 Chromium map-provider checks passed locally on the fix, including the cross-tab tile settings and six late-theme cases. The filter tests also exercise selected routes with no mapped coordinates. Mapped routes still check rendered tiles and unregister on teardown. Twelve related unit suites passed. Rebased regression run