import { WebUiLogo } from './WebUiLogo'; import { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/solid'; import Intro from './step/Intro'; import ConnectAlert from './ConnectAlert'; import User from './panel/User'; import { Wordmark } from './Wordmark'; import { WeSConnectState } from '../hooks/useWe360Connect'; interface GuestArgs { /** The connect hook's state — never a settings tab */ connectState: WeSConnectState; registrationEmail?: string; testMode?: boolean; error?: string; /** Start (or restart) the browser connect flow */ onConnect: () => void; /** Enable sentry on an already-connected site */ onActivate: () => void; } /** * The pre-connection window: intro, connect, and the "connected but sentry is * not enabled" state. * * @param root0 * @param root0.connectState * @param root0.registrationEmail * @param root0.testMode * @param root0.error * @param root0.onConnect * @param root0.onActivate */ export default function WindowGuest( { connectState, registrationEmail, testMode, error, onConnect, onActivate, }: GuestArgs ) { return (
The Web-Engine cloud service is connected, however sentry isn’t enabled.
To stop using Sentry on this site, deactivate or uninstall this plugin from the Plugins page — it tells the cloud on its way out.
> ) } { 'loading' === connectState && (Loading.
) }