From dcc421e98437603b3f228e26ce7ea84f1ed7a850 Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Sun, 14 Dec 2025 22:38:18 +0100 Subject: [PATCH] chore: add PR and issue templates --- .gitea/ISSUE_TEMPLATE/bug.md | 36 ++++++++++++++++++++++++++++ .gitea/ISSUE_TEMPLATE/feature.md | 41 ++++++++++++++++++++++++++++++++ .gitea/pull_request_template.md | 30 +++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 .gitea/ISSUE_TEMPLATE/bug.md create mode 100644 .gitea/ISSUE_TEMPLATE/feature.md create mode 100644 .gitea/pull_request_template.md diff --git a/.gitea/ISSUE_TEMPLATE/bug.md b/.gitea/ISSUE_TEMPLATE/bug.md new file mode 100644 index 0000000..db02bb8 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,36 @@ +--- +name: Bug +about: Fehlerbericht / Regression +title: "bug: " +labels: ["bug"] +--- + +## What happened? + + +## Expected behavior + + +## Steps to reproduce +1. ... +2. ... +3. ... + +## Impact / Severity +- [ ] blocker +- [ ] high +- [ ] medium +- [ ] low + +## Logs / Screenshots + + +## Environment +- Branch/Commit: +- Staging/Prod: +- Browser (falls UI): +- Relevant config/env: + +## Fix criteria +- [ ] Repro-Test vorhanden oder neuer Test hinzugefügt +- [ ] Fix verifiziert (lokal + staging) \ No newline at end of file diff --git a/.gitea/ISSUE_TEMPLATE/feature.md b/.gitea/ISSUE_TEMPLATE/feature.md new file mode 100644 index 0000000..b416d57 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/feature.md @@ -0,0 +1,41 @@ +--- +name: Feature +about: Neues Feature / Erweiterung +title: "feat(): " +labels: ["feature"] +--- + +## Goal + + +## Context + + +## Scope +- In: + - [ ] +- Out: + - [ ] + +## Acceptance Criteria +- [ ] ... +- [ ] ... +- [ ] ... + +## Spec (SDD) +- [ ] `specs/-/plan.md` +- [ ] `specs/-/tasks.md` +- [ ] `specs/-/spec.md` + +## Risks / Safety (Intune) +- [ ] Dry-run/Preview möglich? +- [ ] Audit Log Einträge nötig? +- [ ] Confirmations / RBAC nötig? + +## Implementation Notes (optional) + + +## Test Plan +- [ ] Feature Test(s) +- [ ] Failure path(s) +- [ ] Manuelle Staging-Checks \ No newline at end of file diff --git a/.gitea/pull_request_template.md b/.gitea/pull_request_template.md new file mode 100644 index 0000000..882fa7f --- /dev/null +++ b/.gitea/pull_request_template.md @@ -0,0 +1,30 @@ +## Summary + + +## Spec-Driven Development (SDD) +- [ ] Es gibt eine Spec unter `specs/-/` +- [ ] Enthaltene Dateien: `plan.md`, `tasks.md`, `spec.md` +- [ ] Spec beschreibt Verhalten/Acceptance Criteria (nicht nur Implementation) +- [ ] Wenn sich Anforderungen während der Umsetzung geändert haben: Spec/Plan/Tasks wurden aktualisiert + +## Implementation +- [ ] Implementierung entspricht der Spec +- [ ] Edge cases / Fehlerfälle berücksichtigt +- [ ] Keine unbeabsichtigten Änderungen außerhalb des Scopes + +## Tests +- [ ] Tests ergänzt/aktualisiert (Pest/PHPUnit) +- [ ] Relevante Tests lokal ausgeführt (`./vendor/bin/sail artisan test` oder `php artisan test`) + +## Migration / Config / Ops (falls relevant) +- [ ] Migration(en) enthalten und getestet +- [ ] Rollback bedacht (rückwärts kompatibel, sichere Migration) +- [ ] Neue Env Vars dokumentiert (`.env.example` / Doku) +- [ ] Queue/cron/storage Auswirkungen geprüft + +## UI (Filament/Livewire) (falls relevant) +- [ ] UI-Flows geprüft +- [ ] Screenshots/Notizen hinzugefügt + +## Notes + \ No newline at end of file