chore(repo): add PR/issue templates and editorconfig rules

Add pull request and issue templates and extend .editorconfig with json/yml rules. Templates are force-added because the user's global gitignore excludes .github directories.
This commit is contained in:
Rafał Tyński
2026-10-04 00:48:53 +02:00
parent b2fd7f8940
commit 2401991870
5 changed files with 134 additions and 0 deletions
+3
View File
@@ -14,5 +14,8 @@ indent_size = 4
[*.{csproj,props,targets,slnx}]
indent_size = 2
[*.{json,yml,yaml}]
indent_size = 2
[*.md]
trim_trailing_whitespace = false
+50
View File
@@ -0,0 +1,50 @@
name: Błąd
description: Zgłoszenie błędu w TarninaHub
title: "[Bug]: "
labels: ["type:fix"]
body:
- type: textarea
id: description
attributes:
label: Opis
description: Na czym polega błąd?
validations:
required: true
- type: textarea
id: steps
attributes:
label: Kroki reprodukcji
description: Krok po kroku, jak odtworzyć błąd.
placeholder: |
1. Wejdź na ...
2. Kliknij ...
3. Błąd ...
validations:
required: true
- type: textarea
id: expected
attributes:
label: Oczekiwane zachowanie
validations:
required: true
- type: textarea
id: actual
attributes:
label: Rzeczywiste zachowanie
validations:
required: true
- type: input
id: environment
attributes:
label: Środowisko
description: Przeglądarka/system, wersja, motyw (jasny/ciemny).
- type: dropdown
id: priority
attributes:
label: Priorytet
options:
- priority:high
- priority:medium
- priority:low
validations:
required: true
+5
View File
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Dokumentacja projektu
url: https://example.invalid/tarninahub
about: Plan kroków i wymagania (uzupełnić właściwym adresem).
@@ -0,0 +1,40 @@
name: Funkcjonalność
description: Propozycja nowej funkcjonalności lub usprawnienia
title: "[Feature]: "
labels: ["type:feat"]
body:
- type: textarea
id: problem
attributes:
label: Problem / cel
description: Jaki problem rozwiązujemy i dla kogo?
validations:
required: true
- type: textarea
id: solution
attributes:
label: Proponowane rozwiązanie
validations:
required: true
- type: textarea
id: acceptance
attributes:
label: Kryteria akceptacji
description: Lista warunków (Given/When/Then), po których uznamy zadanie za gotowe.
validations:
required: true
- type: dropdown
id: module
attributes:
label: Moduł
options:
- F-1 Matchmaking
- F-3 Zasobnik wiedzy
- F-4 Kreator pomysłów
- F-5 Tester innowacji
- F-6 Platforma komunikacji
- F-7 Panel administratora
- F-8 Middleman Innowacji
- inne / przekrojowe
validations:
required: true
+36
View File
@@ -0,0 +1,36 @@
## Opis
<!-- Co zmienia ten PR i dlaczego. -->
## Typ zmiany
- [ ] feat
- [ ] fix
- [ ] docs
- [ ] refactor
- [ ] chore
- [ ] test
- [ ] ci / build
## Powiązanie
<!-- Krok planu (np. todo10) lub numer issue: Closes #123 -->
## Zakres
- [ ] backend
- [ ] frontend
- [ ] infra
- [ ] dokumentacja
## Testowanie
<!-- Komendy i kroki weryfikacji; zrzuty ekranu dla UI. -->
## Checklist
- [ ] Build przechodzi (`dotnet build backend`, `npm --prefix client run build`)
- [ ] Testy przechodzą (`dotnet test`)
- [ ] Brak sekretów i danych osobowych/wrażliwych
- [ ] Dostępność WCAG 2.1 AA sprawdzona (jeśli dotyczy UI)
- [ ] Zaktualizowana dokumentacja (jeśli dotyczy)