Commit Graph
134 Commits
Author SHA1 Message Date
tom goriunovandGitHub b5380f49bb RPC tests (#2101)
* test for degraded block details tab

* fix marketplace app test

* more tests for degraded block

* test for address degradation view
2024-07-16 12:10:14 +02:00
tom f3b77d8d00 add mockRpcResponse fixture and skip marketplace app test 2024-07-02 16:51:26 +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
tom goriunovandGitHub 0b7382bd27 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 6ebca444bd arbitrum 2024-06-18 12:11:43 +03:00
tom goriunovandGitHub e91b780802 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 db61a58030 OP Fault Proofs support 2024-05-28 12:01:37 +02:00
Max AlekseenkoandGitHub b8a3594d47 Merge branch 'main' into menu-lightning-label 2024-05-27 15:09:39 +02:00
tom goriunovandGitHub 22f8016a8f 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 e6cf64063e change variable names 2024-05-22 15:48:00 +02:00
isstuev e2c0d59d8f remove unsupported features from search results 2024-05-21 17:32:55 +02:00
Max Alekseenko 4e297721f0 fix styles and add tests 2024-05-13 17:22:33 +02:00
Max Alekseenko 9e85fa80da add more tests 2024-05-07 19:50:54 +02:00
Max Alekseenko f8bfb117e9 merge main 2024-05-06 21:48:27 +02:00
tom goriunovandGitHub 4420054151 Playwright tests refactoring, pt.4 (#1892)
* remove feature config from the pw tests

* update screenshots
2024-05-06 19:36:27 +02:00
f1b741a079 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 b9985adbb6 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 29a2bac5d9 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 70c85f48d3 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 35314183d6 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 aa8a5841f7 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 b6d5268188 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 042b8301a5 Merge pull request #1785 from blockscout/marketplace-banner
Marketplace banner
2024-04-15 19:25:24 +02:00
Max Alekseenko 37917a4fb3 add tests 2024-04-10 16:35:36 +02:00
tom goriunovandGitHub 57e4b6dc3c 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 01ed021fec Add support of ERC-404 type 2024-03-28 15:14:19 +04:00
tom goriunovandGitHub 0fba97d827 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 5cefe778e2 test fixes 2024-03-26 18:57:01 +04:00
tom goriunovandGitHub f3fc9f9277 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 263f2b16eb enable email for wallet connect 2024-03-19 18:30:07 +04:00
Max Alekseenko 262afe90dc add test for marketplace page 2024-02-28 18:04:09 +01:00
tom goriunovandGitHub ae5489b1f7 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 1a607dbb64 tests 2024-02-19 12:45:19 +01:00
isstuev f085508cdc shibarium deposits and withdrawals 2024-02-19 12:28:59 +01:00
tom goriunovandGitHub 797b8f57bb 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 df7e1d209a 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 81a89abd0e [skip ci] simplify mock for feature testing 2024-01-31 08:09:05 +04:00
tom 402f6e3dba [skip ci] testing feature flags 2024-01-30 19:53:33 +04:00
isstuev 86ef160b37 tests, fixes, etc 2024-01-22 22:18:16 +01:00
tom goriunovandGitHub 98d8d3b1da Merge branch 'main' into tom2drum/issue-1484 2024-01-17 18:29:23 +04:00
tom c6f1ed87e0 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1376 2024-01-17 11:34:41 +04:00
tom 963c2601e1 add wrapping hook 2024-01-10 17:01:09 +04:00
isstuev da138b4e07 fix sub-header 2024-01-04 15:33:26 +01:00
tom 8d623d57cd Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1376 2023-12-27 18:39:59 +04:00
tom 0bce249ebe domain details page 2023-12-22 13:50:46 +04:00
tom 3e98046b7d Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1414 2023-12-21 11:48:33 +04:00
tom d93fdba02d add sprite to pw tests and migrate entities components 2023-12-20 11:30:24 +04:00
tom aa791f7d06 update TestApp setup 2023-12-18 13:13:37 +04:00