Skip to content
Open
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
55 changes: 55 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Deploy triage site to Pages

on:
pull_request:
paths:
- "site/**"
- ".github/workflows/pages.yml"
push:
branches: [main]
paths:
- "site/**"
- ".github/workflows/pages.yml"
workflow_dispatch:

concurrency:
group: pages
cancel-in-progress: true

jobs:
build:
permissions:
contents: read
runs-on: ubuntu-latest
defaults:
run:
working-directory: site
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: site/package-lock.json
- run: npm ci
- run: npm test
- run: npm run lint
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: site/dist

deploy:
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
8 changes: 8 additions & 0 deletions site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules/
build/
dist/
coverage/
.DS_Store
*.log
.env*
!.env.example
19 changes: 19 additions & 0 deletions site/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# XCL triage dashboard

RepoPulse is a browser-only dashboard for the public issues, pull requests, commits, and the
maintained triage digest in [xcl-dev/xcl#1607](https://github.com/xcl-dev/xcl/issues/1607).
It stores personal pins, notes, and triage status only in the visitor's browser. It never asks for
or embeds a GitHub token.

## Run Locally

**Prerequisites:** Node.js


1. `npm ci`
2. `npm test`
3. `npm run lint`
4. `npm run dev`

Production builds use `npm run build`. Vite emits `dist/` with the `/xcl/triage/` base path required
by the project Pages URL. The repository workflow publishes that artifact after a push to `main`.
29 changes: 29 additions & 0 deletions site/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RepoPulse — GitHub Issue & PR Triage</title>
<meta
name="description"
content="Fast, keyboard-first GitHub issue, pull request, and commit triage workspace built for active repositories like xcl-dev/xcl."
/>
<meta property="og:title" content="RepoPulse — GitHub Issue & PR Triage" />
<meta
property="og:description"
content="Fast, keyboard-first GitHub issue, pull request, and commit triage workspace built for active repositories like xcl-dev/xcl."
/>
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
</head>
<body class="bg-slate-50 text-slate-900 antialiased dark:bg-slate-950 dark:text-slate-100">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading
Loading