From dcf29c5e962a5013dc874e9b4e52e6fca538f090 Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Thu, 27 Oct 2022 18:08:40 -0700 Subject: [PATCH] Tooltip on blank headers --- .../on-chain/utxo-tables/utxos/utxos.component.html | 2 +- .../channel-open-table.component.scss | 3 ++- .../channel-pending-table.component.scss | 3 ++- .../cln/peers-channels/peers/peers.component.html | 2 +- .../cln/peers-channels/peers/peers.component.scss | 3 ++- .../lightning-invoices-table.component.html | 2 +- .../lightning-invoices-table.component.scss | 3 ++- .../offers/offers-table/offers-table.component.html | 2 +- .../offers/offers-table/offers-table.component.scss | 3 ++- .../payments/lightning-payments.component.html | 2 +- .../payments/lightning-payments.component.scss | 3 ++- .../channel-inactive-table.component.scss | 3 ++- .../channel-open-table.component.scss | 3 ++- .../channel-pending-table.component.scss | 3 ++- .../peers-channels/peers/peers.component.html | 2 +- .../peers-channels/peers/peers.component.scss | 3 ++- .../forwarding-history.component.html | 7 ++++++- .../forwarding-history.component.scss | 9 +++++++++ .../forwarding-history.component.ts | 1 + .../invoices/lightning-invoices.component.html | 2 +- .../invoices/lightning-invoices.component.scss | 3 ++- .../on-chain/utxo-tables/utxos/utxos.component.scss | 3 ++- .../channel-open-table.component.html | 4 ++-- .../channel-open-table.component.scss | 12 ++++++++++++ .../invoices/lightning-invoices.component.html | 10 +++++----- .../invoices/lightning-invoices.component.scss | 13 ++++++++++--- .../payments/lightning-payments.component.html | 2 +- 27 files changed, 77 insertions(+), 31 deletions(-) diff --git a/src/app/cln/on-chain/utxo-tables/utxos/utxos.component.html b/src/app/cln/on-chain/utxo-tables/utxos/utxos.component.html index e027a348..e1db0d9f 100644 --- a/src/app/cln/on-chain/utxo-tables/utxos/utxos.component.html +++ b/src/app/cln/on-chain/utxo-tables/utxos/utxos.component.html @@ -10,7 +10,7 @@ - +
           diff --git a/src/app/cln/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss b/src/app/cln/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss index 23346df9..c0edfa1a 100644 --- a/src/app/cln/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss +++ b/src/app/cln/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss @@ -1,7 +1,8 @@ @import "../../../../../shared/theme/styles/mixins.scss"; .mat-column-private { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-short_channel_id, .mat-column-alias, .mat-column-id, .mat-column-channel_id, .mat-column-funding_txid { diff --git a/src/app/cln/peers-channels/channels/channels-tables/channel-pending-table/channel-pending-table.component.scss b/src/app/cln/peers-channels/channels/channels-tables/channel-pending-table/channel-pending-table.component.scss index aa96d827..fc701231 100644 --- a/src/app/cln/peers-channels/channels/channels-tables/channel-pending-table/channel-pending-table.component.scss +++ b/src/app/cln/peers-channels/channels/channels-tables/channel-pending-table/channel-pending-table.component.scss @@ -1,7 +1,8 @@ @import "../../../../../shared/theme/styles/mixins.scss"; .mat-column-private { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-short_channel_id, .mat-column-alias, .mat-column-id, .mat-column-channel_id, .mat-column-funding_txid { diff --git a/src/app/cln/peers-channels/peers/peers.component.html b/src/app/cln/peers-channels/peers/peers.component.html index 65b0c298..2639eb4a 100644 --- a/src/app/cln/peers-channels/peers/peers.component.html +++ b/src/app/cln/peers-channels/peers/peers.component.html @@ -18,7 +18,7 @@ - +
diff --git a/src/app/cln/peers-channels/peers/peers.component.scss b/src/app/cln/peers-channels/peers/peers.component.scss index 143350f4..79eb80d6 100644 --- a/src/app/cln/peers-channels/peers/peers.component.scss +++ b/src/app/cln/peers-channels/peers/peers.component.scss @@ -1,5 +1,6 @@ .mat-column-connected { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-alias, .mat-column-id, .mat-column-netaddr { diff --git a/src/app/cln/transactions/invoices/invoices-table/lightning-invoices-table.component.html b/src/app/cln/transactions/invoices/invoices-table/lightning-invoices-table.component.html index 9a0eb833..91f6944c 100644 --- a/src/app/cln/transactions/invoices/invoices-table/lightning-invoices-table.component.html +++ b/src/app/cln/transactions/invoices/invoices-table/lightning-invoices-table.component.html @@ -31,7 +31,7 @@ - +
diff --git a/src/app/cln/transactions/invoices/invoices-table/lightning-invoices-table.component.scss b/src/app/cln/transactions/invoices/invoices-table/lightning-invoices-table.component.scss index 802276bd..f8f2da31 100644 --- a/src/app/cln/transactions/invoices/invoices-table/lightning-invoices-table.component.scss +++ b/src/app/cln/transactions/invoices/invoices-table/lightning-invoices-table.component.scss @@ -1,5 +1,6 @@ .mat-column-status { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-description, .mat-column-label, .mat-column-payment_hash, .mat-column-bolt11 { diff --git a/src/app/cln/transactions/offers/offers-table/offers-table.component.html b/src/app/cln/transactions/offers/offers-table/offers-table.component.html index 9e23916a..5e1e32c3 100644 --- a/src/app/cln/transactions/offers/offers-table/offers-table.component.html +++ b/src/app/cln/transactions/offers/offers-table/offers-table.component.html @@ -16,7 +16,7 @@ - +
diff --git a/src/app/cln/transactions/offers/offers-table/offers-table.component.scss b/src/app/cln/transactions/offers/offers-table/offers-table.component.scss index 0b755274..4a21e2cf 100644 --- a/src/app/cln/transactions/offers/offers-table/offers-table.component.scss +++ b/src/app/cln/transactions/offers/offers-table/offers-table.component.scss @@ -1,5 +1,6 @@ .mat-column-active { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-offer_id, .mat-column-bolt12 { diff --git a/src/app/cln/transactions/payments/lightning-payments.component.html b/src/app/cln/transactions/payments/lightning-payments.component.html index 47d49544..7ad77ce6 100644 --- a/src/app/cln/transactions/payments/lightning-payments.component.html +++ b/src/app/cln/transactions/payments/lightning-payments.component.html @@ -28,7 +28,7 @@ - +
diff --git a/src/app/cln/transactions/payments/lightning-payments.component.scss b/src/app/cln/transactions/payments/lightning-payments.component.scss index 9d041c91..8a4449d8 100644 --- a/src/app/cln/transactions/payments/lightning-payments.component.scss +++ b/src/app/cln/transactions/payments/lightning-payments.component.scss @@ -1,5 +1,6 @@ .mat-column-status, .mat-column-group_status { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-payment_hash, .mat-column-bolt11, .mat-column-destination, .mat-column-label, .mat-column-memo { diff --git a/src/app/eclair/peers-channels/channels/channels-tables/channel-inactive-table/channel-inactive-table.component.scss b/src/app/eclair/peers-channels/channels/channels-tables/channel-inactive-table/channel-inactive-table.component.scss index f8c972b5..74493a2c 100644 --- a/src/app/eclair/peers-channels/channels/channels-tables/channel-inactive-table/channel-inactive-table.component.scss +++ b/src/app/eclair/peers-channels/channels/channels-tables/channel-inactive-table/channel-inactive-table.component.scss @@ -1,7 +1,8 @@ @import "../../../../../shared/theme/styles/mixins.scss"; .mat-column-announceChannel { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-alias, .mat-column-channelId, .mat-column-nodeId { diff --git a/src/app/eclair/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss b/src/app/eclair/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss index 6303fc00..efa0a85e 100644 --- a/src/app/eclair/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss +++ b/src/app/eclair/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss @@ -1,7 +1,8 @@ @import "../../../../../shared/theme/styles/mixins.scss"; .mat-column-announceChannel { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-alias, .mat-column-channelId, .mat-column-nodeId { diff --git a/src/app/eclair/peers-channels/channels/channels-tables/channel-pending-table/channel-pending-table.component.scss b/src/app/eclair/peers-channels/channels/channels-tables/channel-pending-table/channel-pending-table.component.scss index dc55d71b..bbe4e2a2 100644 --- a/src/app/eclair/peers-channels/channels/channels-tables/channel-pending-table/channel-pending-table.component.scss +++ b/src/app/eclair/peers-channels/channels/channels-tables/channel-pending-table/channel-pending-table.component.scss @@ -1,5 +1,6 @@ .mat-column-announceChannel { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-alias, .mat-column-channelId, .mat-column-nodeId { diff --git a/src/app/eclair/peers-channels/peers/peers.component.html b/src/app/eclair/peers-channels/peers/peers.component.html index 7c14380f..a44b0938 100644 --- a/src/app/eclair/peers-channels/peers/peers.component.html +++ b/src/app/eclair/peers-channels/peers/peers.component.html @@ -18,7 +18,7 @@ - +
diff --git a/src/app/eclair/peers-channels/peers/peers.component.scss b/src/app/eclair/peers-channels/peers/peers.component.scss index ecfaeded..ad2e8aa0 100644 --- a/src/app/eclair/peers-channels/peers/peers.component.scss +++ b/src/app/eclair/peers-channels/peers/peers.component.scss @@ -1,5 +1,6 @@ .mat-column-state { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-alias, .mat-column-nodeId, .mat-column-address { diff --git a/src/app/eclair/routing/forwarding-history/forwarding-history.component.html b/src/app/eclair/routing/forwarding-history/forwarding-history.component.html index 4ccf7a31..18a69084 100644 --- a/src/app/eclair/routing/forwarding-history/forwarding-history.component.html +++ b/src/app/eclair/routing/forwarding-history/forwarding-history.component.html @@ -9,10 +9,15 @@
+ + + + diff --git a/src/app/eclair/routing/forwarding-history/forwarding-history.component.scss b/src/app/eclair/routing/forwarding-history/forwarding-history.component.scss index 160d0806..d4c2f009 100644 --- a/src/app/eclair/routing/forwarding-history/forwarding-history.component.scss +++ b/src/app/eclair/routing/forwarding-history/forwarding-history.component.scss @@ -1,3 +1,12 @@ +.mat-column-type { + max-width: 1.2rem; + width:1.2rem; + & svg { + max-width: 1.6rem; + width:1.6rem; + } +} + .mat-column-fromChannelId, .mat-column-fromAlias, .mat-column-toChannelId, .mat-column-toAlias, .mat-column-paymentHash { padding-left: 1rem; flex: 1 1 15%; diff --git a/src/app/eclair/routing/forwarding-history/forwarding-history.component.ts b/src/app/eclair/routing/forwarding-history/forwarding-history.component.ts index 206e98c0..95ace53c 100644 --- a/src/app/eclair/routing/forwarding-history/forwarding-history.component.ts +++ b/src/app/eclair/routing/forwarding-history/forwarding-history.component.ts @@ -65,6 +65,7 @@ export class ECLForwardingHistoryComponent implements OnInit, OnChanges, AfterVi } else { this.displayedColumns = JSON.parse(JSON.stringify(this.tableSetting.columnSelection)); } + this.displayedColumns.unshift('type'); this.displayedColumns.push('actions'); this.pageSize = this.tableSetting.recordsPerPage ? +this.tableSetting.recordsPerPage : PAGE_SIZE; this.logger.info(this.displayedColumns); diff --git a/src/app/eclair/transactions/invoices/lightning-invoices.component.html b/src/app/eclair/transactions/invoices/lightning-invoices.component.html index 8e3ad122..319e8c2c 100644 --- a/src/app/eclair/transactions/invoices/lightning-invoices.component.html +++ b/src/app/eclair/transactions/invoices/lightning-invoices.component.html @@ -31,7 +31,7 @@
+ + Date/Time - {{fhEvent?.timestamp | date:'dd/MMM/y HH:mm'}}
- +
diff --git a/src/app/eclair/transactions/invoices/lightning-invoices.component.scss b/src/app/eclair/transactions/invoices/lightning-invoices.component.scss index d967b4bd..769dcacb 100644 --- a/src/app/eclair/transactions/invoices/lightning-invoices.component.scss +++ b/src/app/eclair/transactions/invoices/lightning-invoices.component.scss @@ -1,5 +1,6 @@ .mat-column-status { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-nodeId, .mat-column-paymentHash, .mat-column-description { diff --git a/src/app/lnd/on-chain/utxo-tables/utxos/utxos.component.scss b/src/app/lnd/on-chain/utxo-tables/utxos/utxos.component.scss index 9cc3c12c..8bfbe048 100644 --- a/src/app/lnd/on-chain/utxo-tables/utxos/utxos.component.scss +++ b/src/app/lnd/on-chain/utxo-tables/utxos/utxos.component.scss @@ -1,5 +1,6 @@ .mat-column-is_dust { - width: 2rem; + max-width: 1.2rem; + width:1.2rem; } .mat-column-label, .mat-column-tx_id, .mat-column-address { diff --git a/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.html b/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.html index c9561556..a3f83793 100644 --- a/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.html +++ b/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.html @@ -9,14 +9,14 @@ - + - +
diff --git a/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss b/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss index c80054aa..da47a031 100644 --- a/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss +++ b/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.scss @@ -1,5 +1,17 @@ @import "../../../../../shared/theme/styles/mixins.scss"; +.mat-column-active { + max-width: 1.2rem; + width:1.2rem; + padding-right: 0.5rem; +} + +.mat-column-private { + padding-right: 0.5rem; + max-width: 1.6rem; + width:1.6rem; +} + .mat-column-remote_alias, .mat-column-remote_pubkey, .mat-column-channel_point, .mat-column-chan_id { flex: 0 0 15%; width: 15%; diff --git a/src/app/lnd/transactions/invoices/lightning-invoices.component.html b/src/app/lnd/transactions/invoices/lightning-invoices.component.html index 5b5028e7..aa445027 100644 --- a/src/app/lnd/transactions/invoices/lightning-invoices.component.html +++ b/src/app/lnd/transactions/invoices/lightning-invoices.component.html @@ -30,7 +30,7 @@ - + + - + - + -
@@ -38,21 +38,21 @@ - @@ -159,7 +159,7 @@ +

No invoice available.

Getting invoices...

{{errorMessage}}

diff --git a/src/app/lnd/transactions/invoices/lightning-invoices.component.scss b/src/app/lnd/transactions/invoices/lightning-invoices.component.scss index 9104add8..de41a0c5 100644 --- a/src/app/lnd/transactions/invoices/lightning-invoices.component.scss +++ b/src/app/lnd/transactions/invoices/lightning-invoices.component.scss @@ -1,6 +1,13 @@ -.mat-column-state, .mat-column-private, -.mat-column-is_keysend, .mat-column-is_amp { - width: 2rem; +.mat-column-state { + max-width: 1.2rem; + width:1.2rem; + padding-right: 0.5rem; +} + +.mat-column-private, .mat-column-is_keysend, .mat-column-is_amp { + padding-right: 0.5rem; + max-width: 1.6rem; + width:1.6rem; } .mat-column-memo, .mat-column-r_preimage, .mat-column-r_hash, diff --git a/src/app/lnd/transactions/payments/lightning-payments.component.html b/src/app/lnd/transactions/payments/lightning-payments.component.html index ae9c7227..42f87219 100644 --- a/src/app/lnd/transactions/payments/lightning-payments.component.html +++ b/src/app/lnd/transactions/payments/lightning-payments.component.html @@ -28,7 +28,7 @@ - +