Commit Graph
369 Commits
Author SHA1 Message Date
tom goriunovandGitHub 60e0aa3364 Support show_scam_tokens cookie (#2560)
* Support `show_scam_tokens` cookie

Fixes #2549

* fix test and update envs for demo

* [skip ci] pass all cookies via next proxy

* fixes
2025-02-17 14:26:05 +01:00
tom goriunovandGitHub 114587672c ReCaptcha: migrate back to v2 solution (#2446)
* show recaptcha in the site footer

* replace badge in footer with text

* add invisible reCaptcha v2

* handle unsolved reCaptcha case

* migrate the rest of components to invisible reCaptcha v2

* remove unused code

* refactoring

* add env for demo

* fix tests

* update values for demo

* update link to secret in vault

* mock recaptcha for tests

* ohhh victor victor

* fix token metadata update test

* deprecate variable for ReCaptcha v3
2024-12-09 18:06:56 +01:00
tom goriunovandGitHub da6b2f2b87 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
Igor StuevandGitHub 926beb4091 Merge pull request #2319 from blockscout/fe-2287
Favicon generator: replace realfavicon with favicons package
2024-11-01 11:39:06 +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
isstuev 71cf615b30 Favicon generator: replace realfavicon with favicons package 2024-10-25 13:57:35 +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 ceee8844d0 Limit page content width (#2197)
* limit content width for horizontal menu layout

* limit content width for vertical menu layout

* limit amout of tabs in routed tabs skeleton

* fix width of error screen

* add NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL L2 review envs

* add tests

* fixes

* fix tests

* move content wrapper to render fixture

* update screenshots and fix tests
2024-08-28 13:20:33 +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
Igor StuevandGitHub 633f65490a Merge pull request #2120 from blockscout/fe-2067
change verification type and validator title for Arbitrum and zkEvm
2024-08-19 11:02:46 +02:00
Max Alekseenko 10c7aca222 remove NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL 2024-07-26 14:08:29 +02:00
Max Alekseenko d088a0956c return envs back to review and remove secret from review-l2 2024-07-26 13:12:39 +02:00
Max Alekseenko 45496c1715 remove marketplace env vars from deployment values 2024-07-26 11:22:31 +02:00
isstuev 25c36602aa fix review variables 2024-07-26 10:13:27 +02:00
Max Alekseenko dda0ed1a9f add secret 2024-07-15 13:40:26 +02:00
tom e87d1a8034 temporary remove NEXT_PUBLIC_MARKETPLACE_RATING_AIRTABLE_API_KEY from deployment values 2024-07-12 17:29:31 +02:00
aagaev 76abb6080f New env is set for review instances 2024-07-10 12:46:37 +00:00
63516eb3c8 Celo: show gas fees paid in ERC20 tokens (#2061)
* component for displaying tx fee

* config for celo alfajores

* display tx fee and gas price in celo token

* adjustments for stability fee

* clean up

* update screenshots

* change envs for demo

* more screenshot updates

* Removing unneeded network id var from review deploy

* rollback envs for demo

* fix currency symbol in tx table header

* lol 🤦‍♂️

---------

Co-authored-by: Nick Zenchik <[email protected]>
2024-07-08 14:34:00 +02:00
tom goriunovandGitHub 9cddd83786 Redesign hero section on home page (#2050)
* change hero section

* add AdBanner to hero block

* show icon instead of text on "connect wallet" button on md desktops

* redesign stats widgets

* new design for home page charts

* fix skeletons

* update demo values

* disable getit provider

* fixes for adbutler provider

* show token logo placeholder for secondary coin logo

* add width to hype banner

* update demo values

* remove letter spacing for large headings

* indicators block fixes

* update icons

* update screenshots
2024-07-08 12:37:19 +02: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
Nick Zenchik 03d89951c8 Removing front-main and l2-optimism-goerli envs 2024-06-11 11:25:04 +04:00
Max Alekseenko 60444489c7 Merge branch 'main' into defi-dropdown 2024-05-22 11:33:04 +02:00
Max Alekseenko fdd31a19c1 rework defi dropdown env value 2024-05-21 20:19:10 +02:00
tom goriunovandGitHub bfb5d6acc7 Update styles of form inputs (#1914)
* Update styles of form inputs

* update token info form

* update demo values

* fix preset for sepolia

* update screenshots
2024-05-15 17:37:02 +02:00
93aadcab4e 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 goriunovandGitHub 7260a87d8a 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
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
Nick Zenchik 4c1985ceca Switch preview env to sepolia 2024-04-26 11:45:04 +04:00
tom goriunovandGitHub 73b236d065 hotfix: tabs will not recalculate cut position after API data is loaded (#1856)
* fix tabs cut after API data is loaded

* update demo values
2024-04-24 19:24:00 +02:00
tom f36becd32d add metadata service feature 2024-04-23 15:41:12 +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 476eab8d92 change env for review 2024-04-04 19:42:53 +02:00
Max Alekseenko 49b64e60ca move env vars 2024-04-04 18:28:32 +02:00
Max Alekseenko 188139b77c add iframe banner 2024-04-04 18:00:48 +02:00
tom goriunovandGitHub 021917c6d3 Monitoring: social preview bots request counter (#1781)
* add counter metric and logger for bot request

* add script for grafana local instance

* add log endpoint

* add ENV to enable monitoring

* [skip ci] change metric labels and add telegram bot

* [skip ci] remove 404 from /metrics route
2024-04-04 12:49:21 +02:00
35c1f4597c Numbers over 16(?) digits are rounded in contract method fields (#1761)
* Numbers over 16(?) digits are rounded in contract method fields

Fixes #1750

* Update values.yaml.gotmpl

Changed public rpc to Sepolia

* Set NEXT_PUBLIC_NETWORK_ID

---------

Co-authored-by: Yan Vaskov <[email protected]>
2024-04-01 14:49:20 +02:00
Max AlekseenkoandGitHub 6d20b6239f Merge pull request #1709 from blockscout/dapps-security-score
Dapps security score
2024-04-01 12:33:53 +02:00
tom goriunovandGitHub 1b34288f24 change ENV for blob txs (#1751) 2024-03-27 19:37:10 +01:00
Igor StuevandGitHub 0d3651d47d Merge pull request #1747 from blockscout/fe-1699
Add AdButler as an additional ad provider
2024-03-27 15:02:58 +04:00
ddd3d75768 Noves integration (#1398)
* noves integration

* code refactored

* PR changes added

* Code set up for new proxy 'describeTxs'

* minor fix

* Rename Novestranslate.ts to NovesTranslate.ts

* some quick stuff

* partial fixes and commit for changing how useDescribeTxs and txsContent work (new GET endpoint)

* Pending PR fixes

* tx asset flows pageSize of 50

* PR comments fixes

* rename expected api endpoint for the describe_txs endpoint, more accurate and descriptive

* one final re-name for api endpoint (make it clear it's an object vs an action)

* scrollRef fix

* build error fix

* design fixes

* sub heading fix

* Removed pagination in account history

* remove duplicate route

* updated table theme and icon gap

* Removed wrong color in table

* removed null validation in page params

* updated margin

* margin fix

* add icons to contracts

* Sub-heading interpretation simplified

* token alignment fix

* tests added for new functions

* margin fix

* remove divider on mobile asset flows

---------

Co-authored-by: NahuelNoves <[email protected]>
Co-authored-by: francisco-noves <[email protected]>
2024-03-26 18:39:46 +01:00
isstuev 1a1f99d5fc Add AdButler as an additional ad provider 2024-03-26 16:07:17 +04:00
Max Alekseenko 83a1c9e7ff Merge branch 'main' into dapps-security-score 2024-03-21 16:54:21 +01:00
Igor StuevandGitHub 2c58e5f757 Merge pull request #1647 from blockscout/getit
Getit ad banner
2024-03-18 14:45:34 +04:00
Max Alekseenko 7810df9c0f add marketplace config url for review deployment 2024-03-15 18:24:47 +01:00
Max Alekseenko a0f3205866 Update values.yaml.gotmpl 2024-03-15 15:46:34 +01:00
tom 10f6f11689 change api for demo 2024-03-14 12:11:02 +04:00
isstuev 65da2a6f4b getit test 2024-03-13 11:11:19 +01:00
284ced387a Metasuites placeholders (#1637)
* placeholders for address and txs

* placeholder for explorer link

* move phalcon link

* change api endpoint for demo

* Fixing upstream header too large

* ready flags and navigation events

* add ENV

---------

Co-authored-by: Nick Zenchik <[email protected]>
2024-03-08 08:44:58 +04:00
isstuev 0251b3bb86 contract audits 2024-02-19 12:45:18 +01:00