Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bcc74a4704 | |||
| 068d85e0e2 |
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
name: Bug Report
|
||||||
|
about: Report a problem with Palladium Wallet
|
||||||
|
title: "[BUG] "
|
||||||
|
labels: bug
|
||||||
|
---
|
||||||
|
|
||||||
|
## Wallet version
|
||||||
|
<!-- Shown in Help → Info, e.g. 1.0.0 -->
|
||||||
|
|
||||||
|
|
||||||
|
## Platform
|
||||||
|
<!-- Windows / Linux / Android -->
|
||||||
|
|
||||||
|
|
||||||
|
## Network
|
||||||
|
<!-- Mainnet / Testnet / Regtest -->
|
||||||
|
|
||||||
|
|
||||||
|
## What happened?
|
||||||
|
<!-- Describe the bug clearly. What did you see? What did you expect? -->
|
||||||
|
|
||||||
|
|
||||||
|
## Steps to reproduce
|
||||||
|
1.
|
||||||
|
2.
|
||||||
|
3.
|
||||||
|
|
||||||
|
## Expected behavior
|
||||||
|
<!-- What should have happened instead? -->
|
||||||
|
|
||||||
|
|
||||||
|
## Logs / error messages
|
||||||
|
<!-- Paste any error dialogs, crash messages, or stack traces. Leave blank if none. -->
|
||||||
|
|
||||||
|
```
|
||||||
|
```
|
||||||
|
|
||||||
|
## Checklist
|
||||||
|
- [ ] I searched existing issues and this is not a duplicate
|
||||||
|
- [ ] I reproduced this on the latest available version
|
||||||
@@ -62,6 +62,7 @@ public sealed class Loc
|
|||||||
"SPV-Wallet für die Kryptowährung Palladium (PLM)."],
|
"SPV-Wallet für die Kryptowährung Palladium (PLM)."],
|
||||||
["help.tab.info"] = ["Info", "Info", "Info", "Info", "Info", "Info"],
|
["help.tab.info"] = ["Info", "Info", "Info", "Info", "Info", "Info"],
|
||||||
["help.tab.donate"] = ["Dona", "Donate", "Donar", "Faire un don", "Doar", "Spenden"],
|
["help.tab.donate"] = ["Dona", "Donate", "Donar", "Faire un don", "Doar", "Spenden"],
|
||||||
|
["help.bug.report"] = ["Segnala un bug", "Report a bug", "Informar un error", "Signaler un bug", "Reportar um bug", "Fehler melden"],
|
||||||
["donate.desc"] = [
|
["donate.desc"] = [
|
||||||
"Se questo wallet ti è utile, considera una piccola donazione allo sviluppatore.",
|
"Se questo wallet ti è utile, considera una piccola donazione allo sviluppatore.",
|
||||||
"If you find this wallet useful, consider a small donation to the developer.",
|
"If you find this wallet useful, consider a small donation to the developer.",
|
||||||
|
|||||||
@@ -1555,6 +1555,9 @@
|
|||||||
Foreground="{DynamicResource TextSecondaryBrush}"/>
|
Foreground="{DynamicResource TextSecondaryBrush}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<TextBlock Text="{Binding Loc[help.info]}" TextWrapping="Wrap"/>
|
<TextBlock Text="{Binding Loc[help.info]}" TextWrapping="Wrap"/>
|
||||||
|
<Button Content="{Binding Loc[help.bug.report]}"
|
||||||
|
Click="OnOpenBugReportClick"
|
||||||
|
HorizontalAlignment="Left"/>
|
||||||
<Border BorderBrush="{DynamicResource BorderSubtleBrush}"
|
<Border BorderBrush="{DynamicResource BorderSubtleBrush}"
|
||||||
BorderThickness="0,1,0,0" Margin="0,4,0,0"/>
|
BorderThickness="0,1,0,0" Margin="0,4,0,0"/>
|
||||||
<StackPanel Spacing="4">
|
<StackPanel Spacing="4">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Avalonia;
|
using Avalonia;
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
@@ -128,6 +129,14 @@ public partial class MainView : UserControl
|
|||||||
vm.IsHelpOpen = false;
|
vm.IsHelpOpen = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private async void OnOpenBugReportClick(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
var launcher = TopLevel.GetTopLevel(this)?.Launcher;
|
||||||
|
if (launcher is not null)
|
||||||
|
await launcher.LaunchUriAsync(new Uri(
|
||||||
|
"https://santantonio.sytes.net/davide/PalladiumWallet/issues/new"));
|
||||||
|
}
|
||||||
|
|
||||||
// Esc (desktop) or Back (Android) closes the topmost open overlay.
|
// Esc (desktop) or Back (Android) closes the topmost open overlay.
|
||||||
protected override void OnKeyDown(KeyEventArgs e)
|
protected override void OnKeyDown(KeyEventArgs e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user