-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[VDG] Coin Control - Stage 1 #9417
Conversation
e4f5d53
to
cec4e2c
Compare
cec4e2c
to
55b6f2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK 55b6f2a
sorting works, collapse expand works, everything seems alright.
WalletWasabi.Fluent/Views/CoinControl/Core/Cells/IndicatorsCellView.axaml
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/Cells/IndicatorsCellViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/ColumnFactory.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/ConstantTemplate.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/TreeNodeSorting.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/SelectCoinsDialogViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/SelectCoinsDialogViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/SelectCoinsDialogViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/Views/CoinControl/SelectCoinsDialogView.axaml
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/Cells/LabelsCellViewModel.cs
Outdated
Show resolved
Hide resolved
<Style Selector="controls|LabelsItemsPresenter.SemiPrivate"> | ||
<Setter Property="BorderBrush" Value="{DynamicResource PrivacyLevelMediumBrush}" /> | ||
<Setter Property="Foreground" Value="{DynamicResource PrivacyLevelMediumBrush}" /> | ||
<Setter Property="MaxLabelWidth" Value="1000" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we want such long labels here, wouldn't it cause layout issues in TDG ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 1000 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me explain the problem:
The MaxLabelWidth
is set in the default style to avoid large labels.
But when it comes to well-known labels (not real labels) like "Private Coins" "Unknown People" and so, we don't want the character ellipsis to be applied. Thus, I needed to override the value with a number high enough. This is the simplest solution, I've found, since double.PositiveInfinity
can't be specified in XAML, AFAIK.
If there's a better solution, please tell me :)
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionPreviewViewModel.cs
Outdated
Show resolved
Hide resolved
CI failing |
WalletWasabi.Fluent/ViewModels/CoinControl/Core/PocketCoinControlItemViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/PocketCoinControlItemViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/PocketCoinControlItemViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/PocketCoinControlItemViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/CoinControlItemViewModelBase.cs
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/CoinCoinControlItemViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/CoinCoinControlItemViewModel.cs
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/ViewModels/CoinControl/Core/CoinCoinControlItemViewModel.cs
Outdated
Show resolved
Hide resolved
…lItemViewModel.cs Co-authored-by: Roland Soós <soos.roland93@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
This is the simplified (non-dynamic) version of the Coin Control feature (#9350).
The strategy with this bigger feature is the following:
This PR corresponds to the Stage 1 of the feature.
What's included?
What is not included?
What will not be included?
confirmed
,is coinjoining
,banned until
...) will not vary at all.If users want to refresh the list, they will have to do a close/open cycle.
How to test
Remember that you won't be able to do anything on it just yet.