24 Commits
Author SHA1 Message Date
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
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 4b7a930af9 fix some tests 2025-03-26 12:52:10 +01:00
tom 5c60915a0a my profile page 2025-02-26 16:14:57 +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
tom goriunovandGitHub 382829d9f7 Support bech32 address standard (#2351)
* create settings context with simple address format toggler

* transform base16 hash to bech32 hash

* add ENV variables

* add snippet to address page

* add redirect for bech32 addresses

* change address format in search

* add provider to tests

* update demo values

* migrate from Buffer to Uint8Array and add tests

* bug fixes and screenshots updates

* review fixes

* roll back changes in env values

* update screenshots
2024-11-04 18:53:59 +01:00
Max Alekseenko 1689996657 update texts and links 2024-10-31 11:48:40 +01:00
Max Alekseenko f1540b8ffd remove unused files 2024-10-30 17:04:31 +01:00
Max Alekseenko f28c33a35e post merge fixes 2024-10-30 16:59:41 +01:00
Max Alekseenko 444313bed5 Merge main into rewards 2024-10-30 16:54:58 +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 3a98f4896d Merge remote-tracking branch 'origin/tom2drum/issue-2029' into rewards 2024-10-24 16:29:15 +02:00
Max Alekseenko 5815b7c9df hide part of text without rewards feature 2024-10-22 18:01:50 +02:00
tom 9bac05c6d0 [skip ci] disable email field on profile page 2024-10-21 20:02:59 +02:00
tom 169efd91b3 fix verified email checkmark behaviour 2024-10-18 13:47:01 +02:00
tom 2716ac0f6a change text once more 2024-10-16 12:10:49 +02:00
tom caf09c643a update texts 2024-10-15 14:34:21 +02:00
tom 4bed620bb9 add name field to profile page and write some tests 2024-10-14 18:56:20 +02:00
tom 36a7b7700d bug fixes 2024-10-14 13:52:37 +02:00
tom 09898c6de3 resend code and change email from profile page 2024-09-24 18:32:25 +02:00
tom 821b10e0e6 link wallet from profile 2024-09-20 14:04:11 +02:00
tom 32606e3972 my profile page re-design 2024-09-19 12:01:03 +02:00