56 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 b0fd5f2e5c contract ABI filters 2025-02-14 12:44:00 +01:00
tom 0032590eb0 watchlist page refactoring 2025-02-07 19:57:18 +01:00
Igor StuevandGitHub 6c2356d607 remove skeleton animations (#2505)
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
2025-01-06 16:57:22 +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
tom goriunovandGitHub 6557f19156 Combine Read/Write for Contract page (#2343)
* combine tabs and add method type filter

* add badge with contract method type

* add name filter

* add filters to mud system tab

* support array of tabs ids and route old tabs to the new one

* fix tests

* support adding the custom ABI from the contract page

* update margins and add test

* fix bugs and update screenshots

* some design updates

* update preset for garnet

* [skip ci] fix garnet preset

* improve links to contract methods
2024-11-04 14:12: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
isstuev c2b4eb4011 Table: table header left/right hor padding 2024-10-21 12:34:00 +02: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
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 e239b74125 remove AddressSnippet and Address components 2023-08-29 19:20:11 -03:00
tom ca25c837c3 skeletons for custom abi page 2023-05-12 15:42:31 -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
isstuev 74c6938706 enable submit button when invalid 2023-01-26 13:51:30 -06:00
isstuev 232b32ba7d contract icon for all addresses 2022-12-29 10:55:51 +03:00
tom 1af06b91e0 Merge branch 'main' of github.com:blockscout/frontend into client-api-calls 2022-12-24 13:28:14 +04:00
tom 94739620f1 public tags resource 2022-12-20 11:17:43 +03:00
tom c01173b642 refactor 2022-12-20 10:49:58 +03:00
tom 19ef04ff3c custom abi resources 2022-12-19 17:11:53 +03:00
tom 4adae0b64c disable animation for list item on mobile where it is not needed 2022-12-16 15:51:44 +03:00
isstuev 938e329521 add error message for invalid input and change mode 2022-12-06 12:39:03 +03:00
isstuev ae2b04210b contract icon, temporary 2022-12-01 12:21:29 +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 3e84de3554 skeleton example and custom abi form extends 2022-09-05 13:45:48 +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
isstuev 384f064e74 publictag bugfix and rule for required fields 2022-09-02 12:06: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
isstuev 2fa9d8c63d error fixes 2022-08-30 18:38:05 +03:00
tom 9d658858ea api keys page 2022-08-30 17:39:13 +03:00
tom d5cb8fc4da custom abi page 2022-08-30 17:05:24 +03:00
tom 2e1e7fd202 address snippet component 2022-08-30 16:13:57 +03:00
isstuev 052a086b84 error handlers 2022-08-29 19:25:14 +03:00