47 Commits
Author SHA1 Message Date
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 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 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 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 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
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
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
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
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 8202c25699 get tokens info from watchlist responce 2023-08-07 18:02:12 -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 94739620f1 public tags resource 2022-12-20 11:17:43 +03:00
tom 3f2aae927d watchlist resource 2022-12-20 10:00:43 +03:00
tom ea43968935 delete funtionality 2022-12-07 18:52:36 +03:00
tom 625dbc4a1b base implementation 2022-12-07 17:44:47 +03:00
isstuev 938e329521 add error message for invalid input and change mode 2022-12-06 12:39:03 +03:00
isstuev 5613583dd7 disable form if not dirty 2022-11-28 17:39:29 +03:00
tom 8aa4669aaf submit form when pressing enter 2022-11-22 12:56:07 +04:00
5ddd723bd8 Update routing (#265)
* update routing

* debug routing

* debug profile page

* add app protocol

* prefix nextjs api path

* remove debug

* debug routing

* debug deploy

* debug routing

* fix after merge

* delete port and protocol

* hard reload page for nav links

* fix logo

* add marketplace to sokol

* debug values for review

* add login link

* seamless page transition inside new ui app

* logout link

* debug values for review

* add redirect from profile to auth

* static assets

* debug review workflow

* update values for all envs

Co-authored-by: Yuliya Sharafitdinova <[email protected]>
Co-authored-by: tom <[email protected]>
2022-10-27 21:50:58 +03:00
isstuev 6a07440e67 add enums for query keys 2022-10-20 12:29:38 +03:00
tom 5fa1a2da34 pass csrf token for state changing requests 2022-09-14 13:53:40 +03:00
tom dd05b7a870 refactor button theme 2022-09-09 17:17:13 +03:00
tom 425c24dd53 Merge branch 'main' of github.com:tom2drum/block-scout into mobile-view-pages 2022-08-31 10:48:14 +03:00
tom 8eb139bd57 watchlist page 2022-08-30 22:33:13 +03:00
isstuev b95138cfb2 disable submit if not valid 2022-08-30 18:46:36 +03:00
isstuev 2fa9d8c63d error fixes 2022-08-30 18:38:05 +03:00
isstuev 052a086b84 error handlers 2022-08-29 19:25:14 +03:00
isstuev 19d3c842e6 validations folder 2022-08-21 15:07:48 +03:00
isstuev cd79f5514f add some validations and form fixes 2022-08-20 21:55:03 +03:00
tom goriunovandGitHub b2f3b0f11b Merge pull request #85 from blockscout/custom-abi
custom abi page
2022-08-20 21:19:04 +03:00
tom c5e296196f more colors for dark mode fixes 2022-08-20 18:34:19 +03:00
isstuev 1f27980c94 review fixes 2022-08-19 23:15:16 +03:00
isstuev 645abb0da6 watchlist + backend 2022-08-19 22:45:12 +03:00
tom c72c75fdf2 add underlay for floating labels 2022-08-17 22:46:31 +03:00
tom c9b7a3de79 import order rule 2022-08-08 17:46:06 +03:00
tom f1d105ce3f always semi rule 2022-08-08 17:24:02 +03:00
isstuev f634bbe8bc public tag: review fixes 2022-07-23 21:03:49 +03:00
isstuev 4a50136a9a type fixes 2022-07-23 14:42:51 +03:00
tom 5474664f5a transfer ui components 2022-07-18 17:25:09 +03:00
tom e988784096 transfer to absolute paths for modules 2022-07-18 17:22:02 +03:00
isstuev e40cb6e3c7 api keys page 2022-07-12 23:19:21 +03:00
tomandisstuev 34dd7bb12b model dark mode styling 2022-07-11 15:00:01 +03:00
isstuev e0dbfc7d56 private tag 2022-07-09 23:04:52 +03:00