Skip to content

Commit

Permalink
Merge pull request #474 from serverlessworkflow/feat-form-based-issue…
Browse files Browse the repository at this point in the history
…s-templates

Replace standard issue templates by form-based ones
  • Loading branch information
cdavernas authored Dec 19, 2024
2 parents 978ecd0 + fd7e589 commit 58c4375
Show file tree
Hide file tree
Showing 6 changed files with 145 additions and 26 deletions.
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

72 changes: 72 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Bug Report
description: Create a bug report
labels: ["type: bug"]
body:
- type: markdown
attributes:
value: |
:pray: Thanks for taking the time to fill out this bug report!
- type: markdown
attributes:
value: |
## Bug Report
- type: textarea
id: i-tried-this
attributes:
label: "I tried this:"
placeholder: "What did you try to do? A code snippet or example helps."
validations:
required: true

- type: textarea
id: instead-what-happened
attributes:
label: "This happened:"
placeholder: "What happened instead of what you've expected?"
validations:
required: true

- type: textarea
id: what-did-you-expect
attributes:
label: "I expected this:"
placeholder: "What did you expect to happen? Describe the output or behavior you expected to see (unless it's obvious)."

- type: textarea
id: workaround
attributes:
label: "Is there a workaround?"
placeholder: "What's the workaround to avoid this issue?"

- type: textarea
attributes:
label: Anything else?
placeholder: |
Links? References? Logs? Anything that will give us more context about the issue you are encountering.
Tip: You can attach images or log files by dragging files in.
- type: markdown
attributes:
value: |
## Environment
- type: dropdown
id: platform
attributes:
label: "Platform(s)"
multiple: true
options:
- MacOS
- Linux
- Windows
- Other

- type: textarea
attributes:
label: Community Notes
value: |
<!-- Please keep this note for the community -->
* Please vote by adding a 👍 reaction to the issue to help us prioritize.
* If you are interested to work on this issue, please leave a comment.name: Bug Report 🐞
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/enhancement.md

This file was deleted.

47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Feature Request
description: Create a feature request
labels: ["type: enhancement"]
body:
- type: markdown
attributes:
value: |
:pray: Thanks for taking the time to fill out this feature request!
- type: markdown
attributes:
value: |
## Feature Request
- type: textarea
id: what-would-you-like-to-be-added
attributes:
label: "What would you like to be added?"
placeholder: "Description of the feature you'd like to see."
validations:
required: true

- type: textarea
id: proposals
attributes:
label: "Proposal(s):"
placeholder: "Describe your proposal(s) and any relevant details here."

- type: textarea
id: alternatives
attributes:
label: "Alternative(s):"
placeholder: "Describe any alternative approaches, options, or suggestions you’d like to consider."

- type: textarea
id: additional-info
attributes:
label: "Additional info:"
placeholder: "Provide any supplementary details, context, or supporting information here."

- type: textarea
attributes:
label: Community Notes
value: |
<!-- Please keep this note for the community -->
* Please vote by adding a 👍 reaction to the feature to help us prioritize.
* If you are interested to work on this feature, please leave a comment.
24 changes: 24 additions & 0 deletions Synapse.sln
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,28 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "kubernetes", "kubernetes",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Synapse.Core.Infrastructure.Containers.Kubernetes", "src\core\Synapse.Core.Infrastructure.Containers.Kubernetes\Synapse.Core.Infrastructure.Containers.Kubernetes.csproj", "{41C99069-BD99-4FD2-BF33-984CF03B53E8}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{35D495F4-D267-4A84-9479-DB3C1BE85434}"
ProjectSection(SolutionItems) = preProject
.github\PULL_REQUEST_TEMPLATE.md = .github\PULL_REQUEST_TEMPLATE.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{AB30A91B-0158-411D-9BD3-36FFA441B3A2}"
ProjectSection(SolutionItems) = preProject
.github\workflows\build-dotnet.yml = .github\workflows\build-dotnet.yml
.github\workflows\ci-pipeline.yml = .github\workflows\ci-pipeline.yml
.github\workflows\helm.yml = .github\workflows\helm.yml
.github\workflows\publish.yml = .github\workflows\publish.yml
.github\workflows\release.yml = .github\workflows\release.yml
.github\workflows\versioning.yml = .github\workflows\versioning.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ISSUE_TEMPLATE", "ISSUE_TEMPLATE", "{06404855-A5BE-4556-91BC-064630E95737}"
ProjectSection(SolutionItems) = preProject
.github\ISSUE_TEMPLATE\bug.yml = .github\ISSUE_TEMPLATE\bug.yml
config.yml = config.yml
.github\ISSUE_TEMPLATE\feature.yml = .github\ISSUE_TEMPLATE\feature.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -272,6 +294,8 @@ Global
{DD6381BD-2C8B-4CE1-99B2-EC585DD818FA} = {9E296C8A-4D78-4592-B046-11A3A953FD25}
{B3F3DB1B-23E7-45FA-8934-448BFFB294E8} = {562C91A3-6E91-4489-9D9D-064E7436D900}
{41C99069-BD99-4FD2-BF33-984CF03B53E8} = {9E296C8A-4D78-4592-B046-11A3A953FD25}
{AB30A91B-0158-411D-9BD3-36FFA441B3A2} = {35D495F4-D267-4A84-9479-DB3C1BE85434}
{06404855-A5BE-4556-91BC-064630E95737} = {35D495F4-D267-4A84-9479-DB3C1BE85434}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2A6C03D6-355A-4B39-9F2B-D0FDE429C0E2}
Expand Down
2 changes: 2 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
blank_issues_enabled: false
contact_links: []

0 comments on commit 58c4375

Please sign in to comment.