Commit Graph
291 Commits
Author SHA1 Message Date
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
tom goriunovandGitHub 3d373f6cea Support custom MUD system ABI (#2296)
* MUD system tab placeholder

* implement MUD system selector and fix proxy contract read/write

* rollback changes of target contract address
2024-10-28 18:42:50 +01:00
Max Alekseenko 3a98f4896d Merge remote-tracking branch 'origin/tom2drum/issue-2029' into rewards 2024-10-24 16:29:15 +02:00
tom 716316119f Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-2029 2024-10-22 16:45:30 +02:00
Igor StuevandGitHub 0e008d481e Merge pull request #2280 from blockscout/fe-2257
Token transfers list page
2024-10-22 16:01:25 +02:00
isstuev 1eccff4314 Token transfers list page 2024-10-22 15:13:54 +02:00
tom 7aec2f840b Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-2029 2024-10-18 16:02:43 +02:00
isstuev 12b34c7cad Celo: Epoch rewards tab on Address view 2024-10-17 13:22:43 +03:00
Max Alekseenko 3092eb805d Merge remote-tracking branch 'origin/tom2drum/issue-2029' into rewards 2024-10-16 17:44:33 +02:00
tom ec6ba4a5cc fix linking email and wallet to existing account 2024-10-14 12:45:54 +02:00
tom e38bc8a212 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-2029 2024-10-08 15:52:49 +03:00
Max Alekseenko 938b09b035 implement referral logic 2024-09-30 18:59:05 +02:00
Max Alekseenko 798bd0f41e add rewards config query 2024-09-30 14:22:22 +02:00
Max Alekseenko 3d7f3b9fc0 improve login, fetch real data 2024-09-27 18:26:58 +02:00
Max Alekseenko 9622915ab5 implement login 2024-09-27 12:16:23 +02:00
Igor StuevandGitHub 83b2050715 Merge pull request #2253 from blockscout/fe-2233
add blackfort validators
2024-09-23 14:11:01 +02:00
tom goriunovandGitHub c1a739279d Arbitrum: handle case with partial data in latest deposits on main page (#2244)
* Arbitrum: handle case with partial data in latest deposits on main page

Fixes #2243

* [skip ci] roll back arbitrum envs
2024-09-23 13:08:35 +02:00
isstuev f14f2f5a23 add blackfort validators 2024-09-23 12:15:42 +02:00
tom 8be575bd43 remove code for unverified email page 2024-09-20 17:05:47 +02:00
tom 52e3580e19 add screens to modal for wallet authentication 2024-09-18 08:37:51 +02:00
tom 930eab876d connect email and code screens to API 2024-09-17 18:32:10 +02:00
tom goriunovandGitHub 57434bc711 Support new CSV export limit in the UI (#2237)
Fixes #2215
2024-09-13 13:03:29 +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 66829573dd Public tags: dedicated tag page (#2217)
* page layout

* text with results number

* fix ts

* tests

* add quotes to network id env value

* fix null balance and result num

* fix mobile layout
2024-09-11 14:41:20 +02:00
tom goriunovandGitHub 5fa9bb5f23 OP rollup: Batch view and DA fields (#2210)
* tx batches view adjustments

* blocks and txs tabs of batch page

* batch details

* add batch info to block details view

* display batch blob data in EIP-4844 and calldata container

* display batch blob data in celestia container

* tests

* add optimism_celestia preset

* review fixes

* update screenshots
2024-09-06 12:19:01 +02:00
tom 80ef89ef8a remove AddressCoinBalanceHistoryChartOld 2024-09-05 15:54:13 +02:00
tom goriunovandGitHub 0d25334ac8 Celo: Block views customizations (#2185)
* show flag next to epoch block

* block view customizations

* add hint with link

* display block epoch transfers

* show epoch election reward types

* show reward details

* show base fee token from API

* display current epoch on main page

* mobile view

* tests

* add infinite scroll loading to reward details resource

* update useApiQuery options

* update screenshots

* update layout of reward details on desktop

* change hints of block epoch reward distribution
2024-08-28 13:30:16 +02:00
Max Alekseenko ba7b6dcdf9 Merge branch 'main' into ens-in-wallet-menu 2024-08-27 16:51:40 +02:00
Max Alekseenko b641f9f607 use bens api for domain query 2024-08-27 13:55:54 +02:00
tom goriunovandGitHub 043cf4aefc SolidityScan API response schema validation (#2190)
* add schema validation to solidity scan report resource

* report invalid API schema event to prometheus
2024-08-26 11:28:53 +02:00
tom c7524ae148 Cancel previous search queries when typing
Fixes #2149
2024-08-13 19:20:39 +02:00
Igor StuevandGitHub 8ac4afbdb1 Merge pull request #2139 from blockscout/fe-2100
arbitrum latest batches and deposits
2024-08-13 12:07:00 +02:00
tom goriunovandGitHub c28e16ea80 UML diagram caching (#2157)
Fixes #2124
2024-08-12 18:08:05 +02:00
isstuev 76dbe8919f arbitrum latest batches and deposits 2024-08-04 19:58:20 +02:00
tom 772797996a Update verification methods in the UI 2024-07-31 13:29:43 +02:00
isstuev 282208253b MUD 2024-07-23 21:10:30 +02:00
tom goriunovandGitHub a2eee9354a Block Countdown page (#2091)
* page placeholder

* block info snippet

* add actions for calendar buttons

* add timer

* add redirect when timer runs out

* add redirect from not found block page

* block countdown index page

* link to countdown index page

* add link to search suggest

* add URL to an event

* add link to block countdown on mobile

* tests

* add countdown text to search result page

* update margins

* show block countdown when search results are not empty
2024-07-18 08:56:28 +02:00
tom goriunovandGitHub 5d2ae73172 Migrate to @blockscout/stats-types and @blockscout/visualizer-types (#2063)
* migrate to stats-types package

* migrate to visualizer-types package

* update package.json
2024-07-02 16:27:13 +02:00
tom goriunovandGitHub 19ddd87083 Implement NFT instance metadata refetch button (#2039)
* refactor token instance page title

* add menu item and modal with recaptcha

* initialize refresh and show loading state

* handle error state

* fix metadata atributes parser

* refactoring

* tests
2024-06-25 18:19:39 +02:00
tom goriunovandGitHub 434aae92bb Call contract read methods from the client (#2032)
* display methods accordion

* add method_id to methods

* query read method via public client

* query read methods without inputs at accordion section open

* add custom abi tabs

* add proxy tabs

* custom wagmi config if wc is not configured

* remove ContractAbiItemConstant component

* display tuple properties in method outputs

* display read result

* clean up

* support nested arrays in the read result

* re-write test for contract methods

* change result view for address output

* refactoring

* fix tests

* remove web3 provider fallback

* fix tab loading

* refactoring

* add implementation contract selector

* add "copy to clipboard" for address, remove top-level square brackets

* add preview mode to contract method result

* tests for read result

* fix tests

* change styles for result preview

* review fix
2024-06-24 19:56:06 +02:00
Igor StuevandGitHub f04d491410 Merge pull request #2024 from blockscout/fe-2006
Arbitrum views
2024-06-21 13:56:02 +03:00
isstuev 6ebca444bd arbitrum 2024-06-18 12:11:43 +03:00
tom goriunovandGitHub 74f2324dc0 Migrate to bens-types (#2023)
migrate to BENS types
2024-06-13 20:13:10 +02:00
tom goriunovandGitHub 96556c4a88 BENS multiprotocol support (#2003)
* show protocol icon on the list and the entity page

* add logo and tooltip to the entity in address page subheading

* make icon_url and docs_url optional

* add protocol to name domain filters

* tests

* fetch protocols list from api endpoint

* fix protocol query param parsing

* build correct links to token ids and txs
2024-06-13 13:10:53 +02:00
isstuev db61a58030 OP Fault Proofs support 2024-05-28 12:01:37 +02:00
tom 19402fe687 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1826 2024-05-27 16:50:48 +02:00
tom 51f95739f9 [skip ci] improve typing of useApiQuery hook 2024-05-24 08:52:02 +02:00
tom fb66c94675 pass form data to API and display result 2024-05-13 19:27:21 +02:00
tom d31beb4d93 name and email fields 2024-05-07 15:41:55 +02:00