From 702364ac9653d225e067c92747ae5be4ae6574c6 Mon Sep 17 00:00:00 2001 From: poyrazavsever Date: Sat, 18 Apr 2026 18:26:34 +0300 Subject: [PATCH] refactor: update issue templates for clarity and conciseness --- .github/ISSUE_TEMPLATE/bug_report.md | 6 ++---- .github/ISSUE_TEMPLATE/feature_request.md | 16 +++------------- .github/PULL_REQUEST_TEMPLATE.md | 8 -------- SECURITY.md | 12 ------------ 4 files changed, 5 insertions(+), 37 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a823016..7ec1a6b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -32,11 +32,9 @@ What happened instead? - Browser (if UI issue): - OS: -## Relevant logs/errors +## Relevant logs/errors (attach files) -```text -Paste error logs, stack traces, or API errors here. -``` +Attach error logs, stack traces, or API error outputs as files/images. If needed, you can add a short summary here. ## Scope and impact diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 99b9e19..b883496 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -18,23 +18,13 @@ What do you want to happen? What alternatives did you evaluate? -## Scope - -Which areas are affected? - -- [ ] API -- [ ] Auth/access -- [ ] Database -- [ ] UI/UX -- [ ] Docs -- [ ] DevEx/Operations - ## Acceptance criteria How will we know this is done? -- [ ] Criterion 1 -- [ ] Criterion 2 +- [ ] User value: The proposed change solves the stated problem in an end-to-end user flow. +- [ ] Security and access control: Existing authorization rules are preserved, and no sensitive data is exposed. +- [ ] Verifiability: Completion is proven with test steps, reproducible evidence, or clear output/screenshots. ## Non-goals (optional) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d66db9e..b7a7dd4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,14 +6,6 @@ Explain what changed in this PR. Explain the problem this PR solves. -## Type of change - -- [ ] feat -- [ ] fix -- [ ] docs -- [ ] refactor -- [ ] chore -- [ ] test ## Scope diff --git a/SECURITY.md b/SECURITY.md index 54f432a..bef3f47 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -9,10 +9,6 @@ Security fixes are prioritized for the latest code on `master` and recent releas Please do not report security vulnerabilities in public issues. -Use GitHub private security advisories: - -- https://github.com/yusufipk/OpenFrame/security/advisories/new - Include as much detail as possible: - Affected area (API route, auth flow, upload flow, etc.) @@ -41,11 +37,3 @@ Security-sensitive areas in this repository include: - Upload validation and storage paths in [app/api/upload](app/api/upload) - Billing and webhook handling in [app/api/billing](app/api/billing) and [app/api/stripe/webhook/route.ts](app/api/stripe/webhook/route.ts) -## Safe Contribution Reminders - -When contributing fixes: - -- Avoid logging secrets or sensitive payloads. -- Keep error responses safe and non-leaky. -- Preserve access-control checks (do not bypass shared helpers). -- Add regression tests or reproduction notes for the fix.