72 Commits
Author SHA1 Message Date
Igor StuevandGitHub 1a3912aec5 fix watchlist net worth (#3312) 2026-03-02 14:34:07 +01:00
tom goriunovandGitHub 932add9d96 Change zero to <0.001 value within different pages (#3150)
* basic components and address page refactoring

* second part of refactoring

* third part of refactoring

* NativeCoinValue component

* more refactoring

* rename TruncatedValue into TruncatedText

* minor fixes

* refactor block details

* fix layout of value and fee in tx table

* update screenshots

* different units for tooltip and stats widget small value fix

* update screenshots

* update tx table screenshot

* fix copy button vertical alignment
2025-12-05 16:04:27 +01:00
Igor StuevandGitHub ec76ae30a1 UI/UX: Scam tokens tooltip (#3018)
* UI/UX: Scam tokens tooltip

* review fixes
2025-09-26 22:40:04 +02:00
Igor StuevandGitHub ebb3fb9b6f eslint default export (#2995)
* eslint default export

* fix linter error
2025-09-15 15:20:59 +02:00
tom goriunovandGitHub f0e713b877 Add support for customizing the UI color theme (#2923)
* UI customizations: new features

Fixes #2905

* colors for graphs

* introduce env variable

* colors for topbar, stats, selected state and tabs

* fix build

* fix validator

* refactor link.primary.hover color token

* refactor selected colors

* update styles for switch and fix some color tokens

* change color for selectable controls

* icon color tokens refactoring

* UI customizations: new features

Fixes #2905

* test for common components

* tweaks

* migrate from color-mode-hex cookie to color-theme cookie

* clean up

* update screenshots

* more screenshot updates

* update default color of chart line

* update envs for mega eth
2025-08-19 11:58:05 +02:00
tom goriunovandGitHub fae4990e1f API resource refactoring (#2699)
* add prefix to API resources

* fix pw tests

* refactor config

* remove unnecessary prefixes in resource names

* fixes

* update screenshots
2025-05-01 15:22:38 +02:00
tom 6c0c4b14c3 Merge branch 'main' of github.com:blockscout/frontend into release/v2-0-0 2025-04-24 13:15:30 +02:00
tom goriunovandGitHub 35dd080043 Migrate to the props with consistent full naming in the API for addre… (#2694)
* Migrate to the props with consistent full naming in the API for address hash entity and multiple props for L2-rollups

Fixes #2686

* fix test
2025-04-24 13:13:18 +02:00
tom baee6d42fa Merge branch 'main' of github.com:blockscout/frontend into release/v2-0-0 2025-04-21 19:47:03 +02:00
tom goriunovandGitHub f6725649da UI toolkit package (#2691)
* first version of the pack

* single entry point

* add custom components to the package

* move form components to toolkit

* add more utils and hooks to the package

* minor fixes

* add CI workflow

* update readme and package.json

* fix ts

* fix build of env-validator

* fix docker build

* fix icons size

* test fixes

* more test fixes
2025-04-21 19:44:22 +02:00
tom 0e9f48d788 fix watchlist notification toggle 2025-04-21 13:25:01 +02:00
tom 39887d6f07 amends 2025-03-24 14:58:27 +01:00
tom 0032590eb0 watchlist page refactoring 2025-02-07 19:57:18 +01:00
Igor StuevandGitHub 6c2356d607 remove skeleton animations (#2505)
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
2025-01-06 16:57:22 +01:00
48b39022d3 Account v2 (#2262)
* simple profile button and auth modal layout

* connect email and code screens to API

* add screens to modal for wallet authentication

* migrate to pin input

* user profile menu

* refactor otp field

* fix passing set-cookie from api response

* add wallet info into profile menu

* add mobile menu

* show connected wallet address in button

* my profile page re-design

* custom behaviour of connect button on dapp page

* style pin input

* add logout

* handle case when account is disabled

* handle case when wc is disabled

* remove old components

* refactoring

* workflow to link wallet or email to account

* link wallet from profile

* show better OTP code errors

* add email alert on watchlist and verified addresses pages

* deprecate env and remove old code

* remove code for unverified email page

* add auth guard to address action items

* move useRedirectForInvalidAuthToken hook

* add mixpanel events

* refetch csrf token after login and fix connect wallet from contract page

* Add NEXT_PUBLIC_RE_CAPTCHA_V3_APP_SITE_KEY env

* migrate to reCAPTCHA v3

* resend code and change email from profile page

* better wallet sign-in message error

* fix demo envs

* update some screenshots

* profile button design fixes

* fix behaviour "connect wallet" button on contract page

* fix linking email and wallet to existing account

* bug fixes

* restore the login page

* update screenshots

* tests for auth modal and user profile

* add name field to profile page and write some tests

* [skip ci] clean up and more tests

* update texts

* change text once more

* fix verified email checkmark behaviour

* pass api error to the toast while signing in with wallet

* [skip ci] disable email field on profile page

* bug fixes

* update screenshot

* Blockscout account V2

Fixes #2029

* fix texts and button paddings

* Form fields refactoring (#2320)

* text and address fields for watchlist form

* checkbox field component

* refactor private tags form

* refactor api keys and custom abi

* refactor verifiy address and token info forms (pt. 1)

* refactor token info forms (pt. 2)

* refactor token info forms (pt. 3)

* refactor public tags form

* refactor contract verification form

* refactor contract audit form

* refactor auth, profile and csv export forms

* renaming and moving

* more refactoring and test fixes

---------

Co-authored-by: aagaev <[email protected]>
2024-10-30 12:56:57 +01:00
isstuev c2b4eb4011 Table: table header left/right hor padding 2024-10-21 12:34:00 +02:00
tom goriunovandGitHub 124ccf1ce1 Bump up packages versions (#2229)
* Bump up packages vertions

* fix wagmi config, wc csp policy and id type in account resources
2024-09-11 19:24:16 +02:00
tom ae09531748 Custom 'wei' name
Fixes #1490
2024-01-18 18:41:00 +04:00
tom 87bbfdd449 migration: next part 2023-12-20 14:09:33 +04:00
isstuev 77aae5717f fix watchlist toast 2023-12-18 10:08:23 +01:00
cfa7ac7bc2 watchlist and private tags pagination (#1333)
Co-authored-by: isstuev <[email protected]>
2023-11-08 10:12:23 -03:00
tom goriunovandGitHub c559061506 migrate to ReactQuery v5 (#1321)
* change signature of hooks

* isLoading -> isPending

* default error type

* dev tools props
2023-11-02 10:27:41 -03:00
isstuev 6ae95f2824 fix nan net worth for an empty address 2023-10-25 13:34:46 +02:00
tom goriunovandGitHub bad9591ed1 update icon styles for tokens, contract and more (#1204)
* update border radius for token logos and contract icon

* update gaps between icons and text

* update NFT icon and create entity

* update screenshots
2023-09-25 14:29:26 -03:00
tom 26ec375143 remove usage of TokenLogo 2023-08-30 18:52:27 -03:00
tom e239b74125 remove AddressSnippet and Address components 2023-08-29 19:20:11 -03: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
isstuev 8202c25699 get tokens info from watchlist responce 2023-08-07 18:02:12 -03:00
tom 28359e1f85 Merge branch 'main' of github.com:blockscout/frontend into skeletons/blocks-and-txs 2023-05-24 17:00:15 -03:00
tom 7325b90a47 Merge branch 'main' of github.com:blockscout/frontend into skeletons/account 2023-05-23 08:52:10 -03:00
tom 08fad35534 add token icon url 2023-05-17 11:49:14 -03:00
tom f4fe266bfd Icon component with skeleton 2023-05-16 09:26:17 -03:00
tom 30faf9f1c0 skeletons for watchlist page 2023-05-12 13:52:15 -03:00
isstuev c97bb43091 design-fixes 2023-03-23 22:35:27 -03:00
isstuev 232b32ba7d contract icon for all addresses 2022-12-29 10:55:51 +03:00
tom 1af06b91e0 Merge branch 'main' of github.com:blockscout/frontend into client-api-calls 2022-12-24 13:28:14 +04:00
tom 3f2aae927d watchlist resource 2022-12-20 10:00:43 +03:00
tom 4adae0b64c disable animation for list item on mobile where it is not needed 2022-12-16 15:51:44 +03:00
isstuev 1001b333e0 notifications switch: fixes, add toast 2022-12-06 12:08:41 +03:00
isstuev 653edd9116 fix watchlist padding and colors 2022-11-28 17:39:29 +03:00
tom fdbaea0f4e move nativeTokenAddress under currency property in config 2022-11-24 10:46:49 +04:00
tom a136ff62ca fix watchlist table item layout 2022-11-15 16:59:10 +03:00
isstuev 9f56bb90e9 new version of sticky, probably final 2022-10-31 11:24:39 +03:00
5ddd723bd8 Update routing (#265)
* update routing

* debug routing

* debug profile page

* add app protocol

* prefix nextjs api path

* remove debug

* debug routing

* debug deploy

* debug routing

* fix after merge

* delete port and protocol

* hard reload page for nav links

* fix logo

* add marketplace to sokol

* debug values for review

* add login link

* seamless page transition inside new ui app

* logout link

* debug values for review

* add redirect from profile to auth

* static assets

* debug review workflow

* update values for all envs

Co-authored-by: Yuliya Sharafitdinova <[email protected]>
Co-authored-by: tom <[email protected]>
2022-10-27 21:50:58 +03:00
Yuri MikhinandYuri Mikhin 3042b63bf9 fixup! Add more data to pass into the marketplace child application. 2022-10-20 15:31:26 +03:00
Yuri MikhinandYuri Mikhin 0f6afc9e33 Add more data to pass into the marketplace child application. 2022-10-20 15:31:26 +03:00
tom 2c1bcd51f2 update import sort rule 2022-10-17 20:58:41 +03:00
tom 5fd16bb05f rewrite useNetwork 2022-09-30 17:46:34 +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