Skip to content
Open
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
060d8d9
chore: enforce LF line endings via .gitattributes, ignore .idea and .…
123FLO321 Jul 13, 2026
fca7624
test: add Vitest server project with tool.ts timestamp tests
123FLO321 Jul 13, 2026
180c963
test: cover tool.ts uptime math (ParseUptime, formulas, UptimeCalcula…
123FLO321 Jul 13, 2026
048518f
test: cover tool.ts validation and string helpers
123FLO321 Jul 13, 2026
e800867
test: add Vitest browser-mode client project with CopyButton test
123FLO321 Jul 13, 2026
2dc46ab
test: add StatusBarCalendar browser-mode component test
123FLO321 Jul 13, 2026
ae1586c
test: pin test timezone to UTC, document test commands
123FLO321 Jul 13, 2026
a7b5c2c
ci: add test workflow with Playwright browser caching
123FLO321 Jul 14, 2026
c40b41a
ci: disable credential persistence, read Playwright version from inst…
123FLO321 Jul 14, 2026
3fc1d75
test: use extends: true for Vitest projects, guard clipboard spy target
123FLO321 Jul 14, 2026
01a428c
chore: restrict permissions for test workflow
123FLO321 Jul 14, 2026
385fb63
ci: cancel superseded test runs on the same branch or PR
123FLO321 Jul 15, 2026
edd9f5b
feat(monitor-bar): add buildLatencyDisplay string builder
123FLO321 Jul 15, 2026
0c8e597
feat(monitor-bar): render configurable avg/min/max latency line
123FLO321 Jul 15, 2026
112c28e
feat(pages): thread monitor_latency_display through page settings to …
123FLO321 Jul 15, 2026
993a989
feat(api): support monitor_latency_display in the v4 pages API
123FLO321 Jul 15, 2026
b767825
feat(manage): add monitor latency display checkboxes to page settings
123FLO321 Jul 15, 2026
9d88316
chore(i18n): sort en.json keys after adding latency-display strings
123FLO321 Jul 15, 2026
34b892f
fix(monitor-bar): decouple status icon position from latency line width
123FLO321 Jul 15, 2026
69bce77
fix(monitor-bar): forward latencyDisplay to group popover child bars
123FLO321 Jul 15, 2026
279b067
feat(monitor-bar): add "current" (latest reading) latency option
123FLO321 Jul 15, 2026
ca6ef3a
style(monitor-bar): use "label:" and middot separator for latency line
123FLO321 Jul 15, 2026
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
51 changes: 51 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Tests

on:
push:
branches:
- main
pull_request:

# Cancel superseded runs on the same branch / PR to save CI minutes.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
Comment thread
123FLO321 marked this conversation as resolved.
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
with:
persist-credentials: false

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 24
cache: npm

- name: Install dependencies
run: npm ci

- name: Get Playwright version
id: playwright-version
run: echo "version=$(npx playwright --version | awk '{print $2}')" >> "$GITHUB_OUTPUT"

- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
Comment thread
123FLO321 marked this conversation as resolved.
key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}

- name: Install Playwright Chromium
run: npx playwright install --with-deps chromium

- name: Type check
run: npm run check

- name: Run tests
run: npm test
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ config/server.yaml
/package
.env
.vscode
.idea
.env.*
!.env.example
vite.config.js.timestamp-*
Expand Down Expand Up @@ -39,4 +40,5 @@ translation-report.json
# AI workflow docs (not version-controlled)
CONTEXT.md
docs/adr/
docs/superpowers/
docs/superpowers/
.superpowers/
6 changes: 6 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@ npm run check # Svelte + TypeScript type checking
npm run prettify # Format all files with Prettier
npm run migrate # Run database migrations via Knex
npm run seed # Run database seeds (migrations run automatically first)
npm test # Run all tests (server unit + browser component projects)
npm run test:server # Server-side unit tests only (Node)
npm run test:client # Component tests only (headless Chromium via Playwright)
npm run test:watch # Watch mode
```

Component tests need a one-time `npx playwright install chromium`.

## Architecture

### Dual Process Model
Expand Down
Loading