Add a copy button next to each link so the address can be copied to clipboard
MODIFY
WalletWasabi.Fluent/Views/AboutView.axaml
WalletWasabi.Fluent/Views/AboutView.axaml
<Style Selector="TextBlock.Hyperlink">
<Setter Property="TextDecorations" Value="Underline" />
<Setter Property="Foreground" Value="{DynamicResource SystemAccentColor}" />
+ <Setter Property="VerticalAlignment" Value="Center" />
</Style>
<Style Selector="TextBox.Content">
<Setter Property="Margin" Value="0 4 0 0" />
<DockPanel>
<StackPanel Spacing="10" DockPanel.Dock="Bottom" HorizontalAlignment="Left" Orientation="Vertical">
<WrapPanel Margin="0 0 0 25">
+ <StackPanel Orientation="Horizontal">
<Button Classes="plain"
Command="{Binding OpenBrowserCommand}"
CommandParameter="{x:Static vm:AboutViewModel.DocsLink}">
<TextBlock Text="Documentation" Classes="Hyperlink" />
</Button>
+ <Button Classes="plain"
+ Command="{Binding CopyLinkCommand}"
+ CommandParameter="{x:Static vm:AboutViewModel.DocsLink}"
+ ToolTip.Tip="Copy link"
+ Margin="4">
+ <PathIcon Data="{StaticResource copy_link}" Width="13" />
+ </Button>
+ </StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
+ <StackPanel Orientation="Horizontal">
<Button Classes="plain" Command="{Binding OpenBrowserCommand}"
CommandParameter="{x:Static vm:AboutViewModel.SourceCodeLink}">
<TextBlock Text="Source Code (Github)" Classes="Hyperlink" />
</Button>
+ <Button Classes="plain"
+ Command="{Binding CopyLinkCommand}"
+ CommandParameter="{x:Static vm:AboutViewModel.SourceCodeLink}"
+ ToolTip.Tip="Copy link"
+ Margin="4">
+ <PathIcon Data="{StaticResource copy_link}" Width="13" />
+ </Button>
+ </StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
+ <StackPanel Orientation="Horizontal">
<Button Classes="plain"
Command="{Binding OpenBrowserCommand}"
CommandParameter="{x:Static vm:AboutViewModel.ClearnetLink}">
<TextBlock Text="Website (Clearnet)" Classes="Hyperlink" />
</Button>
+ <Button Classes="plain"
+ Command="{Binding CopyLinkCommand}"
+ CommandParameter="{x:Static vm:AboutViewModel.ClearnetLink}"
+ ToolTip.Tip="Copy link"
+ Margin="4">
+ <PathIcon Data="{StaticResource copy_link}" Width="13" />
+ </Button>
+ </StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
+ <StackPanel Orientation="Horizontal">
<Button Classes="plain" Command="{Binding OpenBrowserCommand}"
CommandParameter="{x:Static vm:AboutViewModel.TorLink}">
<TextBlock Text="Website (Tor)" Classes="Hyperlink" />
</Button>
+ <Button Classes="plain"
+ Command="{Binding CopyLinkCommand}"
+ CommandParameter="{x:Static vm:AboutViewModel.TorLink}"
+ ToolTip.Tip="Copy link"
+ Margin="4">
+ <PathIcon Data="{StaticResource copy_link}" Width="13" />
+ </Button>
+ </StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
+ <StackPanel Orientation="Horizontal">
<Button Classes="plain"
Command="{Binding OpenBrowserCommand}"
CommandParameter="{x:Static vm:AboutViewModel.StatusPageLink}">
<TextBlock Text="Coordinator Status Page" Classes="Hyperlink" />
</Button>
+ <Button Classes="plain"
+ Command="{Binding CopyLinkCommand}"
+ CommandParameter="{x:Static vm:AboutViewModel.StatusPageLink}"
+ ToolTip.Tip="Copy link"
+ Margin="4">
+ <PathIcon Data="{StaticResource copy_link}" Width="13" />
+ </Button>
+ </StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
+ <StackPanel Orientation="Horizontal">
<Button Classes="plain" Command="{Binding OpenBrowserCommand}"
CommandParameter="{x:Static vm:AboutViewModel.UserSupportLink}">
<TextBlock Text="User Support" Classes="Hyperlink" />
</Button>
+ <Button Classes="plain"
+ Command="{Binding CopyLinkCommand}"
+ CommandParameter="{x:Static vm:AboutViewModel.UserSupportLink}"
+ ToolTip.Tip="Copy link"
+ Margin="4">
+ <PathIcon Data="{StaticResource copy_link}" Width="13" />
+ </Button>
+ </StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
+ <StackPanel Orientation="Horizontal">
<Button Classes="plain" Command="{Binding OpenBrowserCommand}"
CommandParameter="{x:Static vm:AboutViewModel.BugReportLink}">
<TextBlock Text="Bug Reporting" Classes="Hyperlink" />
</Button>
+ <Button Classes="plain"
+ Command="{Binding CopyLinkCommand}"
+ CommandParameter="{x:Static vm:AboutViewModel.BugReportLink}"
+ ToolTip.Tip="Copy link"
+ Margin="4">
+ <PathIcon Data="{StaticResource copy_link}" Width="13" />
+ </Button>
+ </StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
+ <StackPanel Orientation="Horizontal">
<Button Classes="plain"
Command="{Binding OpenBrowserCommand}"
CommandParameter="{x:Static vm:AboutViewModel.FAQLink}">
<TextBlock Text="FAQs" Classes="Hyperlink" />
</Button>
+ <Button Classes="plain"
+ Command="{Binding CopyLinkCommand}"
+ CommandParameter="{x:Static vm:AboutViewModel.FAQLink}"
+ ToolTip.Tip="Copy link"
+ Margin="4">
+ <PathIcon Data="{StaticResource copy_link}" Width="13" />
+ </Button>
+ </StackPanel>
</WrapPanel>
-
<Button HorizontalAlignment="Center" Classes="plain obscured"
Command="{Binding AboutAdvancedInfoDialogCommand}">
<StackPanel Orientation="Horizontal" Spacing="5">
<TextBlock Text="Advanced Information..." Classes="Hyperlink" />
</StackPanel>
</Button>
-
<WrapPanel HorizontalAlignment="Center">
- <TextBlock Margin=" 0 0 0 -0.5" Text="This open source software is licensed with " />
+ <TextBlock Margin=" 0 0 0 -0.5"
+ VerticalAlignment="Center"
+ Text="This open source software is licensed with " />
+ <StackPanel Orientation="Horizontal">
<Button Classes="plain"
Command="{Binding OpenBrowserCommand}"
CommandParameter="{x:Static vm:AboutViewModel.LicenseLink}">
<TextBlock Text="MIT License" Classes="Hyperlink" />
</Button>
- <TextBlock Margin=" 0 0 0 -0.5" Text="." />
+ <Button Classes="plain"
+ Command="{Binding CopyLinkCommand}"
+ CommandParameter="{x:Static vm:AboutViewModel.LicenseLink}"
+ ToolTip.Tip="Copy link"
+ Margin="4">
+ <PathIcon Data="{StaticResource copy_link}" Width="13" />
+ </Button>
+ </StackPanel>
+ <TextBlock Margin=" 0 0 0 -0.5"
+ VerticalAlignment="Center"
+ Text="." />
</WrapPanel>
</StackPanel>
<Panel Height="150" />

Add a copy button next to each link so the address can be copied to clipboard