fix(ui): align explorer labels with the selected network - #188
Merged
Merged
Conversation
QRL Testnet v3 in the explorer network menu now opens v3.zondscan.com instead of showing a disabled Upcoming badge. The network catalog carries an href per network; the build's own network is selected with NEXT_PUBLIC_EXPLORER_NETWORK (default testnet-v2) and marked active, other live networks render as links in the desktop menu and the phone navigation, and their badge reads Devnet in all four locales. Claude-Session: https://claude.ai/code/session_01FNiKphhAvq1TjaQ1ESiEBP
Contributor
Author
|
Independent review: no correctness blockers. The shared selector prerequisite matches the previously served behavior; runtime changes are limited to the header subtitle and gas tooltip. The 12 new regression cases passed independently. Restoring either old hardcoded label in an isolated test copy causes the expected v3 failures. Full suite: 333 tests pass; typecheck, changed-file lint, formatting and three navigation E2Es pass. Public v2/v3 browser checks pass in English and Spanish at phone and desktop widths, including faucet CAPTCHA rendering. No claims submitted. Generated type-path drift excluded; dependency, routing and runtime configuration preserved. V3 display patch is live with rollback retained. |
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.
Summary
Make the explorer header subtitle and gas-price tooltip follow the selected build network. V2 keeps its existing labels; v3 displays QRL Testnet v3, including the existing translated header labels.
Includes the existing cross-explorer selector commit as its prerequisite, bringing the already-served selector behavior into the integration branch. Adds network configuration and rendered component regressions, and updates the phone selector test to expect the live v3 link.
Validation
Release scope
The live patch changes only the two display components in the existing v3 release. Dependencies, API/RPC routing, environment, address handling and transaction behavior are preserved. The prior frontend build and source files are retained for rollback. Faucet checks are read-only; no claim was submitted.
Screenshot