From 18bbbc75291e4a5926efe987cd33e8ec7026e652 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Fri, 9 Feb 2024 21:51:21 +0100 Subject: [PATCH] Add issue templates --- .github/ISSUE_TEMPLATE/blank_issue.md | 4 +++ .github/ISSUE_TEMPLATE/bug_macos.yml | 37 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_wayland.yml | 31 ++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_web.yml | 38 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 26 +++++++++++++++ 6 files changed, 141 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/blank_issue.md create mode 100644 .github/ISSUE_TEMPLATE/bug_macos.yml create mode 100644 .github/ISSUE_TEMPLATE/bug_wayland.yml create mode 100644 .github/ISSUE_TEMPLATE/bug_web.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/blank_issue.md b/.github/ISSUE_TEMPLATE/blank_issue.md new file mode 100644 index 0000000000..9aef3ebe63 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/blank_issue.md @@ -0,0 +1,4 @@ +--- +name: Blank Issue +about: Create a blank issue. +--- diff --git a/.github/ISSUE_TEMPLATE/bug_macos.yml b/.github/ISSUE_TEMPLATE/bug_macos.yml new file mode 100644 index 0000000000..4d15b36c8f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_macos.yml @@ -0,0 +1,37 @@ +name: MacOS bug +description: Create a macOS-specific bug report +labels: + - B - bug + - DS - macos +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: description + attributes: + label: Description + description: Description of the problem you're having + validations: + required: true + - type: textarea + id: os-version + attributes: + label: macOS version + description: What version of macOS are you using? Please paste in the output of `sw_vers`. + placeholder: | + ProductName: macOS + ProductVersion: 14.2.1 + BuildVersion: 23C71 + render: shell + validations: + required: true + - type: textarea + id: winit-version + attributes: + label: Winit version + description: What version of Winit are you using? + placeholder: 0.29.10 + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_wayland.yml b/.github/ISSUE_TEMPLATE/bug_wayland.yml new file mode 100644 index 0000000000..f21e36f6ae --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_wayland.yml @@ -0,0 +1,31 @@ +name: Wayland bug +description: Create a Wayland-specific bug report +labels: + - B - bug + - DS - wayland +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: description + attributes: + label: Description + description: Description of the problem you're having + validations: + required: true + - type: checkboxes + attributes: + label: Window isn't shown unless you draw + options: + - label: I understand that windows aren't shown on Wayland unless you draw to them. + required: true + - type: textarea + id: winit-version + attributes: + label: Winit version + description: What version of Winit are you using? + placeholder: 0.29.10 + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_web.yml b/.github/ISSUE_TEMPLATE/bug_web.yml new file mode 100644 index 0000000000..33841e8b2d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_web.yml @@ -0,0 +1,38 @@ +name: Web bug +description: Create a web-specific bug report +labels: + - B - bug + - DS - web +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: description + attributes: + label: Description + description: Description of the problem you're having + validations: + required: true + - type: dropdown + id: browsers + attributes: + label: Tested browsers + description: What browsers are you seeing the problem on? + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + multiple: true + validations: + required: true + - type: textarea + id: winit-version + attributes: + label: Winit version + description: What version of Winit are you using? + placeholder: 0.29.10 + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..ace54f357b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Question + url: https://matrix.to/#/#rust-windowing:matrix.org + about: Please ask questions on the Matrix channel. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000000..c0abdd6a98 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,26 @@ +name: Feature request +description: Propose a new feature +labels: + - S - enhancement +body: + - type: textarea + id: description + attributes: + label: Description + description: Description of the problem does this solve or what need does it fill? Please be mindful of the [scope](FEATURES.md) of Winit. + validations: + required: true + - type: dropdown + id: platforms + attributes: + label: Relevant platforms + description: On which platforms is this feature relevant? + options: + - Windows + - macOS + - Wayland + - X11 + - Web + - iOS + - Android + multiple: true