Commit Graph
132 Commits
Author SHA1 Message Date
tom goriunovandGitHub 90a53a8a74 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 32690afe56 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 a66c138bcd Merge pull request #2024 from blockscout/fe-2006
Arbitrum views
2024-06-21 13:56:02 +03:00
tom goriunovandGitHub d3d60ddd64 Navigation: horizontal layout (#1991)
* add ENV for navigation layout type

* add network menu to top bar

* renaming and main component placeholder

* add logo, testnet badge, login and connect wallet buttons to the nav bar

* refactor once more

* styles for nav link group

* style nav link

* style groupped nav links

* update values for L2 review

* update demo values

* fix deployment values for L2 review

* tests

* fix prop collision

* shorten filter input on marketplace page and update MainArea height

* change margin between text and lightning label

* add active state to "Other" nav menu

* popover fixes

* fix link width

* [skip ci] update demo values
2024-06-19 15:58:13 +02:00
isstuev ef222fd0f6 arbitrum 2024-06-18 12:11:43 +03:00
tom goriunovandGitHub bb2d38bdba Resolve BENS names from URL directly to address page (#2004)
* Resolve BENS names from URL directly to address page

Fixes #1965

* fix tests
2024-06-13 13:11:13 +02:00
isstuev 3800f41eee OP Fault Proofs support 2024-05-28 12:01:37 +02:00
Max AlekseenkoandGitHub 68aac73c18 Merge branch 'main' into menu-lightning-label 2024-05-27 15:09:39 +02:00
tom goriunovandGitHub c51dbd8177 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
Max Alekseenko f1bb68e5d2 change variable names 2024-05-22 15:48:00 +02:00
isstuev a334c7f45c remove unsupported features from search results 2024-05-21 17:32:55 +02:00
Max Alekseenko 6663a21710 fix styles and add tests 2024-05-13 17:22:33 +02:00
Max Alekseenko fd738f6b6c add more tests 2024-05-07 19:50:54 +02:00
Max Alekseenko 8ea3d6251d merge main 2024-05-06 21:48:27 +02:00
tom goriunovandGitHub 351ff02d95 Playwright tests refactoring, pt.4 (#1892)
* remove feature config from the pw tests

* update screenshots
2024-05-06 19:36:27 +02:00
76a5702044 Get smart-contract bytecode from websocket (#1851)
* Get smart-contract bytecode from websocket

Fixes #1769

* fix test

* i am stupid 😓

* Update values.yaml.gotmpl

---------

Co-authored-by: Yan Vaskov <[email protected]>
2024-05-06 19:13:10 +02:00
tom goriunovandGitHub e4c82dcd71 Contract interaction improvements (#1875)
* add contract method id tag

* add form submit type

* refactor types for SmartConstract and make new component for Contract ABI methods

* move contract method form inside ABI folder

* handle form submit and display result

* clean-up

* change copied text

* handle case when blockchain interaction is not configured

* tests and screenshots update

* fix bug wit WEI checkbox
2024-05-06 19:12:34 +02:00
tom goriunovandGitHub f2e7242c14 fix flaky tests (#1871)
* try to fix flaky tests

* wagmi test config

* update zk evm test
2024-04-30 14:57:48 +02:00
tom goriunovandGitHub 07318c41cd Update API Endpoint for fetching has_methods_* and `has_custom_meth… (#1842)
* Update API Endpoint for fetching `has_methods_*` and `has_custom_methods_*` fields

Fixes #1821

* don't load address txs when navigating to contract tab

* fix test
2024-04-23 15:43:04 +02:00
tom goriunovandGitHub 295d02dc24 zkEVM deposits and withdrawals (#1833)
* deposits page

* withdrawals page

* tests

* rename optimism routes

* [skip ci] fix presets
2024-04-23 15:42:32 +02:00
tom goriunovandGitHub 43357004b5 Playwright tests refactoring, pt.2 (#1787)
* create storageState fixture

* remove auth fixture

* renaming

* migrate bridge tokens and shibarium rollup tests

* migrate to common app config

* update screenshots

* re-implement fixtures for mocking envs, features and auth state

* update screenshot
2024-04-17 20:20:02 +02:00
tom goriunovandGitHub 9babbc4b2f Enhance OG tags with API data (#1806)
* simple fetch data for token instance page

* generate enhanced metadata

* group query params in page props

* make base gSSP function generic

* add metric for search engine bots

* measure api request duration

* get API data for token, address and dapp pages

* improve typings for apiData prop

* add ENV variable

* tweak logs for /media-type requests

* [skip ci] add prefix to default metrics
2024-04-16 10:27:47 +02:00
Max AlekseenkoandGitHub 669b41dee6 Merge pull request #1785 from blockscout/marketplace-banner
Marketplace banner
2024-04-15 19:25:24 +02:00
Max Alekseenko 89bdba41ad add tests 2024-04-10 16:35:36 +02:00
tom goriunovandGitHub 8a5738730f Playwright tests refactoring, pt.1 (#1744)
* abort all requests for external resources and single mock for text ad

* render and mockApiResponse fixtures

* move fixtures into separate files

* rewrite Blocks test

* refactor mockApiResponse signature

* test with auth

* rewrite test with other API domains

* fix test

* separate script for installing deps in pw docker
2024-04-01 14:48:30 +02:00
isstuev ccb193fb70 Add support of ERC-404 type 2024-03-28 15:14:19 +04:00
tom goriunovandGitHub 5e14c4a48f zkSync batches (#1743)
* dev preset

* batches page

* batch details view

* batch txs

* adjustments in block view

* adjustments in tx view

* adjustments on home page

* fixes

* tests

* add pagination to batch txs

* ENV values for demo

* fix layout on batch details tab

* add more fields to batch details

* update screenshots

* revert demo ENVs
2024-03-28 07:44:39 +01:00
isstuev 399d43832d test fixes 2024-03-26 18:57:01 +04:00
tom goriunovandGitHub 7dd2cafada update web3modal to v4 (#1731)
* update hooks and methods

* fix typescript

* options fix

* fix pw test build

* try to fix tests

* more pw test fixes

* update screenshots and fix address verification test
2024-03-25 08:41:20 +01:00
isstuev de092b15b4 enable email for wallet connect 2024-03-19 18:30:07 +04:00
Max Alekseenko 80736369ea add test for marketplace page 2024-02-28 18:04:09 +01:00
tom goriunovandGitHub 7c9a967774 Gas tracker page (#1524)
* add custom headers to API resource

* refactoring

* page title

* chart

* gas prices snippet

* GasPrice component

* add ENV for gas units

* dark theme and other tweaks

* tests

* add base and priority fee

* [skip ci] small fiat values

* change behavior of the variable

* update tooltip layout

* refactor gas info tooltip

* refactor GasPrice component

* fix logic and deploy demo for eth mainnet

* tests

* remove link from anchor

* [skip ci] rollback ENVs for demo

* review fixes

* fix tests
2024-02-20 08:36:57 +04:00
isstuev 56470dfd09 tests 2024-02-19 12:45:19 +01:00
isstuev 720bf33f55 shibarium deposits and withdrawals 2024-02-19 12:28:59 +01:00
tom goriunovandGitHub b3a5a141f9 Validators list (#1621)
* new ENV and page placeholder

* display list data

* comment out SearchInput

* add counters

* add tag to address page

* tests

* refactoring

* fix ts

* change ENVs for demo

* fix ENVs validator

* [skip ci] remove hash

* review fixes
2024-02-19 11:04:28 +04:00
tom goriunovandGitHub 6ebcc30e83 Refactor rollup features (#1599)
* refactor ENVs and app feature

* rename l2 into optimisticL2

* [skip ci] fix validator schema
2024-02-12 17:35:22 +04:00
tom 712b5ee061 [skip ci] simplify mock for feature testing 2024-01-31 08:09:05 +04:00
tom 696d3bbd57 [skip ci] testing feature flags 2024-01-30 19:53:33 +04:00
isstuev ca190a1e3d tests, fixes, etc 2024-01-22 22:18:16 +01:00
tom goriunovandGitHub 7294cf2491 Merge branch 'main' into tom2drum/issue-1484 2024-01-17 18:29:23 +04:00
tom 4d7f6c602b Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1376 2024-01-17 11:34:41 +04:00
tom 812436bbd3 add wrapping hook 2024-01-10 17:01:09 +04:00
isstuev d466984407 fix sub-header 2024-01-04 15:33:26 +01:00
tom 88c6c52c34 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1376 2023-12-27 18:39:59 +04:00
tom 39e27a3a83 domain details page 2023-12-22 13:50:46 +04:00
tom fcd92d35ea Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1414 2023-12-21 11:48:33 +04:00
tom ca854e3c8b add sprite to pw tests and migrate entities components 2023-12-20 11:30:24 +04:00
tom 9b42e44297 update TestApp setup 2023-12-18 13:13:37 +04:00
tom 6d3f4f7bfb update Web3Modal to v3
Fixes #1314
2023-12-18 10:20:56 +04:00
isstuevandisstuev 43bcf1a606 rollup config fixes 2023-10-23 23:14:57 +02:00