berrypod/lib/berrypod_web/components
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
..
layouts improve setup UX: password field, setup hook, checklist banners, theme tweaks 2026-03-03 17:41:08 +00:00
shop_components consolidate all external links through external_link component 2026-03-04 07:12:25 +00:00
block_editor_components.ex add block previews, picker thumbnails and newsletter settings 2026-02-28 20:34:52 +00:00
block_thumbnails.ex add block previews, picker thumbnails and newsletter settings 2026-02-28 20:34:52 +00:00
core_components.ex add forgiving API key validation with inline errors 2026-03-04 12:17:56 +00:00
layouts.ex refactor admin CSS: replace utility classes with semantic styles 2026-03-01 17:15:25 +00:00
page_templates.ex wire order pages and theme preview to page renderer, remove old templates 2026-02-26 19:32:50 +00:00
shop_components.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00