Repository navigation
fix(analytics): open each subpath detail once per row click - #2474
Merged
Merged
Conversation
Contributor
Author
|
Independent review complete at |
n30nex
marked this pull request as ready for review
November 24, 2026 01:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Red commit:
bf835b794(failing workflow).Fixes #2465. Route Patterns now attaches its row-click handler to the list created by each render. Changing the theme or tab replaces that list and its handler together. One click opens the selected route once.
After three renders, the original UI called the detail loader three times on the first click and six times across two clicks. The shared API cache combined requests for the same route. The fix produced one call per click and preserved the selected row. No additional requests or per-row listeners are needed.
Browser verified:
http://localhost:15265/#/analytics?tab=subpaths. All 256 standalone suites passed. The VM test and the browser regression reproduced the duplicate calls on the tests-only revision.E2E assertion added:
tests/e2e/test-e2e-playwright.js:1237. In a combined browser check with #2462, two clicks opened two details and a late response for the first route preserved the second route’s panel.