From 2d017231ebec9a3e44fb4d422df09a911e23decf Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Thu, 2 Jul 2026 21:18:46 +0200 Subject: [PATCH] chore(github): complete issue/PR templates and wire in-app bug report to them Add a feature request template and a config.yml (blank issues disabled, security reports routed to SECURITY.md) alongside the existing bug report template, plus a PR template with a checklist matching the project's security rules. Point the app's "Report a bug" button at the new GitHub template now that the repo is hosted there instead of the old self-hosted tracker. --- .github/ISSUE_TEMPLATE/bug_report.yml | 11 ----- .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature_request.yml | 55 ++++++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 26 ++++++++++ src/App/Views/MainView.axaml.cs | 4 +- 5 files changed, 87 insertions(+), 14 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index f339129..5d1e7b9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -28,17 +28,6 @@ body: validations: required: true - - type: dropdown - id: network - attributes: - label: Network - options: - - Mainnet - - Testnet - - Regtest - validations: - required: true - - type: textarea id: description attributes: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..05d79b8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Security vulnerability + url: https://github.com/davide3011/PalladiumWallet/security/policy + about: Please report security vulnerabilities privately, not as a public issue. See SECURITY.md. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..61f7d80 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,55 @@ +name: Feature Request +description: Suggest an idea or improvement for Palladium Wallet +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to suggest an improvement. + + - type: textarea + id: problem + attributes: + label: Problem + description: What problem are you trying to solve? Is it related to something you find missing or frustrating? + placeholder: "I'm always frustrated when …" + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Proposed solution + description: Describe what you'd like to happen. + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Alternatives considered + description: Any alternative solutions or workarounds you've considered. + validations: + required: false + + - type: dropdown + id: platform + attributes: + label: Affected platform(s) + multiple: true + options: + - Windows + - Linux + - Android + - CLI + - All + validations: + required: false + + - type: checkboxes + id: checklist + attributes: + label: Before submitting + options: + - label: I searched existing issues and this is not a duplicate + required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..7bb6433 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,26 @@ +## Summary + + + +## Related issue + + + +## Type of change + +- [ ] Bug fix +- [ ] New feature +- [ ] Refactor / cleanup +- [ ] Documentation +- [ ] Build / CI + +## Testing + + + +## Checklist + +- [ ] `dotnet test` passes +- [ ] No seed/private key material logged or persisted in plaintext (if touching Crypto/Wallet/Storage) +- [ ] Server responses still validated with Merkle + checkpoints (if touching Spv/Net) +- [ ] Code/comments/commit messages are in English diff --git a/src/App/Views/MainView.axaml.cs b/src/App/Views/MainView.axaml.cs index ad8a8ec..34955ca 100644 --- a/src/App/Views/MainView.axaml.cs +++ b/src/App/Views/MainView.axaml.cs @@ -131,9 +131,7 @@ public partial class MainView : UserControl private async void OnOpenBugReportClick(object? sender, RoutedEventArgs e) { - // TODO: replace with the final GitHub URL once the repo is on GitHub - // e.g. https://github.com/davide3011/PalladiumWallet/issues/new?assignees=&labels=bug&template=bug_report.yml - const string issueUrl = "https://santantonio.sytes.net/davide/PalladiumWallet/issues/new"; + const string issueUrl = "https://github.com/davide3011/PalladiumWallet/issues/new?template=bug_report.yml"; var launcher = TopLevel.GetTopLevel(this)?.Launcher; if (launcher is not null) await launcher.LaunchUriAsync(new Uri(issueUrl));