-
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] Discreet mode autofill #9647
[VDG] Discreet mode autofill #9647
Conversation
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.
It's an improvement and the code looks fine to me.
If we get bad performance with this, we can improve it easily with caching.
@ichthus1604 Looking good, added caching for glyph run and formatted text. |
@zkSNACKs/visual-design-group ready for review. Let me know your thoughts Things to look for: everywhere there is a privacy-sensitive piece of information, rendering of hashes and content layout be right. |
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.
Formatting
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
Outdated
Show resolved
Hide resolved
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
Outdated
Show resolved
Hide resolved
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
BTW this fixes #9474, I added that to the PR's description.
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.
@wieslawsoltes Please do a final review and merge it if you are happy.
Enabled discrete mode and opened wallet stats and got app locked:
|
ok so if count in CreateGlyphRun is equal 0 then we get this issue
|
LGTM |
Fixes #9474
Introduces
PrivacyTextPresenter
, which renders a line of privacy chars according to the available width, instead of using a fixed number of them.Eliminates the
PrivacyContentControl.NumberOfPrivacyChars
propertyMarked as Draft until @wieslawsoltes can review the code in the
PrivacyTextPresenter
class for performance optimization.