$29 GRAYBYTE WORDPRESS FILE MANAGER $89

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/home/bravrvjk/dantho.rw/wp-content/plugins/extendify/src/HelpCenter/tours/

HOME
Current File : /home/bravrvjk/dantho.rw/wp-content/plugins/extendify/src/HelpCenter/tours//page-creator.js
import { __, isRTL } from '@wordpress/i18n';
import { waitUntilExists } from '@help-center/lib/tour-helpers';
import { hasPageCreatorEnabled } from '@help-center/lib/utils';

export default {
	id: 'page-creator-tour',
	title: __('AI Page Generator', 'extendify-local'),
	settings: {
		allowOverflow: true,
		hideDotsNav: true,
		startFrom: [
			hasPageCreatorEnabled
				? window.extSharedData.adminUrl +
					'post-new.php?post_type=page&ext-page-creator-close=1'
				: window.extSharedData.adminUrl +
					'post-new.php?post_type=page&ext-close=1',
			window.extSharedData.adminUrl + 'post-new.php?post_type=page',
		],
	},
	onStart: async () => {
		// Wait for gutenberg to be ready
		await waitUntilExists('#extendify-page-creator-btn [role="button"]');

		// Close sidebar if open
		document
			.querySelector(`[aria-label="${__('Settings')}"].is-pressed`)
			?.click();
	},
	steps: [
		{
			title: __('AI Page Generator', 'extendify-local'),
			text: __(
				'Press here to get started with your AI Page Generator.',
				'extendify-local',
			),
			attachTo: {
				element: '#extendify-page-creator-btn [role="button"]',
				offset: {
					marginTop: 0,
					marginLeft: isRTL() ? -15 : 15,
				},
				position: {
					x: isRTL() ? 'left' : 'right',
					y: 'top',
				},
				hook: isRTL() ? 'top right' : 'top left',
			},
			events: {
				beforeAttach: async () => {
					await waitUntilExists('#extendify-page-creator-btn [role="button"]');
				},
			},
		},
		{
			title: __('Page description', 'extendify-local'),
			text: __(
				'Write a description of the page you want to create. Be as detailed as you like. We will create a page based on this description.',
				'extendify-local',
			),
			attachTo: {
				element: '#extendify-page-creator-page-description',
				position: {
					x: isRTL() ? 'left' : 'right',
					y: 'top',
				},
				hook: isRTL() ? 'top right' : 'top left',
			},
			options: {
				allowPointerEvents: true,
			},
			events: {
				beforeAttach: async () => {
					// Open the Extendify library panel
					dispatchEvent(new CustomEvent('extendify::open-page-creator'));

					return await waitUntilExists(
						'#extendify-page-creator-page-description',
					);
				},
			},
		},
		{
			title: __('Site description', 'extendify-local'),
			text: __(
				'If needed, update your site description here. We use this to add additional context about your website.',
				'extendify-local',
			),
			attachTo: {
				element: '#extendify-page-creator-site-description',
				offset: {
					marginTop: -15,
					marginLeft: 0,
				},
				position: {
					x: isRTL() ? 'left' : 'right',
					y: 'top',
				},
				hook: isRTL() ? 'bottom left' : 'bottom right',
			},
			events: {
				beforeAttach: async () => {
					await waitUntilExists('#extendify-page-creator-site-description');
				},
			},
		},
		{
			title: __('Generate your page', 'extendify-local'),
			text: __(
				'When ready, press here to generate your page.',
				'extendify-local',
			),
			attachTo: {
				element: '#extendify-page-creator-generate-btn',
				offset: {
					marginTop: -15,
					marginLeft: 0,
				},
				position: {
					x: isRTL() ? 'left' : 'right',
					y: 'top',
				},
				hook: isRTL() ? 'bottom left' : 'bottom right',
			},
			events: {
				beforeAttach: () => {},
			},
			options: {
				hideBackButton: true,
			},
		},
	],
};


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
6 Nov 2025 10.43 AM
bravrvjk / bravrvjk
0755
library-tour.js
3.211 KB
25 Sep 2025 8.59 PM
bravrvjk / bravrvjk
0644
page-creator.js
3.271 KB
25 Sep 2025 8.59 PM
bravrvjk / bravrvjk
0644
page-editor.js
7.244 KB
25 Sep 2025 8.59 PM
bravrvjk / bravrvjk
0644
plugin-install.js
3.041 KB
3 Dec 2024 1.47 AM
bravrvjk / bravrvjk
0644
plugin-management.js
3.061 KB
3 Dec 2024 1.47 AM
bravrvjk / bravrvjk
0644
site-assistant.js
3.829 KB
3 Dec 2024 1.47 AM
bravrvjk / bravrvjk
0644
style-editor.js
8.329 KB
3 Dec 2024 1.47 AM
bravrvjk / bravrvjk
0644
tours.js
1.186 KB
26 Mar 2025 6.03 PM
bravrvjk / bravrvjk
0644
users-screen.js
3.218 KB
3 Dec 2024 1.47 AM
bravrvjk / bravrvjk
0644
welcome.js
8.975 KB
26 Mar 2025 6.03 PM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF