Repository navigation
Add home search, subdomains, network switch on navbar - #89
Merged
Merged
Conversation
- Add HomeSearchBar component to home page that detects input type (address, transaction hash, block number, ENS name) - Show dropdown with available networks when valid pattern is detected - Support direct navigation to ENS URLs (e.g., /1/address/vitalik.eth) - Add ENS resolution in address page with loading and error states - Configure webpack dev server to allow dots in URLs (disableDotRule) - Add CSS styles for search bar and dropdown
Add subdomain configuration for network and profile pages: - ethereum → /1 (Ethereum Mainnet) - openscan-app → /profile/app/openscan - openscan-org → /profile/organization/openscan - weenus → Weenus token on Sepolia Changes: - Add subdomain config file with enabled subdomain mappings - Add subdomain detection utilities for localhost/production - Add SubdomainRedirect component in App.tsx - Update navbar to show network icon when on subdomain network - Add dropdown menu to navigate between OpenScan home and network - Invalid subdomains redirect to base domain
- Add Hardhat (31337) network config injection when both development mode is enabled and 31337 is in REACT_APP_OPENSCAN_NETWORKS - Add 31337 to EVMAdapter and adaptersFactory supported networks - Fix OpenScan URL in run-test-env.sh (3030 instead of 3000)
|
🚀 Preview: https://pr-89--openscan.netlify.app |
- Add localhost/Hardhat subdomain config (enabled in dev mode only) - Update navbar dropdown to show all networks with subdomain support - Current network shown first with active state - Other networks listed below - Divider separates networks from OpenScan home option - Add CSS for active state and divider
AugustoL
marked this pull request as ready for review
December 11, 2025 22:09
MatiasOS
approved these changes
Dec 12, 2025
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.
New Features
Home Page Search Bar with ENS Support
Subdomain Routing System
ethereum→/1,localhost→/31337(dev only),openscan-app,openscan-org,weenus(Sepolia token)Navbar Network Switcher
Hardhat Network Support in Development
REACT_APP_OPENSCAN_NETWORKSBug Fixes
Dependencies
explorer-network-connectorsto0.1.0