Commit Graph
1111 Commits
Author SHA1 Message Date
tom d42ad68e15 Merge branch 'main' of github.com:blockscout/frontend into release/v1-37-5 2025-01-24 14:54:40 +01:00
tom 0202eddc50 migrate to the new API fields: tx_types, blob_tx_count and tx_burnt_fee 2025-01-23 12:36:47 +01:00
tom fb5ab9a2e2 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/rollbar-fix 2025-01-22 08:22:59 +01:00
tom goriunovandGitHub 3fe8d3b27c Replace lodash with es-toolkit (#2503)
* first part of migration

* second part of migration

* bump up es-toolkit version

* bump up `es-toolkit` version and remove `lodash` completely

* update screenshot
2025-01-14 12:30:05 +01:00
tom goriunovandGitHub a0e6731898 OG image: automatically generate image on container start (#2496)
* make script to generate OG image at container start

* add prod service URL

* remove og_image.png

* update path to file

* [skip ci] remove app url from payload
2025-01-14 12:01:18 +01:00
tom goriunovandGitHub 95c3a27c2e Rootstock checksum is not applied on the address page (#2500)
Fixes #2494
2025-01-14 11:55:56 +01:00
tom goriunovandGitHub 2dcd9c9b45 App config: support multiple RPC URLs (#2498)
Fixes #2479
2025-01-14 11:55:15 +01:00
tom e1d0accd46 fix rollbar filter by error class name 2025-01-09 13:57:19 +01:00
tom 7250336103 setup filters for Rollbar events 2025-01-02 14:08:55 +01:00
Max Alekseenko 152ac1e23a set cookie expiration time 2024-12-18 15:50:04 +01:00
tom 795caed4a2 [skip ci] reown: don't sync connected chain 2024-12-17 13:12:35 +01:00
tom 1324f04ab3 [skip ci] reset mixpanel on logout 2024-12-17 12:12:07 +01:00
Igor StuevandGitHub ac9d57ccf0 pools pages (#2468)
* pools pages

* fixes and changes

* revert demo config
2024-12-16 14:43:50 +01:00
Igor StuevandGitHub 9c648f6671 Advanced filter (#1905)
* advanced filter start

* advanced filters stage 2

* adv filters stage 3

* fixes

* add test

* eslint fixes

* age filter update

* some fixes and filters tests

* fixes 2

* add csv export

* fixes 3

* add env variable for adv filter

* fix tests

* edit env temporary
2024-12-16 13:43:44 +01:00
tom goriunovandGitHub 96596264b9 Call the API logout endpoint when the user logs out (#2469)
* Call the API logout endpoint when the user logs out

* fix tests

* one more fix
2024-12-16 13:22:09 +01:00
tom goriunovandGitHub 7d7e7ba4df Migrate from web3modal to reown (#2321)
* migrate from `web3modal` to `reown`

Fixes #2316

* bump up package versions
2024-12-13 18:32:26 +01:00
Igor StuevandGitHub c706726bc5 change default description (#2470) 2024-12-13 18:13:02 +01:00
tom goriunovandGitHub 653403597f Support verification of Stylus contracts (#2450)
* add Arbitrum Sepolia dev preset

* base form layout

* add validation for repo url and commit hash

* improve global error text

* show stylus contract info

* add test for contract verification form

* hide "open in IDE" for stylus contracts

* [skip ci] adjust validation rules for GitHub URL

* change contract info items order

* fix error text styles
2024-12-11 13:17:23 +01:00
Igor StuevandGitHub 568232ff21 SEO Tweaks for Gas Tracker Page (#2344)
ETH - SEO Tweaks for Gas Tracker Page
2024-12-09 20:10:17 +01:00
tom goriunovandGitHub f250119f20 Add Nouns pfps (#2447)
Fixes #2428
2024-12-09 18:01:53 +01:00
Igor StuevandGitHub 203f7931fd Scroll views (#2418)
* Scroll views

* review fix

* fix tests
2024-12-03 11:05:28 +01:00
tom goriunovandGitHub 7ce99dcd19 Migrate from Sentry.io to Rollbar monitoring solution (#2403)
* basic Rollbar setup

* remove sentry code

* add rollback env to values for demo

* [skip ci] adjust instance name

* fix validator

* don't log errors from API by default and change error levels

* [skip ci] change default value for environment property

* [skip ci] do not log api errors of address endpoint
2024-11-29 15:25:59 +01:00
tom goriunovandGitHub b9f96d3b95 Optimism and Arbitrum rollups updates (#2414)
* OP rollups: add ENV to show/hide "Output roots" page

* Rename status labels for Arbitrum blocks and transactions
2024-11-25 09:50:35 +01:00
tom goriunovandGitHub 2fcdaa2509 Celo: Cross-link to epoch block on the regular block view and Epoch rewards CSV export (#2386)
* Celo: Cross-link to epoch block on the regular block view

Fixes #2365

* [skip ci] fix hover state for gray-blue tag

* CSV export of epoch transactions for address
2024-11-21 13:44:03 +01:00
Igor StuevandGitHub f4916e78dd fix xstar responce format (#2392) 2024-11-14 01:17:59 +07:00
tom 56ed34c852 migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom 9388b65a5f update nextjs version 2024-11-12 13:41:23 +01:00
tom goriunovandGitHub 743e45bb7f Bind to full prop namings in API v2 endpoints (#2381)
Fixes #2374
2024-11-11 17:45:07 +01:00
Max Alekseenkoandtom goriunov 28e2b1d7bd Adding an email when logging into merits (#2369)
* add email step

* fix preset

* update text

* fix login with wallet

* update button text and var names

* update mixpanel events
2024-11-08 17:26:58 +01:00
isstuevandtom goriunov 778a0a9ed1 xstar endpoint url was changed 2024-11-08 17:26:58 +01:00
tom 45c6c565b2 handle reconnecting state of web3wallet 2024-11-08 17:26:58 +01:00
isstuevandtom goriunov 67854ad816 token transfers, blocks fee and xstar fixes 2024-11-08 17:26:58 +01:00
tom a7d5fe1aa7 hide NFT attributes if array is empty or has only items without value 2024-11-08 17:26:58 +01:00
tom goriunovandGitHub 07c7796eae Support bech32 address standard (#2351)
* create settings context with simple address format toggler

* transform base16 hash to bech32 hash

* add ENV variables

* add snippet to address page

* add redirect for bech32 addresses

* change address format in search

* add provider to tests

* update demo values

* migrate from Buffer to Uint8Array and add tests

* bug fixes and screenshots updates

* review fixes

* roll back changes in env values

* update screenshots
2024-11-04 18:53:59 +01:00
Igor StuevandGitHub 50089e7731 Humanity score integration (#2354)
* Humanity score integration

* isLoading fix
2024-11-04 18:53:42 +01:00
Max Alekseenko 6d2e0ab5ad change link 2024-11-04 15:38:10 +01:00
Max Alekseenko d640f238b1 add fix for localhost 2024-11-04 14:31:28 +01:00
Max Alekseenko 433f07c339 add error handling 2024-10-31 15:20:35 +01:00
Max Alekseenko b21f1224f8 post-review changes 2024-10-30 20:41:49 +01:00
Max Alekseenko d2e440a39f Merge main into rewards 2024-10-30 16:54:58 +01:00
Max Alekseenko 477129503c some fixes 2024-10-30 14:44:51 +01:00
de46df7d9e 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 096471e229 Better contract implementation selector and new quick action buttons for contract method argument inputs (#2303)
* MUD system tab placeholder

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

* add buttons to contract method arg input

* rollback changes of target contract address

* copy calldata button

* rollback changes of target contract address

* refactor contract details components

* add tabs to contract details

* migrate code to RoutedTabs

* add selector for source contract

* tests

* fix tests

* update screenshot

* update screenshots
2024-10-28 19:38:03 +01:00
tom goriunovandGitHub 4daf9661d3 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 6163fa2012 post-review changes 2024-10-28 18:02:03 +01:00
Max Alekseenko fe1e6dce36 move rewards nav link to separate component 2024-10-25 15:28:27 +02:00
Max Alekseenko 13cdbd03e4 Merge remote-tracking branch 'origin/tom2drum/issue-2029' into rewards 2024-10-24 16:29:15 +02:00
Max Alekseenko 03002a8314 disable menu item 2024-10-24 15:22:27 +02:00
Max Alekseenko 1217e0dd14 hide ref code for registered users 2024-10-24 14:58:03 +02:00
tom 68421e2a30 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-2029 2024-10-23 12:45:18 +02:00