110 Commits
Author SHA1 Message Date
Igor StuevandGitHub 1a3912aec5 fix watchlist net worth (#3312) 2026-03-02 14:34:07 +01:00
tom goriunovandGitHub 401dc58402 Smart wallet auth (#3220)
* basic login button implementation

* refactoring and add dynamic auth button to the other pages

* connect wallet without authenticating an user

* login and logout user in blockscout account

* refactoring and RPC overrides

* authenticate user with connected wallet

* add ENS to profile button

* override evm chains and fix contract write with waas wallet

* disconnect wallet and fix docker build

* add dynamic imports to components that use web3 wallet packages

* refactor user profile directory

* clean up

* tweaks

* update pw ci script

* fix "connect wallet" button behavior

* handle linking email to profile with dynamic provider

* fix test

* async loading web3 hooks and remove dynamic loading from components that use them

* fix pw tests

* add account navigation in horizontal layout when auth provider is dynamic

* fix address verification modal

* review fixes

* spelling fixes
2026-02-18 19:42:44 +01:00
Igor StuevandGitHub fa5dbe232a Zilliqa chain type: support for ZRC-2 (#3202)
* Zilliqa chain type: support for ZRC-2

* add zrc-2 address

* add socket support and token select info

* add token types to watchlist notification settings

* add token tag

* add is fungible helper

* aboba

* review fixes
2026-01-05 17:18:37 +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 3a37755100 Merge branch 'main' of github.com:blockscout/frontend into release/v2-0-0 2025-04-23 20:02:10 +02:00
tom goriunovandGitHub 7118ae03d6 Broken flow for adding an email on the Watch list page (#2677)
* Broken flow for adding an email on the `Watch list` page

Fixes #2605

* Token test: remove total supply update via socket as it is flaky in the CI

* show alert on watchlist page instead of modal
2025-04-23 20:01:06 +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 46a00cedbb fix more ts errors 2025-03-11 16:18:03 +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
tom 125c4880de migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +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
isstuev 5bb539a9e5 Add possibility to change ERC to something else 2024-05-28 16:22:58 +02:00
tom goriunovandGitHub bfb5d6acc7 Update styles of form inputs (#1914)
* Update styles of form inputs

* update token info form

* update demo values

* fix preset for sepolia

* update screenshots
2024-05-15 17:37:02 +02:00
isstuev df5081d279 add 404 tokens to watchlist 2024-04-04 14:12:55 +02:00
isstuev 01ed021fec Add support of ERC-404 type 2024-03-28 15:14:19 +04: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 edfa0a8be4 disabled prop -> isDisabled 2023-03-06 14:16:45 -06:00
isstuev 74c6938706 enable submit button when invalid 2023-01-26 13:51:30 -06:00
tom 9c11d07e2b fix delete address from watchlist 2023-01-19 09:44:37 -06: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 94739620f1 public tags resource 2022-12-20 11:17:43 +03:00