diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..dfc821e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,60 @@ +name: Bug report +description: Something in openGym is broken or not working as expected +labels: ["bug"] +body: + - type: textarea + id: what-happened + attributes: + label: What did you do? + description: Steps to reproduce, as precisely as you can. + placeholder: | + 1. Go to '...' + 2. Click on '...' + 3. See error + validations: + required: true + + - type: textarea + id: expected + attributes: + label: What did you expect to happen? + validations: + required: true + + - type: textarea + id: actual + attributes: + label: What happened instead? + description: Include error messages, console output, or screenshots if you have them. + validations: + required: true + + - type: dropdown + id: setup + attributes: + label: How are you running openGym? + options: + - Self-hosted (docker compose) + - Frontend dev server (npm run dev) + - Other / not sure + validations: + required: true + + - type: input + id: environment + attributes: + label: Browser & OS + placeholder: e.g. Safari 17 on iOS 18, Chrome 126 on Android + validations: + required: true + + - type: checkboxes + id: passkey + attributes: + label: Is this about login / passkeys? + description: > + Most login issues are an `RP_ID`/`ORIGIN` mismatch — check your `.env` against the + domain you're accessing openGym from before reporting. See the + [self-hosting guide](../../docs/SELF_HOSTING.md). + options: + - label: Yes, this is a login/passkey issue and I've already checked RP_ID/ORIGIN diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..edd9b48 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Questions & contributing + url: https://github.com/DuarteSantos8/openGym/blob/main/CONTRIBUTING.md + about: Read the project layout, dev setup, and guidelines before opening an issue. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..8813faa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,29 @@ +name: Feature request +description: Suggest an idea or improvement for openGym +labels: ["enhancement"] +body: + - type: textarea + id: problem + attributes: + label: What problem does this solve? + description: What are you trying to do that openGym doesn't support today? + validations: + required: true + + - type: textarea + id: proposal + attributes: + label: Proposed approach + description: How would you like it to work? Rough ideas are fine. + validations: + required: true + + - type: checkboxes + id: deps + attributes: + label: Dependencies + description: > + openGym is intentionally dependency-light — new packages (front or back) are a hard + sell. See [CONTRIBUTING.md](../../CONTRIBUTING.md). + options: + - label: This doesn't require adding a new dependency