diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a9d00ac..6883b6d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,17 +1,22 @@ name: Bug report -description: Something in the template or the generated solution doesn't work as expected. +description: The template or a solution made from it does something it shouldn't, or doesn't do something it should. title: "[Bug]: " labels: ["bug"] body: - type: markdown attributes: value: | - Thanks for taking the time to report a bug. Every bug found here is one that doesn't end up in somebody's production. Please search the [existing issues](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/issues) first, and report security vulnerabilities through the [security policy](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/security/policy) instead. + Thanks for taking the time to report a bug. Every bug found here is one that doesn't end up in somebody's production, possibly yours. + + A few things first: + - Can't get as far as a working solution? The **Template creation problem** form asks the right questions for that. + - The [troubleshooting page](https://leanmeancleanapps.github.io/graphql/reference/troubleshooting/) covers the usual suspects. It's short, and it might save you a form. + - Security vulnerabilities go through the [security policy](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/security/policy), not a public issue. - type: textarea id: description attributes: label: What happened? - description: A clear description of the bug. + description: A clear description of the bug. Screenshots are welcome; screenshots of code are not. validations: required: true - type: textarea @@ -29,15 +34,15 @@ body: id: expected attributes: label: Expected behaviour - description: What you expected to happen instead. + description: What you expected to happen instead. Reasonable expectations only, please. validations: required: true - type: input id: template-version attributes: label: Template version - description: Run `dotnet new list cleangraphqlapi` or check NuGet. - placeholder: "2026.10.27.1" + description: Run `dotnet new list cleangraphqlapi` or check NuGet. "The latest one" was true when you installed it. + placeholder: "2026.11.01.264" validations: required: true - type: input @@ -57,8 +62,8 @@ body: - Running with the .NET CLI - Running in Docker - Running the tests - - Installing or creating from the template - The GitHub Actions pipeline + - In my IDE - Somewhere else validations: required: true @@ -66,7 +71,12 @@ body: id: os attributes: label: Operating system - placeholder: "Windows 11, macOS 15, Ubuntu 24.04" + placeholder: "Windows 11, macOS 26, Ubuntu 24.04" + - type: textarea + id: changes + attributes: + label: What have you changed? + description: Anything you changed in the generated solution before it broke. "Nothing" is a fine answer, as long as it's true. - type: textarea id: logs attributes: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index c9a7158..4db853d 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,11 @@ blank_issues_enabled: false contact_links: + - name: Ask a question + url: https://github.com/LeanMeanCleanApps/CleanGraphQLApi/blob/main/SUPPORT.md + about: How do I...? Start here. Issues are for things that need fixing, and the answer is probably already written down. - name: Report a security vulnerability url: https://github.com/LeanMeanCleanApps/CleanGraphQLApi/security/advisories/new - about: Please report security vulnerabilities privately, not in a public issue. - - name: Get help using the template - url: https://github.com/LeanMeanCleanApps/CleanGraphQLApi/blob/main/SUPPORT.md - about: Where to look for help before opening an issue. + about: Privately, please. Some things are best not announced to the whole internet. - name: Sponsor the project url: https://github.com/sponsors/stphnwlsh about: Keep all five Lean Mean Clean Apps templates current, and the coffee flowing. diff --git a/.github/ISSUE_TEMPLATE/docs_problem.yml b/.github/ISSUE_TEMPLATE/docs_problem.yml new file mode 100644 index 0000000..60e4f3b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/docs_problem.yml @@ -0,0 +1,63 @@ +name: Docs problem +description: A step in the README, docs/RUN.md or the docs site is wrong, missing, out of date or just baffling. +title: "[Docs]: " +labels: ["documentation"] +body: + - type: markdown + attributes: + value: | + Thanks. Docs that are wrong are worse than no docs at all, because at least no docs don't lie to you. + + Spotted a typo? A pull request is quicker than this form, and every page on the [docs site](https://leanmeancleanapps.github.io/graphql/) is fair game. + - type: input + id: location + attributes: + label: Where is it? + description: A link to the page or file, ideally to the heading. + placeholder: "https://leanmeancleanapps.github.io/graphql/..." + validations: + required: true + - type: dropdown + id: kind + attributes: + label: What's wrong with it? + options: + - It's wrong, and following it breaks something + - It's out of date + - A step is missing + - It's confusing + - A link is broken + - Something else + validations: + required: true + - type: textarea + id: description + attributes: + label: What does it say, and what should it say? + description: If you worked out the right answer, tell us. You've done the hard part already. + validations: + required: true + - type: input + id: template-version + attributes: + label: Template version + description: Only if it matters. Run `dotnet new list cleangraphqlapi`. + placeholder: "2026.11.01.264" + - type: dropdown + id: contribute + attributes: + label: Would you like to fix it? + options: + - "Yes, I'll open a pull request" + - "No, I've done my bit by telling you" + validations: + required: true + - type: checkboxes + id: checks + attributes: + label: Before submitting + options: + - label: I searched the existing issues and this hasn't been reported yet. + required: true + - label: I agree to follow this project's [code of conduct](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/blob/main/CODE_OF_CONDUCT.md). + required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index fc275eb..5e1db87 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,12 +1,14 @@ name: Feature request -description: Suggest an improvement to the template. +description: Suggest an improvement to the template or the solutions it creates. title: "[Feature]: " labels: ["enhancement"] body: - type: markdown attributes: value: | - Thanks for the suggestion. Good ideas are always welcome, and so are the strange ones. This template is one of five that share their Application and Infrastructure layers, so it helps to know whether your idea is specific to this template or would apply to all of them. + Thanks for the suggestion. Good ideas are always welcome, and so are the strange ones. + + This template is one of five that share their Application and Infrastructure layers, so an idea for those layers lands in all five. That's a feature, not a bug, but it does mean it helps to know which layers your idea touches. The aim is lean: a feature that every user would have to delete is a hard sell. - type: textarea id: problem attributes: @@ -25,7 +27,7 @@ body: id: alternatives attributes: label: Alternatives considered - description: Any other approaches or workarounds you've thought about. + description: Any other approaches or workarounds you've thought about, including "live with it", which is always on the table. - type: dropdown id: scope attributes: @@ -37,6 +39,7 @@ body: - Infrastructure (all five templates) - Tests - Build pipeline or repository setup + - Agent skills - Documentation - Not sure validations: @@ -47,7 +50,7 @@ body: label: Would you like to work on it? options: - "Yes, I'd like to open a pull request" - - "No, I'm just suggesting it" + - "No, I'm just here for the ideas" validations: required: true - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/template_problem.yml b/.github/ISSUE_TEMPLATE/template_problem.yml new file mode 100644 index 0000000..3428ed8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/template_problem.yml @@ -0,0 +1,82 @@ +name: Template creation problem +description: dotnet new install, dotnet new, or the first build or run of a brand-new solution fails. +title: "[Template]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Sorry. The first five minutes are meant to be the easy part. + + Before you fill this in, try the two things that fix most of these: run `dotnet new uninstall CleanGraphQLApi.Template` and install it again, and check `dotnet --version` against the SDK in the [README](https://github.com/LeanMeanCleanApps/CleanGraphQLApi#readme). The [troubleshooting page](https://leanmeancleanapps.github.io/graphql/reference/troubleshooting/) has the rest. + - type: dropdown + id: stage + attributes: + label: Where did it stop? + options: + - Installing the template (dotnet new install) + - Creating a solution (dotnet new cleangraphqlapi) + - The first dotnet build or dotnet test + - The first run, with the .NET CLI or Docker Compose + - The first GitHub Actions run in my new repository + - Somewhere else + validations: + required: true + - type: textarea + id: commands + attributes: + label: Commands you ran + description: Exactly as you typed them, options included. The options are usually where the plot thickens. + placeholder: | + dotnet new install CleanGraphQLApi.Template + dotnet new cleangraphqlapi --name Sample + render: shell + validations: + required: true + - type: textarea + id: output + attributes: + label: What it said + description: The full error or output. This is rendered as code, so no backticks are needed. + render: shell + validations: + required: true + - type: input + id: template-version + attributes: + label: Template version + description: Run `dotnet new list cleangraphqlapi`, or say which version you asked for. + placeholder: "2026.11.01.264" + validations: + required: true + - type: input + id: sdk-version + attributes: + label: .NET SDK version + description: Run `dotnet --version` in the folder you created the solution in. global.json has opinions about this. + placeholder: "10.0.100" + validations: + required: true + - type: input + id: os + attributes: + label: Operating system and shell + placeholder: "Windows 11 with PowerShell, macOS 26 with zsh, Ubuntu 24.04 with bash" + validations: + required: true + - type: input + id: docker + attributes: + label: Docker version, if Docker is involved + description: Run `docker version`. Leave it blank if Docker never came up. + - type: checkboxes + id: checks + attributes: + label: Before submitting + options: + - label: I uninstalled and reinstalled the template, and it still fails. + required: true + - label: I searched the existing issues and this hasn't been reported yet. + required: true + - label: I agree to follow this project's [code of conduct](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/blob/main/CODE_OF_CONDUCT.md). + required: true diff --git a/SUPPORT.md b/SUPPORT.md index c71aa7a..9672331 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -3,7 +3,9 @@ ## Getting help - **Using the template:** start with the [docs site](https://leanmeancleanapps.github.io/graphql/) and its [troubleshooting page](https://leanmeancleanapps.github.io/graphql/reference/troubleshooting/), then the [README](README.md) and [docs/RUN.md](docs/RUN.md). They're long because they answer the questions people actually ask. +- **Can't get the template installed, or a new solution to build or run?** Open a [template creation problem](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/issues/new?template=template_problem.yml). - **Found a bug?** Open a [bug report](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/issues/new?template=bug_report.yml). A clear title and a way to reproduce it will get you a faster answer than a long story. +- **Docs wrong, missing or out of date?** Open a [docs problem](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/issues/new?template=docs_problem.yml), or just send a pull request. - **Have an idea?** Open a [feature request](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/issues/new?template=feature_request.yml). - **Found a security vulnerability?** Don't open an issue. Follow the [security policy](SECURITY.md).