berrypod/lib/berrypod_web/live/admin/providers
jamey 76cff0494e add forgiving API key validation with inline errors
Add KeyValidation module for format-checking API keys before
attempting connections. Auto-strips whitespace, detects common
mistakes (e.g. pasting a Stripe publishable key), and returns
helpful error messages.

Inline field errors across all three entry points:
- Setup wizard: provider + Stripe keys
- Admin provider form: simplified to single Connect button
- Email settings: per-field errors instead of flash toasts

Also: plain text inputs for all API keys (not password fields),
accessible error states (aria-invalid, role=alert, thick border,
bold text), inner_block slot declaration on error component.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 12:17:56 +00:00
..
form.ex add forgiving API key validation with inline errors 2026-03-04 12:17:56 +00:00
form.html.heex add forgiving API key validation with inline errors 2026-03-04 12:17:56 +00:00
index.ex complete admin CSS refactor: delete utilities.css, add layout primitives 2026-03-01 21:40:21 +00:00
index.html.heex complete admin CSS refactor: delete utilities.css, add layout primitives 2026-03-01 21:40:21 +00:00