work on new hw wallet ux / ui.
MODIFY
WalletWasabi.Fluent/Icons/Icons.xaml
WalletWasabi.Fluent/Icons/Icons.xaml
<StreamGeometry x:Key="warning_regular">M10.9093922,2.78216375 C11.9491636,2.20625071 13.2471955,2.54089334 13.8850247,3.52240345 L13.9678229,3.66023048 L21.7267791,17.6684928 C21.9115773,18.0021332 22.0085303,18.3772743 22.0085303,18.7586748 C22.0085303,19.9495388 21.0833687,20.9243197 19.9125791,21.003484 L19.7585303,21.0086748 L4.24277801,21.0086748 C3.86146742,21.0086748 3.48641186,20.9117674 3.15282824,20.7270522 C2.11298886,20.1512618 1.7079483,18.8734454 2.20150311,17.8120352 L2.27440063,17.668725 L10.0311968,3.66046274 C10.2357246,3.291099 10.5400526,2.98673515 10.9093922,2.78216375 Z M20.4146132,18.3952808 L12.6556571,4.3870185 C12.4549601,4.02467391 11.9985248,3.89363262 11.6361802,4.09432959 C11.5438453,4.14547244 11.4637001,4.21532637 11.4006367,4.29899869 L11.3434484,4.38709592 L3.58665221,18.3953582 C3.385998,18.7577265 3.51709315,19.2141464 3.87946142,19.4148006 C3.96285732,19.4609794 4.05402922,19.4906942 4.14802472,19.5026655 L4.24277801,19.5086748 L19.7585303,19.5086748 C20.1727439,19.5086748 20.5085303,19.1728883 20.5085303,18.7586748 C20.5085303,18.6633247 20.4903516,18.5691482 20.455275,18.4811011 L20.4146132,18.3952808 L12.6556571,4.3870185 L20.4146132,18.3952808 Z M12.0004478,16.0017852 C12.5519939,16.0017852 12.9991104,16.4489016 12.9991104,17.0004478 C12.9991104,17.5519939 12.5519939,17.9991104 12.0004478,17.9991104 C11.4489016,17.9991104 11.0017852,17.5519939 11.0017852,17.0004478 C11.0017852,16.4489016 11.4489016,16.0017852 12.0004478,16.0017852 Z M11.9962476,8.49954934 C12.3759432,8.49924613 12.689964,8.78114897 12.7399193,9.14718469 L12.7468472,9.24894974 L12.750448,13.7505438 C12.7507788,14.1647572 12.4152611,14.5008121 12.0010476,14.5011439 C11.621352,14.5014471 11.3073312,14.2195442 11.257376,13.8535085 L11.250448,13.7517435 L11.2468472,9.25014944 C11.2465164,8.83593601 11.5820341,8.49988112 11.9962476,8.49954934 Z</StreamGeometry>
<StreamGeometry x:Key="options_regular">M8.75 13.5C10.2862 13.5 11.5735 14.5658 11.9126 15.9983L21.25 16C21.6642 16 22 16.3358 22 16.75C22 17.1297 21.7178 17.4435 21.3518 17.4932L21.25 17.5L11.9129 17.5007C11.5741 18.9337 10.2866 20 8.75 20C7.21345 20 5.92594 18.9337 5.58712 17.5007L2.75 17.5C2.33579 17.5 2 17.1642 2 16.75C2 16.3703 2.28215 16.0565 2.64823 16.0068L2.75 16L5.58712 15.9993C5.92594 14.5663 7.21345 13.5 8.75 13.5ZM8.75 15C7.98586 15 7.33611 15.4898 7.09753 16.1725L7.07696 16.2352L7.03847 16.3834C7.01326 16.5016 7 16.6242 7 16.75C7 16.9048 7.02011 17.055 7.05785 17.1979L7.09766 17.3279L7.12335 17.3966C7.38055 18.0431 8.01191 18.5 8.75 18.5C9.51376 18.5 10.1632 18.0107 10.4021 17.3285L10.4422 17.1978L10.4251 17.2581C10.4738 17.0973 10.5 16.9267 10.5 16.75C10.5 16.6452 10.4908 16.5425 10.4731 16.4428L10.4431 16.3057L10.4231 16.2353L10.3763 16.1024C10.1188 15.4565 9.48771 15 8.75 15ZM15.25 4C16.7866 4 18.0741 5.06632 18.4129 6.49934L21.25 6.5C21.6642 6.5 22 6.83579 22 7.25C22 7.6297 21.7178 7.94349 21.3518 7.99315L21.25 8L18.4129 8.00066C18.0741 9.43368 16.7866 10.5 15.25 10.5C13.7134 10.5 12.4259 9.43368 12.0871 8.00066L2.75 8C2.33579 8 2 7.66421 2 7.25C2 6.8703 2.28215 6.55651 2.64823 6.50685L2.75 6.5L12.0874 6.49833C12.4265 5.06582 13.7138 4 15.25 4ZM15.25 5.5C14.4859 5.5 13.8361 5.98976 13.5975 6.6725L13.577 6.73515L13.5385 6.88337C13.5133 7.0016 13.5 7.12425 13.5 7.25C13.5 7.40483 13.5201 7.55497 13.5579 7.69794L13.5977 7.82787L13.6234 7.89664C13.8805 8.54307 14.5119 9 15.25 9C16.0138 9 16.6632 8.51073 16.9021 7.82852L16.9422 7.69781L16.9251 7.75808C16.9738 7.59729 17 7.4267 17 7.25C17 7.14518 16.9908 7.0425 16.9731 6.94275L16.9431 6.80565L16.9231 6.73529L16.8763 6.60236C16.6188 5.95647 15.9877 5.5 15.25 5.5Z</StreamGeometry>
<StreamGeometry x:Key="search_regular">M10.5 0C11.0052 0 11.4922 0.0651042 11.9609 0.195312C12.4297 0.325521 12.8672 0.510417 13.2734 0.75C13.6797 0.989583 14.0495 1.27865 14.3828 1.61719C14.7214 1.95052 15.0104 2.32031 15.25 2.72656C15.4896 3.13281 15.6745 3.57031 15.8047 4.03906C15.9349 4.50781 16 4.99479 16 5.5C16 6.00521 15.9349 6.49219 15.8047 6.96094C15.6745 7.42969 15.4896 7.86719 15.25 8.27344C15.0104 8.67969 14.7214 9.05208 14.3828 9.39062C14.0495 9.72396 13.6797 10.0104 13.2734 10.25C12.8672 10.4896 12.4297 10.6745 11.9609 10.8047C11.4922 10.9349 11.0052 11 10.5 11C9.84896 11 9.22396 10.8906 8.625 10.6719C8.03125 10.4531 7.48438 10.138 6.98438 9.72656L0.851562 15.8516C0.752604 15.9505 0.635417 16 0.5 16C0.364583 16 0.247396 15.9505 0.148438 15.8516C0.0494792 15.7526 0 15.6354 0 15.5C0 15.3646 0.0494792 15.2474 0.148438 15.1484L6.27344 9.01562C5.86198 8.51562 5.54688 7.96875 5.32812 7.375C5.10938 6.77604 5 6.15104 5 5.5C5 4.99479 5.0651 4.50781 5.19531 4.03906C5.32552 3.57031 5.51042 3.13281 5.75 2.72656C5.98958 2.32031 6.27604 1.95052 6.60938 1.61719C6.94792 1.27865 7.32031 0.989583 7.72656 0.75C8.13281 0.510417 8.57031 0.325521 9.03906 0.195312C9.50781 0.0651042 9.99479 0 10.5 0ZM10.5 10C11.1198 10 11.7031 9.88281 12.25 9.64844C12.7969 9.40885 13.2734 9.08594 13.6797 8.67969C14.0859 8.27344 14.4062 7.79688 14.6406 7.25C14.8802 6.70312 15 6.11979 15 5.5C15 4.88021 14.8802 4.29688 14.6406 3.75C14.4062 3.20312 14.0859 2.72656 13.6797 2.32031C13.2734 1.91406 12.7969 1.59375 12.25 1.35938C11.7031 1.11979 11.1198 1 10.5 1C9.88021 1 9.29688 1.11979 8.75 1.35938C8.20312 1.59375 7.72656 1.91406 7.32031 2.32031C6.91406 2.72656 6.59115 3.20312 6.35156 3.75C6.11719 4.29688 6 4.88021 6 5.5C6 6.11979 6.11719 6.70312 6.35156 7.25C6.59115 7.79688 6.91406 8.27344 7.32031 8.67969C7.72656 9.08594 8.20312 9.40885 8.75 9.64844C9.29688 9.88281 9.88021 10 10.5 10Z</StreamGeometry>
-
+ <StreamGeometry x:Key="usb_logo">M235.376 56.6131L203.924 40.9604V53.1022H73.29C75.1917 26.3317 97.5735 20.7728 103.718 20.7728H120.98C121.126 20.7728 121.272 20.7728 121.418 20.6265C122.881 28.8185 130.049 35.1089 138.68 35.1089C148.335 35.1089 156.235 27.2094 156.235 17.5544C156.235 7.8995 148.335 0 138.68 0C130.342 0 123.466 5.85148 121.711 13.4584C121.565 13.4584 121.272 13.3121 121.126 13.3121H103.864C92.0146 13.3121 68.0236 23.1134 66.2681 52.9559H35.1089C34.9626 52.9559 34.9627 52.9559 34.8164 52.9559C33.3535 44.7638 26.1854 38.4735 17.5544 38.4735C7.8995 38.4735 0 46.373 0 56.0279C0 65.6829 7.8995 73.5824 17.5544 73.5824C25.8928 73.5824 32.7684 67.7309 34.5239 59.9777C34.6702 59.9777 34.8164 60.124 34.9626 60.124H92.746C94.6478 89.9665 118.493 99.7678 130.342 99.7678H147.604C147.604 99.7678 147.604 99.7678 147.75 99.7678V111.324H179.202V79.8727H147.75V92.4534C147.75 92.4534 147.75 92.4534 147.604 92.4534H130.342C124.198 92.4534 101.816 86.7482 99.9141 60.124H203.924V72.2658L235.376 56.6131Z</StreamGeometry>
<StreamGeometry x:Key="privacy_none">m 20.2942 20.5002 0.0975 -0.1085 c 0.4874 -0.4874 1.2574 -0.5199 1.7825 -0.0975 l 0.1086 0.0975 9.2172 9.218 9.2172 -9.218 c 0.5223 -0.5223 1.3689 -0.5223 1.8911 0 0.5223 0.5222 0.5223 1.3688 0 1.8911 l -9.218 9.2172 9.218 9.2172 c 0.4874 0.4874 0.5199 1.2575 0.0975 1.7826 l -0.0975 0.1085 c -0.4874 0.4874 -1.2574 0.5199 -1.7825 0.0975 l -0.1086 -0.0975 -9.2172 -9.218 -9.2172 9.218 c -0.5223 0.5223 -1.3689 0.5223 -1.8911 0 -0.5223 -0.5222 -0.5223 -1.3688 0 -1.8911 l 9.218 -9.2172 -9.218 -9.2172 c -0.4874 -0.4874 -0.5199 -1.2575 -0.0975 -1.7826 l 0.0975 -0.1085 z M 32 4 C 16.536 4 4 16.536 4 32 4 47.464 16.536 60 32 60 47.464 60 60 47.464 60 32 60 16.536 47.464 4 32 4 Z M 0 32 C 0 14.3269 14.3269 0 32 0 49.6731 0 64 14.3269 64 32 64 49.6731 49.6731 64 32 64 14.3269 64 0 49.6731 0 32 Z</StreamGeometry>
<StreamGeometry x:Key="privacy_minimal">m 31.6 49.2 c 1.9882 0 3.6 -1.6118 3.6 -3.6 0 -1.9882 -1.6118 -3.6 -3.6 -3.6 -1.9882 0 -3.6 1.6118 -3.6 3.6 0 1.9882 1.6118 3.6 3.6 3.6 z M 26.544922 14.5 c -2.232679 0 -3.928546 2.158829 -3.400391 4.328125 l 4.382813 18 C 27.907332 38.388653 29.3216 39.5 30.927734 39.5 h 1.642578 c 1.635641 0 3.067722 -1.152301 3.417969 -2.75 l 3.945313 -18 C 40.404917 16.599394 38.715288 14.5 36.513672 14.5 Z m 0 3 h 9.96875 c 0.352583 0 0.563758 0.263028 0.488281 0.607422 l -3.943359 18 C 33.006441 36.345323 32.813872 36.5 32.570312 36.5 h -1.642578 c -0.238466 0 -0.427963 -0.149188 -0.484375 -0.380859 l -4.382812 -18 C 25.975502 17.769836 26.185401 17.5 26.544922 17.5 Z M 32 0 C 14.350614 0 0 14.350614 0 32 0 49.649386 14.350614 64 32 64 49.649386 64 64 49.649386 64 32 64 14.350614 49.649386 0 32 0 Z m 0 4 C 47.487614 4 60 16.512386 60 32 60 47.487614 47.487614 60 32 60 16.512386 60 4 47.487614 4 32 4 16.512386 16.512386 4 32 4 Z</StreamGeometry>
<StreamGeometry x:Key="privacy_medium">m 31.6 49.2 c 1.9882 0 3.6 -1.6118 3.6 -3.6 0 -1.9882 -1.6118 -3.6 -3.6 -3.6 -1.9882 0 -3.6 1.6118 -3.6 3.6 0 1.9882 1.6118 3.6 3.6 3.6 z M 26.544922 14.5 c -2.232679 0 -3.928546 2.158829 -3.400391 4.328125 l 4.382813 18 C 27.907332 38.388653 29.3216 39.5 30.927734 39.5 h 1.642578 c 1.635641 0 3.067722 -1.152301 3.417969 -2.75 l 3.945313 -18 C 40.404917 16.599394 38.715288 14.5 36.513672 14.5 Z m 0 3 h 9.96875 c 0.352583 0 0.563758 0.263028 0.488281 0.607422 l -3.943359 18 C 33.006441 36.345323 32.813872 36.5 32.570312 36.5 h -1.642578 c -0.238466 0 -0.427963 -0.149188 -0.484375 -0.380859 l -4.382812 -18 C 25.975502 17.769836 26.185401 17.5 26.544922 17.5 Z M 32 0 C 14.350614 0 0 14.350614 0 32 0 49.649386 14.350614 64 32 64 49.649386 64 64 49.649386 64 32 64 14.350614 49.649386 0 32 0 Z m 0 4 C 47.487614 4 60 16.512386 60 32 60 47.487614 47.487614 60 32 60 16.512386 60 4 47.487614 4 32 4 16.512386 16.512386 4 32 4 Z</StreamGeometry>

MODIFY
WalletWasabi.Fluent/Styles/HyperlinkButton.xaml
WalletWasabi.Fluent/Styles/HyperlinkButton.xaml
<Setter Property="Background" Value="Transparent" />
</Style>
+ <Style Selector="Button.activeHyperLink TextBlock">
+ <Setter Property="TextDecorations" Value="Underline" />
+ </Style>
+
<Style Selector="Button.activeHyperLink:pointerover /template/ ContentPresenter">
<Setter Property="Background" Value="Transparent" />
<Setter Property="TextBlock.Foreground" Value="{DynamicResource HyperLinkForeground}" />

MODIFY
WalletWasabi.Fluent/Views/AddWallet/ConnectHardwareWalletView.axaml
WalletWasabi.Fluent/Views/AddWallet/ConnectHardwareWalletView.axaml
</Style>
</UserControl.Styles>
- <c:ContentArea Title="Hardware wallet"
- Caption="The hardware wallet will automatically appear when connected to the computer. The detection may take some time."
+ <c:ContentArea Title="Connect Hardware Wallet"
EnableCancel="True" CancelContent="Cancel"
EnableBack="True"
EnableNext="True" NextContent="Connect" >
- <DockPanel>
- <StackPanel Spacing="8" DockPanel.Dock="Bottom" Margin="0 15 0 0">
- <StackPanel Classes="Delay">
- <TextBlock Text="Device did not show up?" FontWeight="Bold" />
- <TextBlock Text="- Be sure to set up and log into the device, usually with a PIN." TextWrapping="Wrap" />
- <TextBlock Text="- Hardware wallets are picky about their USB cables, so try out multiple ones." TextWrapping="Wrap" />
- <StackPanel IsVisible="{h:Platform {x:Static h:Const.False}, Linux={x:Static h:Const.True}}">
- <TextBlock Text="- Make sure that you properly applied udev rules. These are necessary for the devices to be reachable on Linux environments:" TextWrapping="Wrap" />
- <Button Content="https://github.com/bitcoin-core/HWI/tree/master/hwilib/udev" Classes="activeHyperLink" Command="{Binding OpenBrowserCommand}" CommandParameter="{Binding $self.Content}" />
- </StackPanel>
- </StackPanel>
- <StackPanel>
- <TextBlock Text="Limitations?" FontWeight="Bold" />
- <TextBlock Text="- Currently all hardware wallets are incompatible with coinjoins." />
- <TextBlock Text="- Only bech32 keypaths are supported, your legacy hardware wallet transactions won't show up." />
- </StackPanel>
- <StackPanel>
- <TextBlock Text="Which hardware wallets are supported?" FontWeight="Bold" />
- <TextBlock Text="- Coldcard, Ledger Nano S and Trezor T." TextWrapping="Wrap" />
- <TextBlock Text="- While other hardware wallets may work, they were not tested by Wasabi developers." TextWrapping="Wrap" />
- </StackPanel>
+ <DockPanel>
+ <Button DockPanel.Dock="Bottom" HorizontalAlignment="Center" Classes="h8 plain activeHyperLink" Foreground="{DynamicResource SystemAccentColor}" Content="More information and help with Hardware Wallets" />
+ <Panel>
+ <ListBox IsVisible="{Binding WalletListVisible}" Background="Transparent" Items="{Binding HardwareWallets}" SelectedItem="{Binding SelectedHardwareWallet}"/>
+ <DockPanel IsVisible="{Binding !WalletListVisible}">
+ <StackPanel VerticalAlignment="Top" Spacing="20" DockPanel.Dock="Top">
+ <PathIcon Height="100" Width="150" Data="{StaticResource usb_logo}" Foreground="{DynamicResource SystemAccentColor}" />
+ <TextBlock Text="Connect your Wallet to the USB Port on your PC and Login / Enter the PIN on the Wallet" HorizontalAlignment="Center" />
</StackPanel>
-
- <ListBox Items="{Binding HardwareWallets}" SelectedItem="{Binding SelectedHardwareWallet}"/>
-
+ <c:ProgressRing IsIndeterminate="True" VerticalAlignment="Center" Height="100" Width="100" />
+ </DockPanel>
+ </Panel>
</DockPanel>
</c:ContentArea>
</UserControl>
\ No newline at end of file

work on new hw wallet ux / ui.