Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Bug Report
description: File a bug report to help improve the app.
title: '[BUG] <brief description>'
labels: ['bug']
body:
- type: markdown
attributes:
value: 'Please provide details about the bug.'
- type: input
id: summary
attributes:
label: Summary
description: Short description of the bug.
placeholder: 'App crashes when clicking Submit.'
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Step-by-step instructions to replicate the issue.
placeholder: |
1. Go to '...'
2. Click '...'
3. Observe the error
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What should happen.
placeholder: 'Form submits successfully.'
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual Behavior
description: What actually happened.
placeholder: 'Form throws a 500 error.'
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots / Logs
description: Add screenshots, logs, or error messages if available.
- type: input
id: environment
attributes:
label: Environment
description: Where the bug occurred.
placeholder: 'OS: macOS, Browser: Chrome 116, Node: 20.x'
- type: dropdown
id: severity
attributes:
label: Severity
description: Impact level of the bug.
options:
- Critical (blocks work)
- Major (significant impact)
- Minor (small issue)
- Trivial (cosmetic only)
12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATE/feature.md

This file was deleted.

23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/spike.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Spike
description: Use this template for research or investigation tasks.
title: '[SPIKE] <brief title>'
labels: ['spike', 'investigation']
body:
- type: markdown
attributes:
value: |
A spike is a time-boxed research task to explore solutions or gather information.
- type: textarea
id: objective
attributes:
label: Objective
description: What’s the main question or problem this spike is trying to answer?
placeholder: 'We want to understand if library X can handle our use case...'
validations:
required: true
- type: textarea
id: resources
attributes:
label: Resources / Notes
description: Links, references, or any notes gathered during the spike.
placeholder: 'Documentation links, small code snippets, observations...'
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Task
description: Create a task that a member can complete.
title: '[Area] - Short Description'
body:
- type: textarea
id: description
attributes:
label: Description
description: Provide a brief summary of this issue
validations:
required: true

- type: textarea
id: acceptance-criteria
attributes:
label: Acceptance Criteria
description: What are the conditions that need to be satisified to complete this task?
validations:
required: true

- type: textarea
id: proposed-solution
attributes:
label: Proposed Solution
description: How will this solution be implemented? What will be changed or added?
validations:
required: true

- type: dropdown
id: issue-type
attributes:
label: Issue Type
description: Select the type of issue
options:
- Backend
- Frontend
- Design
- Other
validations:
required: true

- type: input
id: figma-link
attributes:
label: Figma Link
description: Provide the link to the specific design (if applicable)
placeholder: https://www.figma.com/file/...
validations:
required: false

- type: textarea
id: mocks
attributes:
label: Mocks / Screenshots
description: Provide mocks, screenshots, or other visuals of this new feature
validations:
required: false
46 changes: 0 additions & 46 deletions .github/PULL_REQUEST_TEMPLATE/feature_template.md

This file was deleted.

77 changes: 77 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/review_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Pull Request
description: Standard pull request template for changes
title: '[Area] - Short Description'
body:
- type: textarea
id: changes
attributes:
label: Changes
description: Explain what changes were made
placeholder: Explanation of changes goes here
validations:
required: true

- type: textarea
id: notes
attributes:
label: Notes
description: Any additional notes about this PR
placeholder: Any other notes go here
validations:
required: false

- type: textarea
id: test-cases
attributes:
label: Test Cases
description: List test cases and edge cases covered
placeholder: "- Case A\n- Edge case\n- ..."
validations:
required: true

- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If UI changes were made, attach screenshots (normal window + smallest window). If manual testing was done, include HTTP request screenshots or DB before/after. If none apply, remove this section.
placeholder: Paste screenshots here
validations:
required: false

- type: textarea
id: todo
attributes:
label: To Do
description: Remaining items that must be done
placeholder: "- [ ] item 1\n- [ ] ..."
validations:
required: false

- type: checkboxes
id: checklist
attributes:
label: Checklist
description: Please go through all items before requesting reviewers
options:
- label: 'All commits are tagged with the ticket number'
- label: 'No linting errors / newline warnings'
- label: 'All code follows repository-configured formatting'
- label: 'No merge conflicts'
- label: 'All checks passing'
- label: 'Screenshots included for UI changes'
- label: 'Remove non-applicable sections of this template'
- label: 'PR assigned to yourself'
- label: 'Reviewers requested & Slack ping sent'
- label: "PR linked to the issue (fill in 'Closes #')"
- label: 'If design-related, notify the designer in Slack'
validations:
required: true

- type: input
id: closes-issue
attributes:
label: Closes
description: Add the issue number this PR resolves (e.g., Closes #42)
placeholder: Closes #
validations:
required: true
33 changes: 33 additions & 0 deletions .github/workflows/lint-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Linting Check
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
- 'feature/**'
jobs:
run-linting-check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 22
cache: 'pnpm'
- name: Install modules
run: pnpm install
- name: Generate Prisma client
run: pnpm prisma:generate
- name: Run linting check
run: pnpm lint
31 changes: 31 additions & 0 deletions .github/workflows/prettier-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Prettier Check
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
- 'feature/**'
jobs:
run-prettier-check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 22
cache: 'pnpm'
- name: Install modules
run: pnpm install
- name: Run prettier check
run: pnpm prettier:check
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
23 changes: 23 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Dependencies
node_modules/
pnpm-lock.yaml
package-lock.json
yarn.lock

# Build outputs
.next/
out/
build/
dist/

# Generated files
src/generated/

# Config files that have their own formatting
*.config.js
*.config.ts
next-env.d.ts

# Other files
*.log
*.md.backup
15 changes: 11 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80,
"tabWidth": 2,
"useTabs": false
}
"trailingComma": "es5",
"printWidth": 100,
"arrowParens": "always",
"endOfLine": "auto",
"bracketSpacing": true,
"bracketSameLine": false,
"plugins": ["prettier-plugin-tailwindcss"],
"tailwindConfig": "./tailwind.config.ts",
"tailwindFunctions": ["cn", "cva", "clsx", "classnames", "tw"]
}
Loading