Files
ServerKit/frontend/src/components/docker
Juan DenisandClaude Opus 4.8 b70277ef67 fix(frontend): Phase 5 §8.2 A3 — add type="button" to raw action buttons
Raw <button> elements default to type="submit" inside a form, causing accidental
submits. Added an explicit type="button" to the 234 raw buttons (across 60
files) that have an onClick and no type — i.e. action buttons, which are never
the intended default-submit. Default-submit buttons (no onClick) and the shadcn
ui/* wrappers were left untouched. Applied via a brace/quote-aware scan so
multi-line tags and style={{...}} attrs are handled correctly.

Verified: npm run build passes; dashboard/services/settings screenshots render
unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 10:42:47 -04:00
..