Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to yaml issue templates (forms) #1593

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
db6edf6
Delete bug_report.md
ChunkyProgrammer Aug 17, 2021
9b3009f
Delete discussion.md
ChunkyProgrammer Aug 17, 2021
2fdb931
Delete question.md
ChunkyProgrammer Aug 17, 2021
705eb38
Delete feature_request.md
ChunkyProgrammer Aug 17, 2021
dbdf911
Create bug_report.yaml
ChunkyProgrammer Aug 17, 2021
6015a7e
Create config.yml
ChunkyProgrammer Aug 17, 2021
8f0963f
Create discussion.yaml
ChunkyProgrammer Aug 17, 2021
823ca37
Create feature_request.yaml
ChunkyProgrammer Aug 17, 2021
affa360
Create question.yaml
ChunkyProgrammer Aug 17, 2021
3a2cb44
Fix dropdown list
ChunkyProgrammer Aug 20, 2021
cf14da1
Update bug_report.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 16, 2021
286b962
Update feature_request.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 16, 2021
3a53f8c
added checkbox for duplicate issue
efb4f5ff-1298-471a-8973-3d47447115dc Sep 16, 2021
5f7816a
removed label icons
efb4f5ff-1298-471a-8973-3d47447115dc Sep 16, 2021
77afe36
Update bug_report.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 16, 2021
8338bb3
replaced checkboxes in dropdowns
efb4f5ff-1298-471a-8973-3d47447115dc Sep 16, 2021
dacadd0
Update bug_report.yaml
ChunkyProgrammer Sep 16, 2021
adc8218
Update feature_request.yaml
ChunkyProgrammer Sep 16, 2021
99e3fa8
Update question.yaml
ChunkyProgrammer Sep 16, 2021
fd8dc2d
Update question.yaml
ChunkyProgrammer Sep 16, 2021
3a24b91
Update question.yaml
ChunkyProgrammer Sep 16, 2021
337719b
Update discussion.yaml
ChunkyProgrammer Sep 16, 2021
aeff375
Update bug_report.yaml
ChunkyProgrammer Sep 17, 2021
722fd3c
Update bug_report.yaml
ChunkyProgrammer Sep 17, 2021
43339a2
Update bug_report.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 17, 2021
a1bc11c
Update feature_request.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 17, 2021
d4b5c81
Update feature_request.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 17, 2021
3ff2802
Update feature_request.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 17, 2021
f1cdc0d
Update feature_request.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 17, 2021
dd33b6c
Update question.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 17, 2021
aaa336b
Update bug_report.yaml
efb4f5ff-1298-471a-8973-3d47447115dc Sep 17, 2021
0f79316
removed discussion and question template
efb4f5ff-1298-471a-8973-3d47447115dc Sep 23, 2021
cd65ff0
added readme and label
efb4f5ff-1298-471a-8973-3d47447115dc Sep 23, 2021
1f7a658
fixes hyperlinks
efb4f5ff-1298-471a-8973-3d47447115dc Sep 23, 2021
c0f93e6
fix typo
efb4f5ff-1298-471a-8973-3d47447115dc Sep 23, 2021
2e4c307
fix I
efb4f5ff-1298-471a-8973-3d47447115dc Sep 23, 2021
2c1911a
fixed I
efb4f5ff-1298-471a-8973-3d47447115dc Sep 23, 2021
08481b8
Create autoLabelIssue.yaml
ChunkyProgrammer Sep 24, 2021
9bdd913
Update bug_report.yaml
ChunkyProgrammer Sep 24, 2021
1ce0329
added description, changed required to true and moved the codeblock
efb4f5ff-1298-471a-8973-3d47447115dc Sep 28, 2021
0906e23
moved labels dropdown to logical place
efb4f5ff-1298-471a-8973-3d47447115dc Sep 29, 2021
ad26aa2
added all bug labels
efb4f5ff-1298-471a-8973-3d47447115dc Sep 29, 2021
49b1fa2
added enhancement labels
efb4f5ff-1298-471a-8973-3d47447115dc Oct 15, 2021
2ef8940
label api issue added
efb4f5ff-1298-471a-8973-3d47447115dc Oct 15, 2021
fbe0fae
new feature label added
efb4f5ff-1298-471a-8973-3d47447115dc Oct 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

116 changes: 116 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
@@ -0,0 +1,116 @@
name: Bug Report
description: Report an issue or unexpected behavior that occurs within the application
title: "[Bug]: "
labels: "bug"
body:
- type: markdown
attributes:
value: |
**README: Before You Submit Your Issue**
- Issues are not a place to go ask support questions or start discussions. Please ask support questions or start discussions on the [discussions page](https://github.com/FreeTubeApp/FreeTube/discussions).
- type: checkboxes
attributes:
label: Guidelines
description: Please ensure you've completed all of the following.
options:
efb4f5ff-1298-471a-8973-3d47447115dc marked this conversation as resolved.
Show resolved Hide resolved
- label: I have encountered this bug in the [latest release of FreeTube](https://github.com/FreeTubeApp/FreeTube/releases).
required: true
- label: I have searched the [issue tracker](https://github.com/FreeTubeApp/FreeTube/issues) for a bug report that matches the one I want to file, without success.
required: true
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: dropdown
attributes:
label: 'Issue Labels'
description: Please select a label that fits this bug report. Choose multiple, if applicable.
multiple: true
options:
- accessibility issue
- API issue
- causes crash
- content not loading
- data loss
- feature stopped working
- inconsistent behavior
- keyboard control not working
- only happens in developer mode
- race condition
- text/string issue
- usability issue
- visual bug
validations:
required: true
- type: input
attributes:
label: FreeTube Version
description: |
If using releases, enter the version.
If using nightly builds, enter commit hash or build number, you can find it via about page in the FreeTube application.
placeholder: v0.14.0, 8c4278
validations:
required: true
- type: input
attributes:
label: Operating System Version
description: What operating system version are you using? On Windows, click Start button > Settings > System > About. On macOS, click the Apple Menu > About This Mac. On Linux, use lsb_release or uname -a.
placeholder: "e.g. Windows 10 version 1909, macOS Catalina 10.15.7, or Ubuntu 20.04"
validations:
required: true
- type: dropdown
attributes:
label: 'Installation Method (If applicable)'
options:
- .AppImage
- .deb
- .dmg
- .exe
- Flathub
- Portable
- .rpm
- .zip
- other
validations:
required: false
- type: input
attributes:
label: 'Last Known Working FreeTube Version (If Any)'
description: What is the last version of FreeTube this worked in, if applicable?
placeholder: v0.14.0
- type: dropdown
attributes:
label: Primary API used
description: What is the primary API being used?
multiple: false
options:
- Local API
- Invidious API
validations:
required: false
- type: textarea
attributes:
label: Additional Information
efb4f5ff-1298-471a-8973-3d47447115dc marked this conversation as resolved.
Show resolved Hide resolved
description: |
Add additional information here.
You may drag-and-drop screenshots/videos and log files here, or paste the log file in code blocks.
- type: checkboxes
attributes:
label: Nightly Build
description: Please ensure you've completed the following, if applicable.
options:
- label: I have encountered this bug in the latest [nightly build](https://docs.freetubeapp.io/development/nightly-builds).
required: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should you add a newline?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm sorry i fail to see why i should. pls explain

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure new line is present otherwise got some inconsistent diff when different dev edit these files

See insert_final_newline on https://editorconfig.org

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1 @@
blank_issues_enabled: false
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/discussion.md

This file was deleted.

27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
@@ -0,0 +1,57 @@
name: Feature request
description: Suggest an idea for FreeTube which you would like to see in a future release
title: "[Feature Request]: "
labels: "enhancement"
body:
- type: markdown
attributes:
value: |
**README: Before You Submit Your Issue**
- Issues are not a place to go ask support questions or start discussions. Please ask support questions or start discussions on the [discussions page](https://github.com/FreeTubeApp/FreeTube/discussions).
- type: checkboxes
attributes:
label: Guidelines
description: Please ensure you've completed all of the following.
options:
- label: I have searched the [issue tracker](https://github.com/FreeTubeApp/FreeTube/issues) for a feature request that matches the one I want to file, without success.
required: true
- type: textarea
attributes:
label: Problem Description
description: Please add a clear and concise description of the problem you are seeking to solve with this feature request.
validations:
required: true
- type: textarea
attributes:
label: Proposed Solution
description: Describe the solution you'd like in a clear and concise manner.
validations:
required: true
- type: textarea
attributes:
label: Alternatives Considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: dropdown
attributes:
label: 'Issue Labels'
description: Please select a label that fits this feature request. Choose multiple, if applicable.
multiple: true
options:
- display more information to user
- ease of use improvement
- improvement to existing feature
- new feature
- new keyboard shortcut
- new optional setting
- support for external software
- visual improvement
validations:
required: true
- type: textarea
attributes:
label: Additional Information
efb4f5ff-1298-471a-8973-3d47447115dc marked this conversation as resolved.
Show resolved Hide resolved
description: |
Add any other context or screenshots/videos about the feature request here.
You may drag-and-drop screenshots.
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/autoLabelIssue.yaml
@@ -0,0 +1,14 @@
name: "Set Issue Label and Assignee"
on:
issues:
types: [opened]

jobs:
label_issue:
runs-on: ubuntu-latest
steps:
- uses: Naturalclar/issue-action@v2.0.2
with:
body: "both"
parameters: '[ {"keywords": ["visual bug"], "labels": ["B: visual"]}, {"keywords": ["keyboard control not working"], "labels": ["B: keyboard control"]}, {"keywords": ["text/string issue"], "labels": ["B: text/string"]}, {"keywords": ["content not loading"], "labels": ["B: content not loading"]}, {"keywords": ["accessibility issue"], "labels": ["B: accessibility"]}, {"keywords": ["usability issue"], "labels": ["B: usability"]}, {"keywords": ["causes crash"], "labels": ["B: crash"]}, {"keywords": ["feature stopped working"], "labels": ["B: feature stopped working"]}, {"keywords": ["inconsistent behavior"], "labels": ["B: inconsistent behavior"]}, {"keywords": ["data loss"], "labels": ["B: data loss"]}, {"keywords": ["race condition"],{"keywords": ["API issue"], "labels": ["B: API issue"]}, "labels": ["B: race condition"]}, {"keywords": ["only happens in developer mode"], "labels": ["B: developer mode"]}, {"keywords": ["improvement to existing feature"], "labels": ["E: improvement existing feature"]}, {"keywords": ["new optional setting"], "labels": ["E: new optional setting"]}, {"keywords": ["visual improvement"], "labels": ["E: visual improvement"]}, {"keywords": ["display more information to user"], "labels": ["E: display more information"]}, {"keywords": ["ease of use improvement"], "labels": ["E: ease of use improvement"]}, {"keywords": ["support for external software"], "labels": ["E: support external software"]}, {"keywords": ["new keyboard shortcut"], "labels": ["E: new feature"]}, {"keywords": ["new feature"], "labels": ["E: keyboard shortcut"]}]'
github-token: "${{ secrets.GITHUB_TOKEN }}"