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
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
## Checklist

- [ ] `npm run verify` passes locally (lint + typecheck + tests + comment-policy gate)
- [ ] If desktop UI changed: `npm run verify:desktop` passes
- [ ] If desktop UI changed: buttons, popovers, sidebars, and chat auto-scroll were checked at narrow desktop widths
- [ ] No `Co-Authored-By: Claude` trailer in commits
- [ ] Comments follow CONTRIBUTING.md (no module-essay headers, no incident history)
- [ ] No edits to `CHANGELOG.md` — release notes are maintainer-written at release time
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: npm
cache-dependency-path: |
package-lock.json
desktop/package-lock.json

- name: Install dependencies
run: npm ci

- name: Install desktop dependencies
run: npm ci --prefix desktop

- name: Lint (biome)
run: npm run lint

Expand All @@ -36,6 +42,9 @@ jobs:
- name: Build (tsup + dashboard)
run: npm run build

- name: Build desktop
run: npm run build:desktop

- name: Test (vitest + coverage)
run: npm run test:coverage

Expand Down
18 changes: 9 additions & 9 deletions desktop/src/App.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,14 +396,14 @@ describe("desktop thread layout", () => {
const side = 244;
const ctx = 320;

expect(
getThreadMaxWidth({ viewportWidth: 1000, visibleSide: side, visibleCtx: ctx }),
).toBe(580);
expect(
getThreadMaxWidth({ viewportWidth: 1400, visibleSide: side, visibleCtx: ctx }),
).toBe(756);
expect(
getThreadMaxWidth({ viewportWidth: 1800, visibleSide: side, visibleCtx: ctx }),
).toBe(1120);
expect(getThreadMaxWidth({ viewportWidth: 1000, visibleSide: side, visibleCtx: ctx })).toBe(
580,
);
expect(getThreadMaxWidth({ viewportWidth: 1400, visibleSide: side, visibleCtx: ctx })).toBe(
756,
);
expect(getThreadMaxWidth({ viewportWidth: 1800, visibleSide: side, visibleCtx: ctx })).toBe(
1120,
);
});
});
Loading
Loading