86 Commits
Author SHA1 Message Date
tom goriunovandGitHub 40bac47266 Inputs: fix text line height (#3334)
Resolves #3332
2026-03-02 10:58:58 +02: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
tom goriunovandGitHub 088f469e79 Set the auth header for the merits API inside useApiFetch (#3239)
* Set the auth header for the merits API inside `useApiFetch`

Resolves #2978

* fixes

* [skip ci] fix comment position
2026-01-19 18:12:26 +01:00
tom goriunovandGitHub 7ae9b1a216 Do not display error message on user's sign out on Profile page (#3238)
Resolves #2732
2026-01-16 19:05:03 +01:00
tom goriunovandGitHub 5627820db8 Highlights banners on home page (#3175)
* basic implementation

* fix loading state of image

* tests

* try to fix flaky tests
2025-12-18 12:21:53 +01: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
Igor StuevandGitHub a53c945d5f specify ad provider (#3005)
* specify ad provider

* update publisher key

* upgrade specify sdk

* use profile address for ads

* unifiy banner size, remove hype

* upgrade specify sdk

* review fixes
2025-09-26 17:12:54 +02:00
tom goriunovandGitHub cb37db2456 Remove "Back to" button (#2887)
Fixes #2833
2025-07-25 11:22:11 +02:00
Igor StuevandGitHub 7689c9b1d8 Input/select placeholder font change (#2844)
* font weights

* change input placeholder colors

* update screenshots pt 1

* update screenshots pt 2

* update screenshots pt 3
2025-07-15 16:29:30 +02:00
tom goriunovandGitHub 06acc48e35 Changes in ReCaptcha behavior (#2829)
* migrate to v2 API URLs for CSV exports

* don't ask user to solve recaptcha for first response; pass token in header as well

* hide "Try again" button if no bypass allowed

* fix tests
2025-07-04 09:23:00 +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 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
Max AlekseenkoandGitHub dd42ed6903 Merits: activity cards and tracking (#2662) 2025-04-15 19:59:09 +02:00
tom goriunovandGitHub 7648d05541 Auth: Switch the chain before signing the message when the user logs in with their wallet (#2673)
Fixes #2345
2025-04-15 15:23:57 +02:00
tom goriunovandGitHub fefc9dc03c ReCaptcha: allow the user to display the widget if an error occurs. (#2669)
Fixes #2653
2025-04-15 15:23:30 +02:00
tom goriunovandGitHub 61d071969a Merge pull request #2654 from blockscout/chakra-v3
Update Chakra UI to v3
2025-04-03 10:36:41 +02:00
tom b51c49018b fix user profile menu opening/closing 2025-03-31 15:38:49 +02:00
tom f75a3ef288 even more test fixes 2025-03-28 14:43:37 +01:00
tom c45537b706 major update of screenshots 2025-03-26 20:05:25 +01:00
tom 25ce11e15a fix AuthGuard to ensure user link an email to their profile 2025-03-26 16:04:24 +01:00
tom 0d0e5cde60 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-26 15:43:24 +01:00
tom 524b1836d6 generalize solution of recaptcha reset 2025-03-26 13:02:51 +01:00
tom 4b7a930af9 fix some tests 2025-03-26 12:52:10 +01:00
tom goriunovandGitHub 4254acf6a8 Reset the reCAPTCHA after the user attempts to resend the OTP (#2645) 2025-03-25 14:22:29 +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 10b976d84d close user profile dropdown after click on buttons/link inside it 2025-03-13 19:11:54 +01:00
tom e28c2306d8 fix FormFieldSelect default values 2025-03-13 18:15:06 +01:00
tom 46a00cedbb fix more ts errors 2025-03-11 16:18:03 +01:00
tom 04310094f4 fix some ts errors 2025-03-11 13:11:26 +01:00
tom 02c634645e Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-02-18 15:05:52 +01:00
Max AlekseenkoandGitHub 87163f163f change Merits dashboard path (#2575) 2025-02-17 16:13:44 +01:00
tom goriunovandGitHub bde06b1887 Merge pull request #2572 from blockscout/release/v1-37-6
Release v1.37.6
2025-02-13 18:25:41 +01:00
tom 2bbee3a2df don't trap focus and block scroll in AuthModal 2025-02-13 11:49:00 +01:00
tom goriunovandGitHub 6e85ab5530 UX changes for BS / Merits login (#2541)
* UX changes for BS / Merits login

Fixes #2535

* fix ts

* refetch user balance after unified login

* fixes
2025-02-07 16:03:39 +01:00
tom 871ee0b9bb fix modal behaviour 2025-01-27 10:02:56 +01:00
tom 40667a2d04 add button showcases 2025-01-23 20:28:42 +01:00
tom aef3904deb fix hero banner 2025-01-20 19:51:07 +01:00
tom 8acc0d5921 pass ReCaptcha token to API request when signing in with wallet 2025-01-17 13:48:31 +01:00
tom db2e730245 fix auth modal 2025-01-15 14:02:53 +01:00
tom a0999015c5 dialog styles and AuthModal first step refactoring 2025-01-14 19:52:26 +01:00
tom d79c4d8dd8 horizontal navigation refactoring 2025-01-08 19:06:00 +01:00
tom 07b8a20cc0 renaming 2025-01-07 15:55:18 +01:00
tom aad96a73e9 Initialize the chakra update and ensure the login page does not crash on load. 2025-01-07 12:28:21 +01:00
tom 0eac004c4f [skip ci] reset mixpanel on logout 2024-12-23 15:37:28 +01:00
tom 0dba705be5 do logout from rewards service only if token is preset 2024-12-23 15:37:28 +01:00
tom 47de579f68 [skip ci] reset mixpanel on logout 2024-12-17 12:12:07 +01:00
tom 00873c3807 do logout from rewards service only if token is preset 2024-12-17 12:00:24 +01:00
tom goriunovandGitHub 4b42c5fa70 Call the API logout endpoint when the user logs out (#2469)
* Call the API logout endpoint when the user logs out

* fix tests

* one more fix
2024-12-16 13:22:09 +01:00
tom goriunovandGitHub 114587672c ReCaptcha: migrate back to v2 solution (#2446)
* show recaptcha in the site footer

* replace badge in footer with text

* add invisible reCaptcha v2

* handle unsolved reCaptcha case

* migrate the rest of components to invisible reCaptcha v2

* remove unused code

* refactoring

* add env for demo

* fix tests

* update values for demo

* update link to secret in vault

* mock recaptcha for tests

* ohhh victor victor

* fix token metadata update test

* deprecate variable for ReCaptcha v3
2024-12-09 18:06:56 +01:00