UNPKG

pulse-dashboard

Version:

A Next.js Dashboard application for real-time monitoring and historical analysis of Playwright test executions, based on playwright-pulse-report. This component provides the UI for visualizing Playwright test results and can be run as a standalone CLI too

23 lines (22 loc) 2.79 kB
module.exports=[4849,a=>{"use strict";a.s(["Toaster",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/ui/toaster.tsx <module evaluation>","Toaster")},42432,a=>{"use strict";a.s(["Toaster",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/ui/toaster.tsx","Toaster")},48450,a=>{"use strict";a.i(4849);var b=a.i(42432);a.n(b)},27572,a=>{"use strict";var b=a.i(7997),c=a.i(48450);function d({children:a}){return(0,b.jsxs)("html",{lang:"en",suppressHydrationWarning:!0,children:[(0,b.jsxs)("head",{children:[(0,b.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,b.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,b.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",rel:"stylesheet"}),(0,b.jsx)("script",{dangerouslySetInnerHTML:{__html:` (function() { function getInitialColorMode() { const persistedColorPreference = window.localStorage.getItem('pulse-theme'); const hasPersistedPreference = typeof persistedColorPreference === 'string'; if (hasPersistedPreference) { return persistedColorPreference; } const mql = window.matchMedia('(prefers-color-scheme: dark)'); const hasMediaQueryPreference = typeof mql.matches === 'boolean'; if (hasMediaQueryPreference) { return mql.matches ? 'dark' : 'light'; } return 'light'; } const colorMode = getInitialColorMode(); if (colorMode === 'dark') { document.documentElement.classList.add('dark'); } })(); `}})]}),(0,b.jsxs)("body",{className:"font-body antialiased",children:[a,(0,b.jsx)(c.Toaster,{})]})]})}a.s(["default",()=>d,"metadata",0,{title:"Pulse Dashboard",description:"Real-time Playwright test execution dashboard",icons:{icon:{url:"https://ocpaxmghzmfbuhxzxzae.supabase.co/storage/v1/object/public/images/pulse-report/playwright_pulse_icon.png",sizes:"48x48",type:"image/x-icon"}}}])}]; //# sourceMappingURL=src_ce5be59b._.js.map