75c5a9f35024330f34e1021471074458af1233bf
Fill coverage gaps and lock in behavior for the Activities screen and app/nav (Sidebar) domain (plan task B-D6). All four domain src files (screens/Activities.tsx, api/activities.ts, App.tsx, components/Sidebar.tsx) now at 100% stmts/branch/funcs/lines. - Activities.test.tsx: insole-type toggle select/deselect (both branches), reduced-subset create, add disabled when no types, edit insole types, cancel-without-save, empty-types-defaults-all editor, empty state, error-falls-back-to-empty, and the create->edit types->reorder->delete lifecycle test. - Sidebar.test.tsx (new): brand + nav links + email, active-route highlight, end-match keeps Live inactive off-root, nav click switches screen + moves highlight, Uitloggen calls signOut, email hidden without useMe data. - Activities.tsx: three /* c8 ignore next */ annotations on the defensive early-return guards in handleAdd/handleSave/handleMove (each mirrored by a disabled button, so unreachable via the UI). Comment-only, no behavior change. No bugs found — the domain code was already correct; the tests lock it in.
SoleLog docs
Running the backend (Phase 0)
Local (dev):
yarn install
cp apps/api/.env.example apps/api/.env # edit BETTER_AUTH_SECRET
yarn workspace @solelog/api db:migrate
yarn workspace @solelog/api dev
Docker (whole stack):
docker compose up --build
# health: curl http://localhost:3000/health
Description
Languages
TypeScript
95.3%
CSS
3.8%
Dockerfile
0.7%
HTML
0.2%