PluginProbe
Extendify / 3.1.6
Extendify v3.1.6
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / Assist / tasks / help-center-ai.js

help-center-ai.js in Extendify 3.1.6, at src/Assist/tasks/help-center-ai.js

32 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { HelpCenterAIMarkup } from '@assist/tasks/images/HelpCenterAIMarkup';
2 import { __ } from '@wordpress/i18n';
3
4 export default {
5 slug: 'help-center-ai',
6 title: __('AI-Powered Help Center', 'extendify-local'),
7 sidebarTitle: __('Experience the AI-Powered Help Center', 'extendify-local'),
8 description: __(
9 'Get instant support with Co-Pilot AI, explore our Knowledge Base, or take guided tours to make the most of our tools.',
10 'extendify-local',
11 ),
12 buttonLabels: {
13 completed: __('Revisit', 'extendify-local'),
14 notCompleted: __('Explore Help Center', 'extendify-local'),
15 },
16 type: 'html-text-button',
17 event: new CustomEvent('extendify-hc:open', { detail: { page: 'ai-chat' } }),
18 dependencies: { plugins: [] },
19 show: () =>
20 !!window.extSharedData?.showChat &&
21 !(
22 !!window.extSharedData?.launchCompletedAt &&
23 !!window.extSharedData?.showAIAgents
24 ),
25 htmlBefore: () => (
26 <HelpCenterAIMarkup
27 className="border-gray-300 pointer-events-none relative hidden h-full min-h-56 w-full overflow-hidden rounded-t-lg border bg-gray-100 pt-5 lg:block"
28 aria-hidden="true"
29 />
30 ),
31 };
32