Commit Graph
959 Commits
Author SHA1 Message Date
tom af157473b3 restrict imports from lodash 2024-06-28 15:40:22 +02:00
tom 9d7fb29466 move Toast comonent 2024-06-28 15:23:53 +02:00
tom goriunovandGitHub 4fefe574be Mixpanel profiles (#2044)
* initial implementation

* remove unnecessary properties
2024-06-26 12:07:24 +02:00
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
tom 46ae7df7eb disable next.js turbo mode 2024-06-21 13:15:14 +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 5e33a1b43a Migrate to bens-types (#2023)
migrate to BENS types
2024-06-13 20:13:10 +02: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
tom goriunovandGitHub e676a93259 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 5c2ef82463 Adblock detect improvement 2024-05-31 16:39:45 +02:00
tom goriunovandGitHub bfd4b1727b SEO: add canonicals and change meta titles (#1960)
* add canonical link tag

* change title templates

* adjust title for dapps category pages

* change h1 titles

* Revert "adjust title for dapps category pages"

This reverts commit 88ec5228ff839f6559db9bb29922e23334819911.

* fix unit test
2024-05-29 14:37:50 +02:00
Igor StuevandGitHub 4668cde762 Merge pull request #1961 from blockscout/fe-1955
Add possibility to change ERC to something else
2024-05-29 13:11:50 +02:00
Max AlekseenkoandGitHub 8bab79bbf3 Merge branch 'main' into defi-dropdown 2024-05-29 11:02:25 +02:00
isstuev 8092b4eccd Add possibility to change ERC to something else 2024-05-28 16:22:58 +02:00
Max Alekseenko b36fa0e635 Merge branch 'main' into defi-dropdown 2024-05-28 14:17:43 +02:00
isstuev 3800f41eee OP Fault Proofs support 2024-05-28 12:01:37 +02:00
tom 2e1a2ae9a9 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1826 2024-05-27 16:50:48 +02:00
isstuev b14d326c75 Multi chain balance button 2024-05-26 16:14:04 +02:00
tom d498acf2f5 [skip ci] improve typing of useApiQuery hook 2024-05-24 08:52:02 +02:00
tom goriunovandGitHub 0022a641b2 More custom elements for public tags (#1939)
* More custom elements for public tags

Fixes #1935

* make URL from handle and not from tagUrl prop
2024-05-23 12:35:31 +02:00
Max Alekseenko 1246f630f3 rework defi dropdown env value 2024-05-21 20:19:10 +02:00
tom 9c27ef07c1 add # before tag hex 2024-05-16 18:30:51 +02:00
Max Alekseenko 2f83705b0f keep hash when updating query 2024-05-16 18:19:36 +02:00
tom 76001a69a2 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1826 2024-05-15 17:38:06 +02:00
Max Alekseenko abce1a3066 create DeFi dropdown 2024-05-15 16:20:47 +02:00
tom 3d8df8ae6d pass form data to API and display result 2024-05-13 19:27:21 +02:00
tom goriunovandGitHub cae62ecb68 Merge pull request #1902 from blockscout/no-ad-fix-2
fix removing ad banners
2024-05-09 15:40:48 +04:00
Max AlekseenkoandGitHub 1e1831c7a5 Merge pull request #1883 from blockscout/action-button
Action button
2024-05-09 13:36:23 +02:00
tom 990c98ce05 change color previews only if hex is correct 2024-05-09 13:12:20 +02:00
isstuev 2836f60f03 fix removing ad banners 2024-05-09 12:40:47 +02:00
tom 0c3bb187c1 name and email fields 2024-05-07 15:41:55 +02:00
tom 718166e74f placeholder for the new page 2024-05-07 14:03:02 +02:00
Max Alekseenko 8652e495c3 rename meta props 2024-05-07 13:54:03 +02:00
e8d8b3a7c8 Add ENV variable allowing to choose default color schema (#1882)
* Add ENV variable allowing to choose default color schema

Fixes #1868

* Update values.yaml.gotmpl

---------

Co-authored-by: Yan Vaskov <[email protected]>
2024-05-07 13:52:20 +02:00
tom 29c9973b67 remove old public tags page 2024-05-07 12:21:30 +02:00
Max Alekseenko 8ea3d6251d merge main 2024-05-06 21:48:27 +02:00
tom goriunovandGitHub 802fe6c41f Public tags: display name tags for addresses (#1877)
* refactor EntityTags component to work with metadata API format

* hook for API metadata info query

* make EntityTag component

* make EntityTag component

* display custom tag colors and sort tags by ordinal field

* add tag popover

* refactoring

* display name tag in the lists

* add mixpanel event and disable link for protocol and generic tags

* adjust demo ENVs

* tests

* fix tests

* change actionURL to tagUrl
2024-05-06 19:38:44 +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
Max Alekseenko 65e131ed36 remove security score experiment 2024-05-03 17:26:00 +02:00
Max Alekseenko ef0b6b454c add A/B-experiment and mixpanel event 2024-05-03 15:34:13 +02:00
Max Alekseenko de86aa7176 improve action button, add real data 2024-05-02 14:15:41 +02:00
tom goriunovandGitHub fae1ecf936 Render Token page <h1> on the server (#1862)
* extract TokenPageTitle into separate component

* remove dynamic import for TokenPage

* add initialData to tokenQuery

* add ENV variable

* don't update metadata on client

* fix test
2024-04-29 13:24:47 +02:00
tom ee460bdbdb change useAddressMetadataInfoQuery accordint to new version of the API 2024-04-25 20:05:36 +02:00
tom 8901a57ef9 hook for API metadata info query 2024-04-24 09:36:26 +02:00
tom cae36eaf53 add typing to address metadata resource 2024-04-23 19:54:41 +02:00
tom goriunovandGitHub a80463363f Allow export token holders to CSV (#1850)
Fixes #1766
2024-04-23 15:43:18 +02:00