- Shipped
- July 16, 2026 at 5:10 AM UTC
- Author
- kamo
- Commit
- 293fa91
Adds a Customize dialog to the Web Chat Integration tab: an editor form (colors, copy, layout, behavior, AI prompt) on the left and an instant, non-interactive mock of the widget on the right, both driven off the same in-memory config so every edit reflects immediately. - **************** TS mirror of the widget's canonical DEFAULT_DESIGN_JSON (kamo-shared-library WebChatDefaultConfig.java) + deep-merge/parse helpers so a stored designConfig (null/partial/ malformed) always resolves to a fully-populated, editable config. - **************** self- contained styled mock (launcher + open panel), no remote widget bundle involved. - **************** SettingsTextField gains optional multiline/rows props (additive, backward compatible) for the welcome-message/system-prompt fields. Save PUTs the integration's designConfig + aiEnabled/humanEnabled/ aiSystemPrompt via webChatIntegrationsApi.update, with hex-color and positive-integer validation before the request.