feat(integrations): polish embed/IM channel editors and agent rebind
Align embed channel setup with a step wizard, simplify deploy layout, and allow changing bound agents on update for embed and IM channels.
This commit is contained in:
@@ -2320,8 +2320,12 @@ export default {
|
||||
name: 'Name',
|
||||
nameDesc: 'For admin lists and channel identification',
|
||||
namePlaceholder: 'e.g. Website support',
|
||||
nameDefaultHint: 'Defaults to "{agent} · Web Embed" when an agent is selected. Leave blank on save to use the default name.',
|
||||
defaultChannelName: 'Web Embed',
|
||||
defaultChannelNameWithAgent: '{agent} · Web Embed',
|
||||
welcomeMessage: 'Welcome message',
|
||||
welcomePlaceholder: 'Hi! How can I help you?',
|
||||
welcomeMessageDesc: 'Shown in the embed chat before the visitor sends their first message; leave blank to hide',
|
||||
showSuggestedQuestions: 'Suggested questions',
|
||||
showSuggestedQuestionsDesc: 'Show starter prompts before the first visitor message, from agent config and linked knowledge bases',
|
||||
originsLabel: 'Allowed origins (one per line, at least one required)',
|
||||
@@ -2329,7 +2333,7 @@ export default {
|
||||
originsRequired: 'At least one allowed origin is required',
|
||||
originsInvalid: 'Invalid origin: {origin}',
|
||||
originsWildcardProd: "Wildcard origin '*' is not allowed in production",
|
||||
originsCount: '{n} allowed origins',
|
||||
originsCount: '{n} origins',
|
||||
originsPlaceholder: 'https://shop.example.com',
|
||||
rateLimitLabel: 'Requests per minute',
|
||||
rateLimitDesc: 'Per visitor IP, max embed API requests per minute; excess requests are temporarily rejected. Default 30.',
|
||||
@@ -2409,7 +2413,13 @@ export default {
|
||||
sectionAppearance: 'Appearance',
|
||||
sectionDeploy: 'Deploy to site',
|
||||
sectionWebhook: 'Event callbacks',
|
||||
deployIntro: 'After saving, follow these two steps to embed chat on your website.',
|
||||
stepChannel: 'Channel info',
|
||||
stepSecurity: 'Security',
|
||||
stepCapabilities: 'Capabilities',
|
||||
stepAppearance: 'Appearance',
|
||||
stepWebhook: 'Webhooks',
|
||||
stepDeploy: 'Deploy',
|
||||
deployIntro: 'Choose an embed style and copy the snippet below into your site. View or rotate the channel key at the bottom when you need credentials.',
|
||||
deployStepToken: 'Channel key',
|
||||
deployStepTokenDesc: 'Long-lived secret (em_…), like an API key. Shown on this page only when created or reset—store it safely.',
|
||||
deployStepEmbed: 'Copy embed code',
|
||||
@@ -5604,6 +5614,7 @@ export default {
|
||||
selectAgentDesc: 'Each integration channel is bound to one agent. Choose the agent to configure.',
|
||||
selectAgentPlaceholder: 'Choose an agent',
|
||||
selectAgentHint: 'Please select an agent first',
|
||||
boundAgent: 'Bound agent',
|
||||
manageChannel: 'Manage channel',
|
||||
goToCenter: 'Open Integrations',
|
||||
imOverview: {
|
||||
|
||||
Reference in New Issue
Block a user