From 39807b8628dce5a2cbefe73e90b228412f194ad3 Mon Sep 17 00:00:00 2001 From: arash-jj Date: Wed, 10 Jun 2026 10:15:20 +0330 Subject: [PATCH 1/4] feat: add issus templates --- .github/ISSUE_TEMPLATE/bug_report.md | 40 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_requset.md | 25 ++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_requset.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..5ffb746 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,40 @@ +--- +name: Bug Report +about: Create a report to help us improve +title: "[BUG] " +labels: bug +assignees: "" +--- + +## Describe the Bug + +A clear and concise description of what the bug is. + +## To Reproduce + +Steps to reproduce the behavior: + +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +## Expected Behavior + +A clear and concise description of what you expected to happen. + +## Screenshots + +If applicable, add screenshots to help explain your problem. + +## Environment + +- BugOn: [feature/core/etc] +- Version: [e.g., 1.0.0] +- OS: [e.g., Windows/Mac/Linux] +- Node Version: [e.g., 18.x] +- Browser: [e.g., Chrome, Safari] + +## Additional Context + +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_requset.md b/.github/ISSUE_TEMPLATE/feature_requset.md new file mode 100644 index 0000000..1df8782 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_requset.md @@ -0,0 +1,25 @@ +--- +name: Feature Request +about: Suggest an idea for this project +title: '[FEATURE] ' +labels: enhancement +assignees: '' +--- + +## Is your feature request related to a problem? +A clear and concise description of what the problem is. + +## Describe the solution you'd like +A clear and concise description of what you want to happen. + +## Describe alternatives you've considered +A clear and concise description of any alternative solutions or features you've considered. + +## Which part does this affect? +- [ ] Backend API +- [ ] Frontend Dashboard +- [ ] SDK +- [ ] Documentation + +## Additional context +Add any other context or screenshots about the feature request here. \ No newline at end of file From 3b28cdbafa7e1aae485c78c69fc927928d49840b Mon Sep 17 00:00:00 2001 From: arash-jj Date: Wed, 10 Jun 2026 10:15:49 +0330 Subject: [PATCH 2/4] chore: update package.json and fix typo in globals.css --- app/globals.css | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/globals.css b/app/globals.css index fa0ccac..21b3e8a 100644 --- a/app/globals.css +++ b/app/globals.css @@ -160,7 +160,7 @@ @layer base { /* Apply default text color and background */ html { - `@apply` bg-canvas text-text-primary; + @apply bg-canvas text-text-primary; transition: var(--transition-theme); } diff --git a/package.json b/package.json index e13371c..229655b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "next start", "lint": "eslint", "test": "vitest", - "test:ci": "vitest run --coverage", + "test:ci": "vitest run --coverage --passWithNoTests", "test:watch": "vitest --watch", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", @@ -52,4 +52,4 @@ "vite-tsconfig-paths": "^6.1.1", "vitest": "^4.1.7" } -} \ No newline at end of file +} From 73dbdd35b5220608e1f2dac0cec5eda36c9b8cf3 Mon Sep 17 00:00:00 2001 From: arash-jj Date: Wed, 10 Jun 2026 10:16:01 +0330 Subject: [PATCH 3/4] feat: add ci --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b7ea7b7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [24] + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v2 + with: + version: 11 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: "pnpm" + + - run: pnpm install --frozen-lockfile + - run: pnpm run test:ci + - run: pnpm run build \ No newline at end of file From f71f1d46e6ce1e461256d0d22c49c5c827dea714 Mon Sep 17 00:00:00 2001 From: arash-jj Date: Wed, 10 Jun 2026 10:37:39 +0330 Subject: [PATCH 4/4] fix: potential issues --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .../{feature_requset.md => feature_request.md} | 11 ++++++++--- .github/workflows/ci.yml | 14 +++++++++----- 3 files changed, 18 insertions(+), 9 deletions(-) rename .github/ISSUE_TEMPLATE/{feature_requset.md => feature_request.md} (93%) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 5ffb746..6585a40 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -29,7 +29,7 @@ If applicable, add screenshots to help explain your problem. ## Environment -- BugOn: [feature/core/etc] +- Affected Area: [feature/core/etc] - Version: [e.g., 1.0.0] - OS: [e.g., Windows/Mac/Linux] - Node Version: [e.g., 18.x] diff --git a/.github/ISSUE_TEMPLATE/feature_requset.md b/.github/ISSUE_TEMPLATE/feature_request.md similarity index 93% rename from .github/ISSUE_TEMPLATE/feature_requset.md rename to .github/ISSUE_TEMPLATE/feature_request.md index 1df8782..2066683 100644 --- a/.github/ISSUE_TEMPLATE/feature_requset.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,25 +1,30 @@ --- name: Feature Request about: Suggest an idea for this project -title: '[FEATURE] ' +title: "[FEATURE] " labels: enhancement -assignees: '' +assignees: "" --- ## Is your feature request related to a problem? + A clear and concise description of what the problem is. ## Describe the solution you'd like + A clear and concise description of what you want to happen. ## Describe alternatives you've considered + A clear and concise description of any alternative solutions or features you've considered. ## Which part does this affect? + - [ ] Backend API - [ ] Frontend Dashboard - [ ] SDK - [ ] Documentation ## Additional context -Add any other context or screenshots about the feature request here. \ No newline at end of file + +Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7ea7b7..907493a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,19 +9,23 @@ on: jobs: test: runs-on: ubuntu-latest + permissions: + contents: read strategy: matrix: node-version: [24] steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + persist-credentials: false + - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v2.4.0 with: version: 11 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: ${{ matrix.node-version }} cache: "pnpm" - + - run: pnpm install --frozen-lockfile - run: pnpm run test:ci - - run: pnpm run build \ No newline at end of file + - run: pnpm run build