From 81cff1c2719932bd3e1678af9c4d31c94e399282 Mon Sep 17 00:00:00 2001 From: Alex Panturu Date: Tue, 18 Jun 2024 15:51:42 +0300 Subject: [PATCH] update design --- .../__snapshots__/BlocksCard.spec.js.snap | 30 ++++--- .../__snapshots__/BlocksList.spec.js.snap | 3 +- .../TransactionsCard.spec.js.snap | 30 ++++--- .../TransactionsList.spec.js.snap | 3 +- .../components/blocks-list/BlocksList.svelte | 4 +- .../transactions-list/TransactionsList.svelte | 4 +- .../__tests__/__snapshots__/page.spec.js.snap | 90 ++++++++++++------- .../__tests__/__snapshots__/page.spec.js.snap | 45 ++++++---- .../__tests__/__snapshots__/page.spec.js.snap | 6 +- .../__tests__/__snapshots__/page.spec.js.snap | 45 ++++++---- 10 files changed, 172 insertions(+), 88 deletions(-) diff --git a/explorer/src/lib/components/__tests__/__snapshots__/BlocksCard.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/BlocksCard.spec.js.snap index 85a9f62cc9..bab90d97e6 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/BlocksCard.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/BlocksCard.spec.js.snap @@ -797,13 +797,14 @@ exports[`Blocks Card > should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
should disable the \`Show More\` button if there is no mo - average fee paid (dusk) + average fee paid
0 + DUSK
renders the Blocks List component 1`] = ` - average fee paid (dusk) + average fee paid
0.000000001 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000215552 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000215617 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000214413 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000291769 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000290764 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000291961 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000292039 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000290406 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000291537 + DUSK
should disable the \`Show More\` button if there is - Fee (DUSK) + Fee
0.000291361 + DUSK
renders the Transactions List component 1`] = ` - Fee (DUSK) + Fee
0.000290766 + DUSK
- average fee paid (dusk) + average fee paid - {formatter(luxToDusk(data.transactions.stats.averageGasPrice))} + {formatter(luxToDusk(data.transactions.stats.averageGasPrice))} DUSK diff --git a/explorer/src/lib/components/transactions-list/TransactionsList.svelte b/explorer/src/lib/components/transactions-list/TransactionsList.svelte index b39dc3cde8..8c265fa6dc 100644 --- a/explorer/src/lib/components/transactions-list/TransactionsList.svelte +++ b/explorer/src/lib/components/transactions-list/TransactionsList.svelte @@ -81,9 +81,9 @@ - Fee (DUSK) + Fee - {formatter(luxToDusk(data.feepaid))} + {formatter(luxToDusk(data.feepaid))} DUSK diff --git a/explorer/src/routes/__tests__/__snapshots__/page.spec.js.snap b/explorer/src/routes/__tests__/__snapshots__/page.spec.js.snap index c15fe63114..0de363d136 100644 --- a/explorer/src/routes/__tests__/__snapshots__/page.spec.js.snap +++ b/explorer/src/routes/__tests__/__snapshots__/page.spec.js.snap @@ -3187,13 +3187,14 @@ exports[`home page > should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - average fee paid (dusk) + average fee paid
0 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000290681 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000291225 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000292137 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000290572 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000215552 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000215617 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000214413 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000291769 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000290764 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000291961 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000292039 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000290406 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000291537 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000291361 + DUSK
should render the home page, start polling for the latest c - Fee (DUSK) + Fee
0.000290385 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Blocks page, start polling for blocks a - average fee paid (dusk) + average fee paid
0 + DUSK
should render the Block Details page and query the nece - Fee (DUSK) + Fee
0.000290866 + DUSK
should render the Block Details page and query the nece - Fee (DUSK) + Fee
0.000289852 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000215552 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000215617 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000214413 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000291769 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000290764 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000291961 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000292039 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000290406 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000291537 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000291361 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000290385 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000290795 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000290449 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000290555 + DUSK
should render the Transactions page, start polling - Fee (DUSK) + Fee
0.000291983 + DUSK