From cf5fbcff24a1ad1575450365ccd3b62d7fb2eb58 Mon Sep 17 00:00:00 2001 From: Sandip Date: Sun, 3 Aug 2025 14:55:59 +0530 Subject: [PATCH] chore: add issue and pull request templates --- .github/ISSUE_TEMPLATE/bug_report.yaml | 26 +++++++++++++++++++ .github/ISSUE_TEMPLATE/new_question.yaml | 33 ++++++++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 17 ++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml create mode 100644 .github/ISSUE_TEMPLATE/new_question.yaml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 0000000..49ea740 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,26 @@ +name: Bug Report +description: Create a report to help us improve +title: "fix: " +labels: [bug] +assignees: + - thisissandipp +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: what-happened + attributes: + label: What happened? + placeholder: Also tell us, what did you expect to happen? + validations: + required: true + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/thisissandipp/flutter-interview-questions/blob/main/CODE_OF_CONDUCT.md). + options: + - label: I agree to follow this project's Code of Conduct + required: true diff --git a/.github/ISSUE_TEMPLATE/new_question.yaml b/.github/ISSUE_TEMPLATE/new_question.yaml new file mode 100644 index 0000000..9bd8d96 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new_question.yaml @@ -0,0 +1,33 @@ +name: New Question +description: Propose a new Flutter interview question to be added to the repository. +title: "question: " +labels: [new question] +assignees: + - thisissandipp +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: proposed-question + attributes: + label: Proposed Question + placeholder: Please write the question here. + validations: + required: true + - type: textarea + id: proposed-answer + attributes: + label: Proposed Answer + placeholder: If possible, provide a detailed answer, including any code snippets or explanations. This helps in drafting the final response. + validations: + required: true + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/thisissandipp/flutter-interview-questions/blob/main/CODE_OF_CONDUCT.md). + options: + - label: I agree to follow this project's Code of Conduct + required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..f5d6324 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,17 @@ +## Description + +[Provide a brief summary of the changes introduced by this PR.] + +## Type of Pull Request + +- [ ] 🐞 Bug fix (Non-breaking change which fixes issue) +- [ ] ✨ Feature (Non-breaking change which adds functionality) +- [ ] 📚 Documentation update +- [ ] 💥 New interview question/answer +- [ ] 💡 Other... Please describe + +## Pull Request Checklist + +- [ ] 🚀 I have reviewed my own commit and ensured it follows the project's standards. +- [ ] 📚 I have updated documentation (if necessary). +- [ ] 🤖 I have provided clear and informative commit messages.