feat: add more issue templates

This commit is contained in:
Sabiha Khan 2025-09-30 14:34:08 +05:30
parent fe664cb3a6
commit 8c5e9b4263
6 changed files with 130 additions and 58 deletions

View file

@ -1,38 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

53
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View file

@ -0,0 +1,53 @@
name: "🐞 Bug Report"
description: "Create a report to help us improve"
title: "[Bug]: "
labels: [bug]
assignees: []
body:
- type: textarea
id: description
attributes:
label: "Describe the bug"
description: "A clear and concise description of what the bug is."
placeholder: "The application crashes when..."
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: "Steps to Reproduce"
description: "Step-by-step instructions to reproduce the behavior."
placeholder: "1. Go to...\n2. Click...\n3. Scroll...\n4. See error"
validations:
required: true
- type: textarea
id: expected
attributes:
label: "Expected behavior"
description: "What you expected to happen."
placeholder: "The application should..."
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: "Screenshots"
description: "If applicable, add screenshots to help explain your problem."
placeholder: "Drag & drop images here"
- type: input
id: desktop
attributes:
label: "Device details"
description: "Device, OS, Browser, Version"
placeholder: "e.g. Desktop, macOS, Chrome, 119"
- type: textarea
id: additional
attributes:
label: "Additional context"
description: "Add any other context about the problem here."

7
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View file

@ -0,0 +1,7 @@
contact_links:
- name: 💡 Feature Request
url: https://github.com/orgs/dograh-hq/discussions/new?category=ideas
about: Suggest any ideas you have using our discussion forums.
- name: "🔒 Report a Security Vulnerability"
url: https://github.com/dograh-hq/dograh/security/advisories/new
about: "Privately report security vulnerabilities to maintainers (not via public issues)."

View file

@ -0,0 +1,52 @@
name: "📖 Documentation Change Request"
description: "Suggest improvements, corrections, or additions to the documentation"
title: "[Docs]: "
labels: [documentation]
body:
- type: markdown
attributes:
value: |
Thanks for helping improve our documentation!
Please fill out the details below so we can make updates faster.
- type: dropdown
id: type-of-change
attributes:
label: "Type of Documentation Change"
options:
- Fix typo or grammar
- Update outdated content
- Add missing content
- Improve clarity or formatting
- Other
validations:
required: true
- type: input
id: page-url
attributes:
label: "Affected Page/Section"
description: "Link to the page or file that needs an update (if applicable)"
placeholder: "docs/installation.md or https://project/docs/installation"
- type: textarea
id: current
attributes:
label: "Current Content"
description: "What does the documentation currently say?"
placeholder: "Paste or summarize the current content here"
- type: textarea
id: suggested
attributes:
label: "Suggested Change"
description: "What should it say instead? Suggest edits or improvements."
placeholder: "Propose corrected text, examples, or explanation here"
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: "Additional Context"
description: "Add any extra details, screenshots, or references"

View file

@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.