58 Commits
Author SHA1 Message Date
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 46a00cedbb fix more ts errors 2025-03-11 16:18:03 +01:00
tom ccff9b5ab8 api keys, custom abi, vizualize and csv export pages 2025-02-24 10:13:58 +01:00
tom 0032590eb0 watchlist page refactoring 2025-02-07 19:57:18 +01:00
tom goriunovandGitHub d0b6e97827 Turn on eslint playwright plugin and eslint react-query plugin (#2401)
* fix pw eslint rules

* turn on no-unstable-deps rule

* fix eslint warnings
2024-11-15 12:50:12 +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
isstuev c2b4eb4011 Table: table header left/right hor padding 2024-10-21 12:34:00 +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
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
tom 31363e7593 skeletons for api keys page 2023-05-12 15:28:51 -03:00
isstuev c97bb43091 design-fixes 2023-03-23 22:35:27 -03:00
isstuev edfa0a8be4 disabled prop -> isDisabled 2023-03-06 14:16:45 -06:00
tom b39a4463f3 fix label bg color when disabled 2023-02-06 13:44:56 -05:00
isstuev 74c6938706 enable submit button when invalid 2023-01-26 13:51:30 -06:00
tom 9c11d07e2b fix delete address from watchlist 2023-01-19 09:44:37 -06:00
tom 1af06b91e0 Merge branch 'main' of github.com:blockscout/frontend into client-api-calls 2022-12-24 13:28:14 +04:00
tom 70e44120c1 api keys resource 2022-12-20 11:50:24 +03:00
tom 4adae0b64c disable animation for list item on mobile where it is not needed 2022-12-16 15:51:44 +03:00
tom 02287e4041 fix labels 2022-12-09 16:44:27 +03:00
isstuev 938e329521 add error message for invalid input and change mode 2022-12-06 12:39:03 +03:00
Igor StuevandGitHub d91d35aaa9 Merge pull request #375 from blockscout/asterix-in-placeholder
fix asterix in input placeholders
2022-11-28 19:47:29 +03:00
isstuev af1558a1d3 change mutation order 2022-11-28 17:39:29 +03:00
isstuev f885985bfd fix font style in delete modals 2022-11-28 17:39:29 +03:00
isstuev 5613583dd7 disable form if not dirty 2022-11-28 17:39:29 +03:00
tom 6960faf04f fix asterix in input placeholders 2022-11-28 17:14:06 +03:00
tom 8aa4669aaf submit form when pressing enter 2022-11-22 12:56:07 +04:00
isstuev 9f56bb90e9 new version of sticky, probably final 2022-10-31 11:24:39 +03: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 2dc7fead80 delete modals mobile view 2022-09-02 14:46:31 +03:00
tom 9b2471ee19 Merge branch 'main' of github.com:tom2drum/block-scout into mobile-view-pages 2022-09-02 13:40:38 +03:00
tom 6000948eea key icon for api keys 2022-09-02 12:12:14 +03:00
isstuev 384f064e74 publictag bugfix and rule for required fields 2022-09-02 12:06:59 +03:00
tom 9a08a0c173 first part of fixes
- transaction icon
- public tag go back link
- api key icon alignment
- status label for public key request
2022-09-01 15:59:59 +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
isstuev b95138cfb2 disable submit if not valid 2022-08-30 18:46:36 +03:00
tom 9d658858ea api keys page 2022-08-30 17:39:13 +03:00
isstuev 052a086b84 error handlers 2022-08-29 19:25:14 +03:00
isstuev cd79f5514f add some validations and form fixes 2022-08-20 21:55:03 +03:00
tom c5e296196f more colors for dark mode fixes 2022-08-20 18:34:19 +03:00
tom 7f2d86a4b7 Merge branch 'main' of github.com:tom2drum/block-scout into custom-abi 2022-08-18 15:39:29 +03:00
tom e00de1d0f7 skeleton for api keys page 2022-08-18 15:31:28 +03:00
tom c72c75fdf2 add underlay for floating labels 2022-08-17 22:46:31 +03:00
tom 02c10ee3d8 delete duplicated types 2022-08-10 20:59:00 +03:00
tom c694e5eff3 create, update and delete 2022-08-10 18:18:59 +03:00
tom bdeda283ab change types according new model 2022-08-09 21:29:43 +03:00