feat(pwa): rebuild /skills against DS primitives + view/edit toggle (#143) #170
No reviewers
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol!170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "143-skills-ds-rebuild"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #143.
Summary
/skillsnow opens read-only. Each section is aCardwith a chevron toggle, the section name, and a neutral countBadge. Skills render as pill chips in view mode.Edit(secondary, pencil-led) reveals tools; header flips to ghostCancel+ primaryDone. Both are no-op exits — every per-row / per-section mutation already persists eagerly, so there's no buffered state to flush. This is the simpler read of the ticket text and matches the existing model from #69.IconButtontoolbar:ArrowUp/ArrowDown/Pencil(rename) /Trash2. Rename swaps the section header into an inline input + Save/Cancel.ArrowUp/ArrowDown/X. Opacity transition is 150ms per the DS motion guidance.Add a skill…input +secondaryAdd button per section.Section name…+primaryAdd section row at the bottom./api/skills/:idstill exists; a follow-up can re-expose rename via click-to-edit if users miss it. Noted in the source comment so future-me can find it.localStorageand survives the Edit toggle (acceptance criterion).skills.module.cssportscax-skillsec/cax-chip/cax-inlineinputfrom the design.Test plan
npm run lint/npx tsc --noEmit/npm testall clean (440 passed).chevron-right, body hides.Section name… / Add sectionrow.style="color:transparent"on the sidebar<img>(Next.js Image default).🤖 Generated with Claude Code
Trivy (container image)
Threshold:
high· Total findings: 121 · At/above threshold: 16.27.0, 7.28.0, 8.5.0📊 Test coverage
Patch coverage: no testable lines changed.
Overall (
app/,lib/,db/, excluding UI per ADR-0019):Soft thresholds per ADR-0019. Coverage is informational and does not block merge.