berrypod/lib/berrypod_web/live/admin
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
..
newsletter complete admin CSS refactor: delete utilities.css, add layout primitives 2026-03-01 21:40:21 +00:00
pages extract site_name and site_description from theme settings into standalone settings 2026-03-03 14:52:31 +00:00
providers add forgiving API key validation with inline errors 2026-03-04 12:17:56 +00:00
theme fix theme editor radio buttons: accessibility and double dots 2026-03-04 00:14:57 +00:00
activity.ex hide system events by default on activity page 2026-03-02 08:32:06 +00:00
analytics.ex complete admin CSS refactor: delete utilities.css, add layout primitives 2026-03-01 21:40:21 +00:00
dashboard.ex improve setup UX: password field, setup hook, checklist banners, theme tweaks 2026-03-03 17:41:08 +00:00
email_settings.ex add forgiving API key validation with inline errors 2026-03-04 12:17:56 +00:00
media.ex complete admin CSS refactor: delete utilities.css, add layout primitives 2026-03-01 21:40:21 +00:00
navigation.ex complete admin CSS refactor: delete utilities.css, add layout primitives 2026-03-01 21:40:21 +00:00
newsletter.ex complete admin CSS refactor: delete utilities.css, add layout primitives 2026-03-01 21:40:21 +00:00
order_show.ex add external link UX: icons, rel attributes, screen reader labels 2026-03-04 00:55:09 +00:00
orders.ex complete admin CSS refactor: delete utilities.css, add layout primitives 2026-03-01 21:40:21 +00:00
product_show.ex consolidate all external links through external_link component 2026-03-04 07:12:25 +00:00
products.ex share provider connection logic between setup wizard and providers form 2026-03-03 15:19:17 +00:00
redirects.ex complete admin CSS refactor: delete utilities.css, add layout primitives 2026-03-01 21:40:21 +00:00
settings.ex add external link UX: icons, rel attributes, screen reader labels 2026-03-04 00:55:09 +00:00