87 Commits
Author SHA1 Message Date
tom goriunovandGitHub b9c24fea17 Replace lodash with es-toolkit (#2503)
* first part of migration

* second part of migration

* bump up es-toolkit version

* bump up `es-toolkit` version and remove `lodash` completely

* update screenshot
2025-01-14 12:30:05 +01:00
tom goriunovandGitHub 7c1379a026 App config: support multiple RPC URLs (#2498)
Fixes #2479
2025-01-14 11:55:15 +01:00
tom goriunovandGitHub 115a519870 Support verification of Stylus contracts (#2450)
* add Arbitrum Sepolia dev preset

* base form layout

* add validation for repo url and commit hash

* improve global error text

* show stylus contract info

* add test for contract verification form

* hide "open in IDE" for stylus contracts

* [skip ci] adjust validation rules for GitHub URL

* change contract info items order

* fix error text styles
2024-12-11 13:17:23 +01:00
tom goriunovandGitHub 39771804db 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 5c286d6517 migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
94e289c068 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
tom goriunovandGitHub e1e7ab0394 Pass the file path when verifying a multi-part contract (#2208)
Fixes #2207
2024-09-13 20:05:53 +02:00
tom b690f1544a remove optimization fields for zkSync contract verification 2024-09-06 15:20:38 +02:00
tom goriunovandGitHub 30e14b6e83 Add support for zkSync smart-contracts (#2173)
* additional form fields

* pass optimization modes from API and handle single verification method case

* display zk contract info
2024-08-20 10:27:46 +02:00
tom aa1f77232d update foundary template 2024-07-31 14:14:22 +02:00
tom 6bca4efd9d Update verification methods in the UI 2024-07-31 13:29:43 +02:00
tom f19a8417e9 update screenshots 2024-07-15 16:08:19 +02:00
NikitaSavikandGitHub 3138a2c15b Changing the description for flatteners during the verification
Replaced POA flattener with instructions on Hardhat flattener
2024-07-15 14:44:58 +02:00
tom goriunovandGitHub 6021aa8b19 Update info icon color (#2088)
* Icon info color

Fixes #2045

* fix test

* more test fixes
2024-07-09 18:21:04 +02:00
tom d95a15ab00 create custom Popover component with default gutter prop 2024-06-28 15:19:04 +02:00
tom goriunovandGitHub 8829025900 Playwright tests refactoring, pt.5 (#1952)
* next part of test refactoring

* more refactoring

* more refactoring

* fixes and clean-up

* fixes

* build fixes

* more fixes
2024-05-25 15:41:32 +02:00
tom goriunovandGitHub 9ec01aa280 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
tom goriunovandGitHub 72cc49af83 Contract: License (#1668)
* display license on contract page and in the list

* add new field to the form

* review fixes
2024-03-05 11:13:52 +04:00
tom 6a176e33c5 migration: next part 2023-12-20 14:09:33 +04:00
tom goriunovandGitHub a137e8ba19 "Verify contract" page (#1394)
* route and dummy page

* form layout

* validate address on form submit

* fix form reset

* update screenshot

* fix ts errors
2023-12-11 16:57:50 +04:00
tom goriunovandGitHub 02493148d6 Contract verification: Improve the selection of a compiler version (#1257)
Fixes #1164
2023-10-09 11:24:40 -03:00
tom goriunovandGitHub a337b898bb More events for mixpanel analytics (#1160)
* color mode property for PageView and AccountAccess events

* account events

* contract events

* address events

* event for more button
2023-09-19 11:17:36 -03:00
tom goriunovandGitHub e5bb9b21af refactor page layout components (#1087)
* update csv export text

* fix pw tests

* base layout and customization for home page and search results page

* refactor rest of the pages

* refactor AppError

* move header padding to layout

* move nextjs utils to separate folder

* combine PageServer and Page

* make useQueryClientConfig hook

* add tests

* remove unused var

* fix envs for pw

* fix pw tests
2023-08-15 19:28:00 -04:00
tom goriunovandGitHub 88f3240a81 customize scroll bar in snippets (#1053)
* custom styles for scrollbar

* style scrollbar for search suggest on home page

* change overflow for search suggest

* fix error screen when API error payload is string

e.g. "Internal server error"

* add resizer img and styles for FF

* update screenshots

* update icon for dark theme
2023-08-07 15:39:24 -04:00
tom goriunovandGitHub 984b6e7339 vyper contract verification: bugfix and improvements (#896)
* change hint and enable contract name field

* fix form re-submiting

* update screenshot

* change vyper multi part method

* vyper standard input json method

* fix required error message for sources field

* pin api host

* fix locked form

* clean up
2023-07-10 15:08:36 -04:00
tom 580b47ad85 update mobile screenshots 2023-06-29 17:05:08 -04:00
tom 749cfc7fda hide unnecessary fields for standard input contract verification method 2023-05-26 16:07:33 -03:00
tom 14f5038430 support is_rust_verifier_microservice_enabled flag 2023-03-30 16:06:37 -03:00
tom 284998cb04 defatul value for evm version field 2023-03-27 13:09:32 -03:00
isstuev 43dc4cd866 update screenshots 2023-03-23 18:53:37 -03:00
tom 4665b7eadb contract fixes 2023-02-27 11:34:05 -05:00
tom 9d6726b336 bring ts-reset 2023-02-24 12:37:08 -05:00
tom 5890b35727 update screenshots 2023-02-23 13:45:42 -05:00
tom 09d7d9e354 fix typo and tx execution icon color 2023-02-23 17:57:14 +00:00
tom c104cb02ea correct number of methods in tooltip 2023-02-21 15:30:38 -05:00
tom d622450251 fixes 2023-02-20 17:41:33 -05:00
tom f125512ace fix tests (hopefully) 2023-02-18 15:03:11 -05:00
tom a9166ee504 skip flapping tests 2023-02-17 18:43:13 -05:00
tom 8826cfa5b2 Merge branch 'main' of github.com:blockscout/frontend into verification-redesign 2023-02-17 17:35:46 -05:00
tom d16cffa38e address routes 2023-02-16 12:56:18 -05:00
tom 54cfb80c44 fix linting 2023-02-16 12:48:18 -05:00
tom d2d4af781c remove only 2023-02-16 12:44:55 -05:00
tom 60c6d6e2e4 test 2023-02-16 12:34:58 -05:00
tom f58d76a080 sourcify new flow 2023-02-16 11:34:39 -05:00
tom 15633a06c6 disabled state for drag-and-drop area 2023-02-15 13:44:51 -05:00
tom c6c1906e13 fix big files upload issue 2023-02-15 13:24:58 -05:00
tom 9b3eca1e75 update tests 2023-02-14 15:53:15 -05:00
tom 7ede237b33 form reset when method is changed 2023-02-14 14:52:59 -05:00
tom b21833b1ce sources field changes 2023-02-14 12:31:50 -05:00
tom 3dc794b12c compiler and optimization fields change 2023-02-14 11:14:10 -05:00