adjust columns
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/History/HistoryItemViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/History/HistoryItemViewModel.cs
@@ -11,7 +11,9 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.History
{
public HistoryItemViewModel(TransactionSummary transactionSummary, BitcoinStore bitcoinStore)
{
- Date = transactionSummary.DateTime.ToLocalTime().ToString("dd/MM/yyyy HH:mm", CultureInfo.InvariantCulture);
+ Date = transactionSummary.DateTime.ToLocalTime().ToString("dd/MM/yyyy", CultureInfo.InvariantCulture);
+ IsCoinJoin = transactionSummary.IsLikelyCoinJoinOutput;
+ TransactionId = transactionSummary.TransactionId.ToString();
var confirmations = transactionSummary.Height.Type == HeightType.Chain ? (int) bitcoinStore.SmartHeaderChain.TipHeight - transactionSummary.Height.Value + 1 : 0;
IsConfirmed = confirmations > 0;
@@ -25,12 +27,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.History
{
IncomingAmount = amount.ToString(fplus: false);
}
-
- Labels = transactionSummary.Label;
-
- IsCoinJoin = transactionSummary.IsLikelyCoinJoinOutput;
-
- TransactionId = transactionSummary.TransactionId.ToString();
}
public string TransactionId { get; }
@@ -39,8 +35,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.History
public string Date { get; }
- public SmartLabel Labels { get; }
-
public string? IncomingAmount { get; }
public string? OutgoingAmount { get; }

MODIFY
WalletWasabi.Fluent/Views/Wallets/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/History/HistoryTable.axaml
<DataGrid Items="{Binding Histories}" DockPanel.Dock="Bottom">
<DataGrid.Styles>
<Style Selector="PathIcon">
- <Setter Property="Width" Value="20"/>
- <Setter Property="Height" Value="20"/>
+ <Setter Property="Width" Value="15"/>
+ <Setter Property="Height" Value="15"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style Selector="TextBlock">
<DataGridTextColumn Header="Date"
x:DataType="history:HistoryItemViewModel"
Binding="{Binding Date}"
- Width="*" />
+ Width="Auto" />
- <!-- Date -->
+ <!-- Transaction ID -->
<DataGridTextColumn Header="Transaction ID"
x:DataType="history:HistoryItemViewModel"
Binding="{Binding TransactionId}"
Width="2*" />
- <!-- ~1~ Labels @1@ -->
- <!-- <DataGridTemplateColumn Header="Labels" -->
- <!-- Width="2*" -->
- <!-- SortMemberPath="Labels"> -->
- <!-- <DataGridTemplateColumn.CellTemplate> -->
- <!-- <DataTemplate> -->
- <!-- <c:TagsBox x:DataType="history:HistoryItemViewModel" Items="{Binding Labels}" IsReadOnly="True" Margin="10 -2 10 -9" Padding="0" /> -->
- <!-- </DataTemplate> -->
- <!-- </DataGridTemplateColumn.CellTemplate> -->
- <!-- </DataGridTemplateColumn> -->
-
<!-- Outgoing -->
<DataGridTemplateColumn Header="Outgoing"
Width="*"
<!-- Status -->
<DataGridTemplateColumn Header="Status"
- Width="*"
+ Width="Auto"
SortMemberPath="IsConfirmed">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
- <Panel x:DataType="history:HistoryItemViewModel">
+ <Panel x:DataType="history:HistoryItemViewModel" Margin="0 0 10 0">
<StackPanel IsVisible="{Binding IsConfirmed}">
<PathIcon Data="{StaticResource checkmark_filled}"
Foreground="{DynamicResource SystemControlBackgroundAccentBrush}" />

adjust columns