Auto-detect search address type#38
Open
crossagent-production-app[bot] wants to merge 2 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
4951490 to
094c70c
Compare
Contributor
Author
Delivery Evidence SummaryChange:
Objective Evidence:
Visual Evidence:
Reviewer:
Risks / Not Covered:
Generated at: 2026-05-25T15:23:43.225Z |
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.

Refs #2
Change:
/api/scan/check_hashauto-detection change onto the currentcrossagentUI branch.Auto Detect./sub/account/<address>without using the selected block type./api/scan/check_hash; manual selector options remain as fallback.Objective Evidence:
npm test -- --runTestsByPath src/__tests__/components/Navbar.test.tsx --runInBandpassed.npm run lint -- --file src/components/navbar/navbar.tsx --file src/utils/api.ts --file src/__tests__/components/Navbar.test.tsxpassed.go test ./util/address -run TestDetectSearchType -count=1passed.git diff --checkpassed.crossagent/evidence.npm run buildgot past the new navbar type-check and failed later on existing app-wideNextRouter was not mountedprerender errors across unchanged routes such as/sub/account,/address/[id],/tx/[id], and/contract/[id].Browser Evidence:
npm run dev -- --hostname 127.0.0.1 --port 3037.node <<'NODE' ... require('playwright') ... NODEpassed againsthttp://127.0.0.1:3037/.Auto Detectsearch -> enter47BHMeKG1Q36gU6WP9ZGiqFhEPF5BhfyTVn9NSaemMd9e9uP-> routed to/sub/account/47BHMeKG1Q36gU6WP9ZGiqFhEPF5BhfyTVn9NSaemMd9e9uPand rendered the account page with no framework overlay.https://github.com/litentry/subscan-essentials/pull/38; the evidence image rendered at 1440x900.Risks / Not Covered:
https://explorer.heima.network/is still running the old behavior at validation time; it routed the same address as/sub/block/.... This PR proves the fixed behavior locally against the current UI branch.