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
25 changes: 25 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Add 'frontend' label to any changes in src
frontend:
- src/**/*

# Add 'tests' label to any changes in tests
tests:
- tests/**/*

# Add 'ci' label to any changes in .github/workflows
ci:
- .github/workflows/**/*

# Add 'docker' label to any changes in Dockerfile or docker-compose
docker:
- Dockerfile
- docker-compose.yml
- nginx.conf

# Add 'docs' label to any changes in README, CONTRIBUTING, etc.
docs:
- README.md
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
- SECURITY.md
- LICENSE
19 changes: 19 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Labeler"
on:
- pull_request_target

permissions:
contents: read
pull-requests: write

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# GitHub Issue Tracker SPA

[![CI](https://github.com/blackstart-labs/github-issue-tracker/actions/workflows/ci.yml/badge.svg)](https://github.com/blackstart-labs/github-issue-tracker/actions/workflows/ci.yml)
[![Deploy](https://github.com/blackstart-labs/github-issue-tracker/actions/workflows/deploy.yml/badge.svg)](https://github.com/blackstart-labs/github-issue-tracker/actions/workflows/deploy.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

A production-grade, high-performance Single Page Application (SPA) for tracking GitHub issues. Built with **Vue 3**, **Vite**, and **Pinia**, featuring a signature "Editorial Utility" aesthetic—sharp, dense, and intentional.

![GitHub Issue Tracker](./public/demo.webp)
Expand Down
15 changes: 14 additions & 1 deletion bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export default [
},

...pluginVue.configs['flat/essential'],
pluginOxlint.configs['flat/recommended'],
...pluginOxlint.configs['flat/recommended'],
skipFormatting,
]
]
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"@vitejs/plugin-vue": "^6.0.4",
"@vitejs/plugin-vue-jsx": "^5.1.4",
"@vitest/eslint-plugin": "^1.6.10",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/test-utils": "^2.4.6",
"cypress": "^15.11.0",
"eslint": "^10.0.3",
Expand Down
2 changes: 1 addition & 1 deletion src/composables/useIssues.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useIssuesStore } from '@/stores/issues'
import { useRepoStore } from '@/stores/repo'
import { useUiStore } from '@/stores/ui'
import { githubService, parseLinkHeader } from '@/api/github'
import { useRoute, useRouter } from 'vue-router'
// No router needed here

export function useIssues() {
const issuesStore = useIssuesStore()
Expand Down
2 changes: 1 addition & 1 deletion src/composables/useRateLimit.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function useRateLimit() {
const response = await githubService.getRateLimit()
rateLimitRemaining.value = response.data.rate.remaining
rateLimitReset.value = response.data.rate.reset
} catch (e) {
} catch {
// Ignore initial load failure silently
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/stores/issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const useIssuesStore = defineStore('issues', () => {
if (lastPage) {
pagination.value.totalPages = parseInt(lastPage, 10)
}
} catch (e) {
} catch {
// failed to parse
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/utils/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function formatRelative(date) {
if (!date) return ''
try {
return formatDistanceToNow(new Date(date), { addSuffix: true })
} catch (e) {
} catch {
return ''
}
}
Expand All @@ -21,7 +21,7 @@ export function formatAbsolute(date) {
if (!date) return ''
try {
return format(new Date(date), 'MMM d, yyyy')
} catch (e) {
} catch {
return ''
}
}
2 changes: 1 addition & 1 deletion tests/unit/components/IssueCard.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, it, expect, vi } from 'vitest'
import { describe, it, expect } from 'vitest'
import { mount } from '@vue/test-utils'
import IssueCard from '@/components/issue/IssueCard.vue'

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/composables/useRateLimit.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, it, expect, vi, beforeEach } from 'vitest'
import { describe, it, expect, beforeEach } from 'vitest'
import { useRateLimit } from '@/composables/useRateLimit'
import { mount } from '@vue/test-utils'
import { defineComponent, nextTick } from 'vue'
Expand Down
Loading