diff --git a/CHANGELOG.md b/CHANGELOG.md index dd43a97252..21543cfb98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ ## Current ### Features -- [#2642](https://github.com/poanetwork/blockscout/pull/2642) - add ERC721 coin instance page +- [#2733](https://github.com/poanetwork/blockscout/pull/2733) - Add cache for first page of uncles +- [#2735](https://github.com/poanetwork/blockscout/pull/2735) - Add pending transactions cache +- [#2726](https://github.com/poanetwork/blockscout/pull/2726) - Remove internal_transaction block_number setting from blocks runner - [#2717](https://github.com/poanetwork/blockscout/pull/2717) - Improve speed of nonconsensus data removal - [#2679](https://github.com/poanetwork/blockscout/pull/2679) - added fixed height for card chain blocks and card chain transactions - [#2678](https://github.com/poanetwork/blockscout/pull/2678) - fixed dashboard banner height bug @@ -10,9 +12,17 @@ - [#2666](https://github.com/poanetwork/blockscout/pull/2666) - fetch token counters in parallel - [#2665](https://github.com/poanetwork/blockscout/pull/2665) - new menu layout for mobile devices - [#2663](https://github.com/poanetwork/blockscout/pull/2663) - Fetch address counters in parallel +- [#2642](https://github.com/poanetwork/blockscout/pull/2642) - add ERC721 coin instance page ### Fixes - [#2750](https://github.com/poanetwork/blockscout/pull/2750) - fixed contract buttons color for NFT token instance on each theme +- [#2746](https://github.com/poanetwork/blockscout/pull/2746) - fixed wrong alignment in logs decoded view +- [#2745](https://github.com/poanetwork/blockscout/pull/2745) - optimize addresses page +- [#2742](https://github.com/poanetwork/blockscout/pull/2742) - +fixed menu hovers in dark mode desktop view +- [#2737](https://github.com/poanetwork/blockscout/pull/2737) - switched hardcoded subnetwork value to elixir expression for mobile menu +- [#2736](https://github.com/poanetwork/blockscout/pull/2736) - do not update cache if no blocks were inserted +- [#2731](https://github.com/poanetwork/blockscout/pull/2731) - fix library verification - [#2718](https://github.com/poanetwork/blockscout/pull/2718) - Include all addresses taking part in transactions in wallets' addresses counter - [#2709](https://github.com/poanetwork/blockscout/pull/2709) - Fix stuck label and value for uncle block height - [#2707](https://github.com/poanetwork/blockscout/pull/2707) - fix for dashboard banner chart legend items @@ -28,10 +38,12 @@ - [#2671](https://github.com/poanetwork/blockscout/pull/2671) - fixed buttons color at smart contract section - [#2660](https://github.com/poanetwork/blockscout/pull/2660) - set correct last value for coin balances chart data - [#2619](https://github.com/poanetwork/blockscout/pull/2619) - Enforce DB transaction's order to prevent deadlocks +- [#2738](https://github.com/poanetwork/blockscout/pull/2738) - do not fail block `internal_transactions_indexed_at` field update ### Chore - [#2724](https://github.com/poanetwork/blockscout/pull/2724) - fix ci by commenting a line in hackney library - [#2708](https://github.com/poanetwork/blockscout/pull/2708) - add log index to logs view +- [#2723](https://github.com/poanetwork/blockscout/pull/2723) - get rid of ex_json_schema warnings ## 2.0.4-beta diff --git a/apps/block_scout_web/assets/css/_layout.scss b/apps/block_scout_web/assets/css/_layout.scss index f1a4e92312..da36762bee 100644 --- a/apps/block_scout_web/assets/css/_layout.scss +++ b/apps/block_scout_web/assets/css/_layout.scss @@ -8,3 +8,7 @@ background-color: #fbfafc; } } + +.logs-hash { + line-height: 24px !important; +} \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/components/_address-overview.scss b/apps/block_scout_web/assets/css/components/_address-overview.scss index a936aec99f..f758e4affc 100644 --- a/apps/block_scout_web/assets/css/components/_address-overview.scss +++ b/apps/block_scout_web/assets/css/components/_address-overview.scss @@ -79,4 +79,8 @@ &:last-child { margin-bottom: 0; } +} + +.logs-decoded { + line-height: 25px!important; } \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_dark-theme.scss b/apps/block_scout_web/assets/css/theme/_dark-theme.scss index fec11f0146..b6bfa5d202 100644 --- a/apps/block_scout_web/assets/css/theme/_dark-theme.scss +++ b/apps/block_scout_web/assets/css/theme/_dark-theme.scss @@ -792,35 +792,37 @@ $labels-dark: #8a8dba; // header nav, labels .dark-theme-applied .dropdown-item.active, .dark-theme-applied .dropdown-item:hover, .dark-theme-applied .dropdown-item:focus { background-image: none; width: 100%; - background-color: #35335d!important; + background-color: #3f426c!important; } - .dark-theme-applied .dropdown-item:hover:before { - content: "|"; - height: 50px; - width: 50%; - opacity: 1; - background: none; - right: 17%; - color: $dark-primary; - position: relative; -} -.dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:hover, -.dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link.activeLink, -.dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:focus { - background-image: none; - width: 100%; - background-color: #35335d!important; - color: white; - border: none; - } - .dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:hover:before - { - content: "|"; - height: 50px; - width: 50%; - opacity: 1; - background: none; - left: 24%; - top: 14%; - color: $dark-primary; - } +@media (max-width: 991.98px) { + .dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:hover, + .dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link.activeLink, + .dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:focus { + background-image: none; + width: 100%; + background-color: #35335d!important; + color: white; + border: none; + } + .dark-theme-applied .dropdown-item:hover:before { + content: "|"; + height: 50px; + width: 50%; + opacity: 1; + background: none; + right: 17%; + color: $dark-primary; + position: relative; + } + .dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:hover:before + { + content: "|"; + height: 50px; + width: 50%; + opacity: 1; + background: none; + left: 24%; + top: 14%; + color: $dark-primary; + } + } diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/address_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/address_controller.ex index e2cb1f6db7..d91552229a 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/address_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/address_controller.ex @@ -44,8 +44,7 @@ defmodule BlockScoutWeb.AddressController do index: index, exchange_rate: exchange_rate, total_supply: total_supply, - tx_count: tx_count, - validation_count: validation_count(address.hash) + tx_count: tx_count ) end) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address/_tile.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address/_tile.html.eex index 56f1a2bbb2..4945dca50c 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address/_tile.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address/_tile.html.eex @@ -29,11 +29,6 @@ <%= @tx_count %> <%= gettext "Transactions sent" %> - <% if validator?(@address) do %> - - <%= @validation_count %> - <%= gettext "Validations" %> - <% end %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address_logs/_logs.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address_logs/_logs.html.eex index 92a8ebc6cc..945049ace6 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address_logs/_logs.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address_logs/_logs.html.eex @@ -17,7 +17,7 @@
<%= gettext "Transaction" %>
-

+

<%= link( @log.transaction, to: transaction_path(@conn, :show, @log.transaction), diff --git a/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex index 0463d28a15..925028503c 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex @@ -16,7 +16,7 @@ - Sokol Testnet + <%= subnetwork_title() %>