44 Commits
Author SHA1 Message Date
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
tom goriunovandGitHub a77568ce0a Refactor navigation icon (#3191)
* move nav icons to separate directory

* remove unnecessary "slim" suffix from some icon names

* fix screenshots
2025-12-19 10:29:29 +01:00
Igor StuevandGitHub 7b02647976 replace bg-position animation with faster one (#3189)
* replace bg-position animation with faster one

* fix tests
2025-12-18 20:34:34 +07:00
tom goriunovandGitHub 5d337fc555 Migrate from Jest to Vitest (#3173)
* first part of transition

* second part of transition

* remove jest

* bump up node version and playwright version

* update all screenshots because of the new playwright version

* fix tests

* one more screenshot update
2025-12-10 19:21:07 +01:00
tom goriunovandGitHub 1c534597bc UI: icon button background (#3081)
* UI: icon button background

Resolves #2885

* update screenshots
2025-10-24 20:00:36 +02:00
tom goriunovandGitHub ecae7062b2 Merge pull request #2700 from blockscout/release/v2-0-1
Release v2.0.1
2025-05-05 09:56:18 +02:00
tom 24411cee0e update screenshots 2025-05-02 14:13:44 +02:00
tom dd7d1808f4 disable tooltips for buttons on mobile 2025-05-02 13:12:20 +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 83a2d03be8 update screenshots 2025-04-22 17:34:46 +02:00
tom 194bd4e707 improve loading state of tabs list 2025-04-22 10:14:35 +02:00
tom 53e4bab7a9 fix tests 2025-04-18 21:04:21 +02:00
tom ffce962477 more test fixes 2025-03-27 20:42:21 +01:00
tom c45537b706 major update of screenshots 2025-03-26 20:05:25 +01:00
tom 803be77728 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-24 19:47:18 +01:00
tom goriunovandGitHub 46d348fc2d Add token info button is missing for accounts without an email (#2627)
Fixes #2604
2025-03-24 18:19:01 +01:00
tom 730678be0f styles for icon-button and close-button 2025-03-20 19:25:21 +01:00
tom f7b62b10a9 add rating component 2025-03-14 15:56:01 +01:00
tom 2ab1ddb568 fix account actions menu item click 2025-03-13 20:36:12 +01:00
tom 46a00cedbb fix more ts errors 2025-03-11 16:18:03 +01:00
tom e9b167e8d7 token instance page 2025-02-20 16:18:41 +01:00
tom cafb836be6 private tags page refactoring 2025-02-07 19:28:30 +01:00
tom c6ec165d96 tx details tab 2025-02-05 09:36:30 +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 b0ac1e6cdc Merge branches 'tom2drum/issue-2429' and 'main' of github.com:blockscout/frontend into tom2drum/issue-2429 2024-11-29 11:49:39 +01:00
tom 67c8400734 Bind to full prop namings in API v2 endpoints, pt. 2 2024-11-27 18:52:55 +01:00
tom goriunovandGitHub bd4094ebd1 Bump up Node.js to v22 (#2410)
* Bump up Node.js to v22

Fixes #2404

* update Playwright to v1.49.0

* fix tests

* one more fix

* fix screenshots
2024-11-25 12:43:05 +01:00
tom 125c4880de migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
54721b88b3 Show "Update metadata" button for instance without metadata (#2327)
* 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

* Show "Update metadata" button for instance without metadata

* remove unused components

---------

Co-authored-by: aagaev <[email protected]>
2024-11-04 14:12:37 +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
Max Alekseenko ae348c4174 update screenshots 2024-07-12 15:55:04 +02:00
tom d932e16b07 update gutter for Menu dropdown 2024-06-28 18:55:22 +02:00
tom goriunovandGitHub 19ddd87083 Implement NFT instance metadata refetch button (#2039)
* refactor token instance page title

* add menu item and modal with recaptcha

* initialize refresh and show loading state

* handle error state

* fix metadata atributes parser

* refactoring

* tests
2024-06-25 18:19:39 +02:00
tom dded1bda15 update tests 2024-05-16 18:52:41 +02:00
tom 06c8e4752e fix link to form from address page 2024-05-13 19:36:22 +02:00
tom 2cd8ef2154 placeholder for the new page 2024-05-07 14:03:02 +02:00
tom goriunovandGitHub aa8a5841f7 Playwright tests refactoring, pt.2 (#1787)
* create storageState fixture

* remove auth fixture

* renaming

* migrate bridge tokens and shibarium rollup tests

* migrate to common app config

* update screenshots

* re-implement fixtures for mocking envs, features and auth state

* update screenshot
2024-04-17 20:20:02 +02:00
tom goriunovandGitHub 1dd0504315 Add a banner to the My Verified Addresses page (#1695)
* Add a banner to the My Verified Addresses page

Fixes #1688

* [skip ci] change text copy
2024-03-18 13:28:27 +03:00
tom f29ac52966 fix label for "Add public tag" 2024-02-16 11:32:24 +04:00
tom goriunovandGitHub 7fac561798 Case: One button in a title (private/public tag) (#1593)
Fixes #1582
2024-02-12 17:36:02 +04:00
tom 32a272dfef update dots 2024-01-26 16:56:16 +04:00
tom 1e261e6d5f Address title: second line updates
Fixes #1537
2024-01-25 17:33:45 +04:00
tom 2b028b029a last part of migratin and eslint rule 2023-12-20 14:40:52 +04:00
tom goriunovandGitHub 56e50b6251 Page title updates (#1265)
* block page title

* tx page title

* address page title

* token page title

* NFT page title

* [skip ci] update envs for review

* update title for NFT instance page

* update screenshots
2023-10-16 13:10:33 -03:00