55 Commits
Author SHA1 Message Date
zeekayandHanzo Dev c2eb709742 fix(explore/ui): utilization status colors AA >=4.5:1 on #FAFAFA card bg (v1.1.12)
v1.1.11 landed the three money values (Reward/Value/Fee) at 4.54:1 and
killed the overflow + Menu-button clip, but the network-utilization %
mapped to --color-badge-bright-green-fg (#25855A) measured 4.39:1 on the
real #FAFAFA card background (not pure white) -- 0.11 under bar.

Add dedicated semantic status tokens (--color-status-good/warn/bad) with
darker light-theme shades (#1A7A47 / #B45309 / #B91C1C -> 5.1 / 4.8 / 6.1
:1 on #FAFAFA) and light shades for dark theme, and point
getNetworkUtilizationParams at them. All four home-page values now clear
4.5:1 on every brand.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-19 18:58:24 -07:00
zeekayandHanzo Dev 6d805a016a fix(explore/ui): kill shell overflow, white-on-white values, broken Menu button (v1.1.11)
Three write-once-deploy-4 root causes from the 4-res audit:

1. Horizontal overflow (454px @1280, 38px @1920). The shared layout
   Container forced 'min-w-[100vw] lg:min-w-[fit-content]', promoting the
   whole page to its ~1734px max-content width so stat/block cards clipped
   past the viewport. Make it a fluid column ('w-full min-w-0') and add
   'min-w-0' to MainColumn so the flex chain shrinks and inner
   overflow-x-auto regions scroll internally -> document.scrollWidth ==
   innerWidth at every breakpoint.

2. White-on-white values (block Reward / tx Value / tx Fee /
   network-utilization%). These passed legacy Chakra dot-tokens
   ('text.secondary', 'green.600'...) straight into an inline CSS 'color',
   which browsers drop as invalid -> the text inherited white. Add one
   resolveColorToken() helper (dot-token -> var(--color-*)), apply it in
   SimpleValue (the value chokepoint for Reward/Value/Fee), and point
   getNetworkUtilizationParams at real theme vars (bright badge fg shades,
   all >=4.5:1 on the light card bg).

3. Broken 'Menu' button: the wallet/settings button stacked a 20px icon
   over its label in a bare div inside a 32px overflow-hidden button (the
   '51px in 32px' clip that read as a stray hamburger at lg+). Lay the
   icon+label out horizontally (flex items-center gap-2, sized icon).

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-19 01:24:19 -07:00
zeekay 3813d03918 feat: explorer FE — stateless SSR, chain selector, localnet, registry cleanup 2026-03-01 18:00:00 -08:00
zeekay d6fe894153 feat: per-chain branding — logo, favicon, brand name customizable
- Add ChainBranding interface with logoSvg, faviconSvg, brandName per chain
- Each chain (Lux, Zoo, Hanzo, SPC, Pars) gets distinct icon + brand name
- TopBar renders chain-specific logo and brand name from registry
- ChainSwitcher shows per-chain icons in dropdown items
- Dynamic favicon via useChainFavicon hook (swaps SVG favicon on mount)
- Page title uses chain branding via getNetworkTitle()
2026-02-27 13:04:06 -08:00
tom d15c16ecfe customize fees section on tx page and add new option for network validation type 2025-10-14 12:16:26 +02:00
tom goriunovandGitHub b90448347a Unify network utilization color (#3000)
UX: Network utilization color

Resolves #2926
2025-09-04 13:59:30 +02:00
tom goriunovandGitHub 7505f154e6 OP Superchain: local views for chains in the cluster (#2864)
* update styles for chain widgets on home page

* update latest txs styles and slug creation algorithm

* list of local txs

* list of local blocks

* local view for address internal tx tab

* local view for address coin history

* local view for address logs

* local view for address token transfers

* address details, kind of

* [wip] local view for address contract tab

* user ops views

* chain popover

* csv-export page

* advanced filter page

* block countdown pages

* fixes for contract tab

* refactor address txs and transfers tabs

* refactor getServerSideProps

* internal txs page

* tokens and token transfers pages

* simple tag for address page and details info placeholders

* add chain icon to the local lists

* show creator in contract tab

* OP Superchain: local views for chains in the cluster

Fixes #2827

* highlight current chain in the title of local entities

* tokens nfts tab for address

* allow entity icon to be an image

* adjust cross-chain txs table and add placeholder to home page

* cross-chain txs for address

* fetch multichain config from microservice

* fix skeleton in token transfers table

* tests, pt.1

* wtf with gh

* verified contracts page

* change chain info in block and token page header

* fix some tests

* update styles for token icon with chain logo in header

* fix links and address internal txs tab

* update screenshots

* fix margins for tx info button and chain icon in tx tables

* add some tests

* fix screenshots
2025-08-15 15:32:47 +02:00
tom goriunovandGitHub d29849184d Replace lodash with es-toolkit (#2503)
* first part of migration

* second part of migration

* bump up es-toolkit version

* bump up `es-toolkit` version and remove `lodash` completely

* update screenshot
2025-01-14 12:30:05 +01:00
isstuev c608a1330c change verification type and validator title for Arbitrum and zkEvm 2024-07-25 15:46:25 +02:00
tom goriunovandGitHub e3551038af app feature list (#1079)
* metadata helpers and values for txs pages

* update titles to the rest of the pages

* refactor getServerSideProps

* dynamically update metadata for token and dapp page

* test

* 404 error page

* make new config

* make use of new config, delete old one

* feature reporter: dev implementation

* feature reporter: docker integration

* resctructure ENVS.md

* sentry feature

* refinements

* add spaces between sections

* tweaks

* switch to camelCase

* clean up

* remove NEXT_PUBLIC_NETWORK_TOKEN_ADDRESS

* v
2023-08-09 15:39:36 -04:00
tom goriunovandGitHub 460e5dc3df update page titles (#1065)
* metadata helpers and values for txs pages

* update titles to the rest of the pages

* refactor getServerSideProps

* dynamically update metadata for token and dapp page

* test

* 404 error page
2023-08-07 08:32:13 -04:00
tom d20e787b2c URL for featured networks config 2023-04-24 16:54:38 -03:00
tom c7e76cfa7c remove NEXT_PUBLIC_NETWORK_TYPE env 2023-04-24 13:48:07 -03:00
tom 49f1ee8f8f remove icons and logos from repo 2023-04-24 13:13:13 -03:00
tom bd8995e6bc other networks and logos for dark color mode 2023-04-21 17:52:04 -03:00
tom d69f69df2a gnosis, li-fi, rootstock 2023-04-21 14:28:38 -03:00
tom 1444ba4407 zetachain 2023-04-21 14:19:31 -03:00
tom 4fc4bc25e8 remove str.at() - not working in safari 14 2023-03-09 16:05:01 -06:00
tom b425e3c9ca logo, icon and gradient 2023-02-21 10:36:36 -05:00
tom b3fb2b7145 config variable 2022-12-02 15:46:26 +03:00
tom 767ccb3a5e short logo 2022-12-02 15:25:03 +03:00
tom 8664dad7d6 explorers links 2022-11-30 12:35:58 +03:00
tom 8ae7cde4a2 change goerli envs and add logo 2022-11-18 11:47:02 +03:00
tom goriunovandGitHub 88ea8b8310 Merge pull request #331 from blockscout/account-fixes
account fixes
2022-11-17 11:26:31 +03:00
tom 29c98b2d1b envs for goerli chain 2022-11-16 11:01:30 +03:00
tom d1fee3ed44 fix safari 14 issues 2022-11-15 17:14:22 +03:00
dcc0fb1d32 no base path (#294)
* env for base path

* delete base path

* redo network type

* debug review workflow

* update values

* update values

Co-authored-by: Yuliya Sharafitdinova <[email protected]>
2022-11-02 11:14:41 +03:00
tom 236eb29a31 refine app config 2022-10-24 15:35:34 +03:00
isstuev 2f6a8268d4 verification type in config 2022-10-20 19:17:43 +03:00
tom 865f457502 Merge branch 'main' of github.com:blockscout/frontend into other-explorers 2022-10-17 20:59:54 +03:00
tom 2c1bcd51f2 update import sort rule 2022-10-17 20:58:41 +03:00
tom db3a2d242c links to other explorers 2022-10-17 20:47:43 +03:00
tom 8cdf30025a remove useLink hook 2022-10-13 10:29:21 +03:00
tom f8d4dd6bb4 run target for poa core 2022-10-03 14:12:29 +03:00
tom ed81fe7d30 eslint rule for envs 2022-10-03 13:39:06 +03:00
tom 0cd53af29e pass url parts at run time 2022-10-03 12:49:08 +03:00
tom 5fd16bb05f rewrite useNetwork 2022-09-30 17:46:34 +03:00
tom aa92862992 rewrite pages seo 2022-09-30 17:17:59 +03:00
tom 3902534563 rewrite network menu 2022-09-30 16:59:11 +03:00
tom 51b745c361 Merge branch 'main' of github.com:blockscout/frontend into fix-ci-cd 2022-09-29 17:37:35 +03:00
tom 77373e3eb1 native token 2022-09-27 13:46:12 +03:00
tom 8027260c10 display currency of current network 2022-09-26 19:11:21 +03:00
tom 92adff4bdd update readme 2022-09-22 18:15:26 +03:00
tom 30855c4f00 Merge branch 'main' of github.com:blockscout/frontend into fix-ci-cd 2022-09-22 17:47:46 +03:00
Yuri MikhinandYuri Mikhin 6da9976c3d Add chainId prop to Network type. 2022-09-21 15:50:10 +03:00
tom 6db021460a replace build envs 2022-09-15 17:26:25 +03:00
tom 203685d7bf correct links for network with no sub type 2022-09-14 11:07:14 +03:00
tom 3dd7e421d9 network menu and rewrite prev implementation 2022-09-12 18:00:23 +03:00
tom 096805193b Merge branch 'main' of github.com:tom2drum/block-scout into tx-page-setup 2022-09-09 13:45:55 +03:00
isstuev 8beddec758 fix 2022-09-09 09:49:24 +03:00