Skip to content

Commit

Permalink
fix: microblock detail UI (#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek authored Jan 23, 2025
1 parent cde1b17 commit d5df11a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 41 deletions.
22 changes: 11 additions & 11 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,30 @@ NUXT_PUBLIC_SENTRY_DSN=

# ------ TESTNET ------

# Required
## Required
#NUXT_PUBLIC_APP_DOMAIN=localhost:8080
#NUXT_PUBLIC_MIDDLEWARE_URL=https://testnet.aeternity.io/mdw
#NUXT_PUBLIC_NODE_URL=https://testnet.aeternity.io
#NUXT_PUBLIC_WEBSOCKET_URL=wss://testnet.aeternity.io/mdw/v3/websocket
#NUXT_PUBLIC_NETWORK_NAME=TESTNET
#NUXT_PUBLIC_NETWORK_ID="ae_uat"

# Alternative network
#
## Alternative network
#NUXT_PUBLIC_ALTERNATIVE_NETWORK_NAME="MAINNET"

#
# DEX
#NUXT_PUBLIC_DEX_BACKEND_URL=https://dex-backend-testnet.prd.service.aepps.com
#NUXT_PUBLIC_SH_DEX_CONTRACTS='ct_NhbxN8wg8NLkGuzwRNDQhMDKSKBwDAQgxQawK7tkigi2aC7i9;ct_MLXQEP12MBn99HL6WDaiTqDbG4bJQ3Q9Bzr57oLfvEkghvpFb'

# Smart Contract Verification
#
## Smart Contract Verification
#NUXT_PUBLIC_CONTRACT_VERIFICATION_SERVICE_URL="https://scv-gateway-testnet.dev.service.aepps.com"

# Feature flags
#
## Feature flags
#NUXT_PUBLIC_ENABLE_MARKET_STATS=true
#NUXT_PUBLIC_ENABLE_NODES=http://138.68.22.27:3113/v2/debug/network

# Other
#NUXT_PUBLIC_AE_TOKEN_ID=
#
## Other
#NUXT_PUBLIC_AE_TOKEN_ID=ct_JDp175ruWd7mQggeHewSLS1PFXt9AzThCDaFedxon8mF8xTRF
#NUXT_PUBLIC_DEBUG_MODE=false
#NUXT_PUBLIC_PLAUSIBLE_URL=
#NUXT_PUBLIC_SENTRY_AUTH_TOKEN=
Expand Down
43 changes: 18 additions & 25 deletions src/components/MicroblockDetailsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<hint-tooltip>
{{ microblocksHints.microblockId }}
</hint-tooltip>
Microblock ID
Hash
</th>
<td>
<div class="u-hidden-mobile">
Expand Down Expand Up @@ -56,7 +56,7 @@
<hint-tooltip>
{{ microblocksHints.time }}
</hint-tooltip>
Created Height
Created
</th>
<td>
<timestamp-label
Expand Down Expand Up @@ -94,25 +94,23 @@
API Links
</th>
<td>
<div class="microblock-details-panel__container">
<app-link
:to="microblockNodeUrl"
class="microblock-details-panel__link">
<app-icon
name="file-cloud"
:size="22"/>
Node
</app-link>
<app-link
:to="microblockNodeUrl"
class="microblock-details-panel__link">
<app-icon
name="file-cloud"
:size="22"/>
Node
</app-link>

<app-link
:to="microblockMiddlewareUrl"
class="microblock-details-panel__link">
<app-icon
name="file-cloud"
:size="22"/>
Middleware
</app-link>
</div>
<app-link
:to="microblockMiddlewareUrl"
class="microblock-details-panel__link">
<app-icon
name="file-cloud"
:size="22"/>
Middleware
</app-link>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -144,7 +142,6 @@ const microblockMiddlewareUrl = computed(() =>
.microblock-details-panel {
&__table-header {
border-bottom: 1px solid var(--color-midnight-25);
font-weight: normal;
@media (--desktop) {
width: var(--detail-column-width);
Expand All @@ -155,10 +152,6 @@ const microblockMiddlewareUrl = computed(() =>
border-bottom: 0;
}
&__container {
display: flex;
}
&__link {
display: inline-flex;
align-items: center;
Expand Down
11 changes: 6 additions & 5 deletions src/components/MicroblockTransactionsTableCondensed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@
</td>
</tr>
<tr class="microblock-transactions-table-condensed__row">
<hint-tooltip>
{{ microblocksHints.transactionType }}
</hint-tooltip>
Type
<th class="microblock-transactions-table-condensed__header"/>
<th class="microblock-transactions-table-condensed__header">
<hint-tooltip>
{{ microblocksHints.transactionType }}
</hint-tooltip>
Type
</th>
<td class="microblock-transactions-table-condensed__data">
<hint-tooltip>
{{ transactionsHints[transaction.hintKey] }}
Expand Down

0 comments on commit d5df11a

Please sign in to comment.