Show labels in transaction history
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItemViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItemViewModel.cs
@@ -3,6 +3,7 @@ using System.Reactive;
using System.Windows.Input;
using NBitcoin;
using ReactiveUI;
+using WalletWasabi.Blockchain.Analysis.Clustering;
using WalletWasabi.Blockchain.Transactions;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Models;
@@ -35,6 +36,8 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
IncomingAmount = amount;
}
+ Label = transactionSummary.Label;
+
ShowDetailsCommand = ReactiveCommand.Create(() => RoutableViewModel.Navigate(NavigationTarget.DialogScreen).To(new TransactionDetailsViewModel(transactionSummary, wallet, updateTrigger)));
}
@@ -54,6 +57,8 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
public Money? OutgoingAmount { get; }
+ public SmartLabel Label { get; }
+
public bool IsCoinJoin { get; }
public bool IsSelected

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:c="using:WalletWasabi.Fluent.Controls"
xmlns:history="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Home.History"
xmlns:converters="clr-namespace:WalletWasabi.Fluent.Converters"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
+ <!-- Labels -->
+
+ <DataGridTemplateColumn Header="Labels"
+ Width="*"
+ CanUserSort="True"
+ SortMemberPath="Label">
+ <DataGridTemplateColumn.CellTemplate>
+ <DataTemplate>
+ <DockPanel LastChildFill="True" x:DataType="history:HistoryItemViewModel">
+ <c:TagsBox Padding="0" IsReadOnly="True"
+ Items="{Binding Label}"
+ VerticalAlignment="Center" />
+ </DockPanel>
+ </DataTemplate>
+ </DataGridTemplateColumn.CellTemplate>
+ </DataGridTemplateColumn>
+
<!-- Status -->
<DataGridTemplateColumn Header="Status"
Width="Auto"

Show labels in transaction history