Copy the Chatwoot (v4.14.0) frontend runnable subset into frontend/ for customization: - app/javascript/ (Vue SPA: dashboard, widget, sdk, portal, superadmin) - app/views/ (ERB templates for vite-plugin-ruby entrypoint resolution) - app/helpers/, app/assets/ (Rails view helpers, static assets) - enterprise/ (Enterprise edition frontend overlay) - config/vite.json, vite.config.ts, bin/vite (Vite-Rails toolchain) - package.json, pnpm-lock.yaml, tailwind/postcss/eslint configs - Gemfile, Gemfile.lock (vite_rails gem for bin/vite binstub) Excluded Rails backend: controllers, models, services, jobs, mailers, policies, db, lib, spec, public, node_modules. Update references to the new frontend location: - .gitignore: exclude frontend build artifacts (node_modules, tmp, packs), keep frontend/bin/ and frontend/vendor/ via negation - backend/scripts/parity_frontend_smoke.sh: CHATWOOT_DIR default reference/chatwoot -> ../frontend - backend/scripts/parity_frontend_browser_smoke.mjs: same default update - AGENTS.md: add frontend section with Rails/Vite coupling notes - README: architecture tree includes frontend/
89 lines
2.5 KiB
YAML
89 lines
2.5 KiB
YAML
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
description: The name of the inbox
|
|
example: 'Support'
|
|
avatar:
|
|
type: string
|
|
format: binary
|
|
description: Image file for avatar
|
|
greeting_enabled:
|
|
type: boolean
|
|
description: Enable greeting message
|
|
example: true
|
|
greeting_message:
|
|
type: string
|
|
description: Greeting message to be displayed on the widget
|
|
example: Hello, how can I help you?
|
|
enable_email_collect:
|
|
type: boolean
|
|
description: Enable email collection
|
|
example: true
|
|
csat_survey_enabled:
|
|
type: boolean
|
|
description: Enable CSAT survey
|
|
example: true
|
|
enable_auto_assignment:
|
|
type: boolean
|
|
description: Enable Auto Assignment
|
|
example: true
|
|
working_hours_enabled:
|
|
type: boolean
|
|
description: Enable working hours
|
|
example: true
|
|
out_of_office_message:
|
|
type: string
|
|
description: Out of office message to be displayed on the widget
|
|
example: We are currently out of office. Please leave a message and we will get back to you.
|
|
timezone:
|
|
type: string
|
|
description: Timezone of the inbox
|
|
example: 'America/New_York'
|
|
allow_messages_after_resolved:
|
|
type: boolean
|
|
description: Allow messages after conversation is resolved
|
|
example: true
|
|
lock_to_single_conversation:
|
|
type: boolean
|
|
description: Lock to single conversation
|
|
example: true
|
|
portal_id:
|
|
type: integer
|
|
description: Id of the help center portal to attach to the inbox
|
|
example: 1
|
|
sender_name_type:
|
|
type: string
|
|
description: Sender name type for the inbox
|
|
enum: ['friendly', 'professional']
|
|
example: 'friendly'
|
|
business_name:
|
|
type: string
|
|
description: Business name for the inbox
|
|
example: 'My Business'
|
|
channel:
|
|
type: object
|
|
properties:
|
|
type:
|
|
type: string
|
|
description: Type of the channel
|
|
enum:
|
|
['web_widget', 'api', 'email', 'line', 'telegram', 'whatsapp', 'sms']
|
|
example: web_widget
|
|
website_url:
|
|
type: string
|
|
description: URL at which the widget will be loaded
|
|
example: 'https://example.com'
|
|
welcome_title:
|
|
type: string
|
|
description: Welcome title to be displayed on the widget
|
|
example: 'Welcome to our support'
|
|
welcome_tagline:
|
|
type: string
|
|
description: Welcome tagline to be displayed on the widget
|
|
example: 'We are here to help you'
|
|
widget_color:
|
|
type: string
|
|
description: A Hex-color string used to customize the widget
|
|
example: '#FF5733'
|