feat(ui): support dask mode #3536
Annotations
5 errors
packages/~/app/layout/src/main.test.tsx#L29
Expected:
"<!DOCTYPE html>
<html
lang="fr"
data-fr-scheme="system"
hx-ext="debug, chunked-transfer, include-vals"
>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="format-detection" content="telephone=no" />
<meta name="theme-color" content="#000091" />
<link
rel="apple-touch-icon"
href="/node_modules/@gouvfr/dsfr/dist/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
href="/node_modules/@gouvfr/dsfr/dist/favicon/favicon.svg"
type="image/svg+xml"
/>
<link
rel="shortcut icon"
href="/node_modules/@gouvfr/dsfr/dist/favicon/favicon.ico"
type="image/x-icon"
/>
<link
rel="manifest"
href="/node_modules/@gouvfr/dsfr/dist/favicon/manifest.webmanifest"
crossorigin="use-credentials"
/>
<!-- -->
<link
rel="stylesheet"
href="/node_modules/animate.css/source/_vars.css"
/>
<!-- -->
<link
rel="stylesheet"
href="/node_modules/@gouvfr/dsfr/dist/dsfr/dsfr.min.css"
/>
<link
rel="stylesheet"
href="/node_modules/@gouvfr/dsfr/dist/utility/utility.min.css"
/>
<!-- -->
<link
rel="stylesheet"
href="/tailwind.css"
/>
<!-- -->
<script
hash="sha256-ZtVO4euNrRnx0KrqoCatLuOIaHv1Z7zi++KgINh8SqM="
nonce="nonce"
type="importmap"
>
{
"imports": {
"@~/app.core/config": "/bundle/config.js",
"lit": "/node_modules/lit/index.js",
"lit/": "/node_modules/lit/"
}
}
</script>
<title>
Hyyyyypertool
</title>
</head>
<body
_="
on every htmx:beforeSend NProgress.start()
on every htmx:afterOnLoad NProgress.done()
on every htmx:afterSettle NProgress.done()
"
class="flex min-h-screen flex-col"
>
</div></div></div>
<footer class="container mx-auto flex flex-row justify-between p-2">
</div>
<a
href="https://github.com/numerique-gouv/hyyypertool/tree/"
rel="noopener noreferrer"
target="_blank"
safe
>
<small>version </small>
</a>
</footer>
</body>
<!-- -->
<script
nonce="nonce"
src="/app/layout/src/_client/nprogress.js"
type="module"
></script>
<link
rel="stylesheet"
href="/node_modules/nprogress/nprogress.css"
/>
<!-- -->
<script
nonce="nonce"
src="/node_modules/htmx.org/dist/htmx.min.js"
type="module"
></script>
<meta
name="htmx-env"
content="{"defaultSettleDelay":0,"globalViewTransitions":true,"historyEnabled":true,"inlineScriptNonce":"nonce"}"
/>
<script
nonce="nonce"
src="/node_modules/htmx.org/dist/ext/include-vals.js"
type="module"
></script>
<script
nonce="nonce"
src="/node_modules/htmx.org/dist/ext/sse.js"
type="module"
></script>
<script
nonce="nonce"
src="/node_modules/htmx.ext...chunked-transfer/dist/index.js"
type="module"
></script>
<!-- -->
<script
nonce="nonce"
src="/node_modules/hyperscript.org/dist/_hyperscript.min.js"
></script>
</html>
"
Received:
"<!DOCTYPE html>
<html
_=
-- from https://github.com/sqwxl/harfang/blob/afb20cbc60c9eb44d2ce0501a7f754afc7395915/app/templates/partials/theme_toggle.html#L59C33-L84C1
def nextTheme()
set currentTheme to
|
packages/~/app/layout/src/root.test.tsx#L34
Expected:
"<!DOCTYPE html>
<html
lang="fr"
data-fr-scheme="system"
hx-ext="debug, chunked-transfer, include-vals"
>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="format-detection" content="telephone=no" />
<meta name="theme-color" content="#000091" />
<link
rel="apple-touch-icon"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/favicon/favicon.svg"
type="image/svg+xml"
/>
<link
rel="shortcut icon"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/favicon/favicon.ico"
type="image/x-icon"
/>
<link
rel="manifest"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/favicon/manifest.webmanifest"
crossorigin="use-credentials"
/>
<!-- -->
<link
rel="stylesheet"
href="/assets/ASSETS_PATH/node_modules/animate.css/source/_vars.css"
/>
<!-- -->
<link
rel="stylesheet"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/dsfr/dsfr.css"
/>
<link
rel="stylesheet"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/utility/utility.min.css"
/>
<!-- -->
<link
rel="stylesheet"
href="/assets/PUBLIC_ASSETS_PATH/public/built/tailwind.css"
/>
<!-- -->
<script
hash="sha256-ZtVO4euNrRnx0KrqoCatLuOIaHv1Z7zi++KgINh8SqM="
nonce="nonce"
type="importmap"
>
{
"imports": {
"@~/app.core/config": "/assets/ASSETS_PATH/bundle/config.js",
"lit": "/assets/PUBLIC_ASSETS_PATH/public/built/node_modules/lit/index.js",
"lit/": "/assets/PUBLIC_ASSETS_PATH/public/built/node_modules/lit/"
}
}
</script>
<title>
Hyyyyypertool
</title>
</head>
<body
_="
on every htmx:beforeSend NProgress.start()
on every htmx:afterOnLoad NProgress.done()
on every htmx:afterSettle NProgress.done()
"
class="flex min-h-screen flex-col"
>
<div class="flex flex-1 flex-col"></div>
<footer class="container mx-auto flex flex-row justify-between p-2">
</div>
<a
href="https://github.com/numerique-gouv/hyyypertool/tree/__VERSION__"
rel="noopener noreferrer"
target="_blank"
safe
>
<small>version __VERSION__</small>
</a>
</footer>
</body>
<!-- -->
<script
nonce="nonce"
src="/assets/PUBLIC_ASSETS_PATH/public/built/app/layout/src/_client/nprogress.js"
type="module"
></script>
<link
rel="stylesheet"
href="/assets/ASSETS_PATH/node_modules/nprogress/nprogress.css"
/>
<!-- -->
<script
nonce="nonce"
src="/assets/ASSETS_PATH/node_modules/htmx.org/dist/htmx.js"
type="module"
></script>
<meta
name="htmx-env"
content="{"defaultSettleDelay":0,"globalViewTransitions":true,"historyEnabled":true,"inlineScriptNonce":"nonce"}"
/>
<script
nonce="nonce"
src="/assets/ASSETS_PATH/node_modules/htmx.org/dist/ext/include-vals.js"
type="module"
></script>
<script
nonce="nonce"
src="/assets/ASSETS_PATH/node_modules/htmx.org/dist/ext/sse.js"
type="module"
></script>
<script
nonce="nonce"
src="/assets/ASSETS_PATH/node_modules/htmx.ext...chunked-transfer/di
|
packages/~/app/layout/src/root.test.tsx#L55
Expected:
"<!DOCTYPE html>
<html
lang="fr"
data-fr-scheme="system"
hx-ext="debug, chunked-transfer, include-vals"
>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="format-detection" content="telephone=no" />
<meta name="theme-color" content="#000091" />
<link
rel="apple-touch-icon"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/favicon/favicon.svg"
type="image/svg+xml"
/>
<link
rel="shortcut icon"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/favicon/favicon.ico"
type="image/x-icon"
/>
<link
rel="manifest"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/favicon/manifest.webmanifest"
crossorigin="use-credentials"
/>
<!-- -->
<link
rel="stylesheet"
href="/assets/ASSETS_PATH/node_modules/animate.css/source/_vars.css"
/>
<!-- -->
<link
rel="stylesheet"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/dsfr/dsfr.css"
/>
<link
rel="stylesheet"
href="/assets/ASSETS_PATH/node_modules/@gouvfr/dsfr/dist/utility/utility.min.css"
/>
<!-- -->
<link
rel="stylesheet"
href="/assets/PUBLIC_ASSETS_PATH/public/built/tailwind.css"
/>
<!-- -->
<script
hash="sha256-ZtVO4euNrRnx0KrqoCatLuOIaHv1Z7zi++KgINh8SqM="
nonce="nonce"
type="importmap"
>
{
"imports": {
"@~/app.core/config": "/assets/ASSETS_PATH/bundle/config.js",
"lit": "/assets/PUBLIC_ASSETS_PATH/public/built/node_modules/lit/index.js",
"lit/": "/assets/PUBLIC_ASSETS_PATH/public/built/node_modules/lit/"
}
}
</script>
<title>
Hyyyyypertool
</title>
</head>
<body
_="
on every htmx:beforeSend NProgress.start()
on every htmx:afterOnLoad NProgress.done()
on every htmx:afterSettle NProgress.done()
"
class="flex min-h-screen flex-col"
>
<div class="flex flex-1 flex-col"></div>
<footer class="container mx-auto flex flex-row justify-between p-2">
</div>
<a
href="https://github.com/numerique-gouv/hyyypertool/tree/__VERSION__"
rel="noopener noreferrer"
target="_blank"
safe
>
<small>version __VERSION__</small>
</a>
</footer>
</body>
<!-- -->
<script
nonce="nonce"
src="/assets/PUBLIC_ASSETS_PATH/public/built/app/layout/src/_client/nprogress.js"
type="module"
></script>
<link
rel="stylesheet"
href="/assets/ASSETS_PATH/node_modules/nprogress/nprogress.css"
/>
<!-- -->
<script
nonce="nonce"
src="/assets/ASSETS_PATH/node_modules/htmx.org/dist/htmx.js"
type="module"
></script>
<meta
name="htmx-env"
content="{"defaultSettleDelay":0,"globalViewTransitions":true,"historyEnabled":true,"inlineScriptNonce":"nonce"}"
/>
<script
nonce="nonce"
src="/assets/ASSETS_PATH/node_modules/htmx.org/dist/ext/include-vals.js"
type="module"
></script>
<script
nonce="nonce"
src="/assets/ASSETS_PATH/node_modules/htmx.org/dist/ext/sse.js"
type="module"
></script>
<script
nonce="nonce"
src="/assets/ASSETS_PATH/node_modules/htmx.ext...chunked-transfer/di
|
packages/~/app/ui/src/scheme/scripts/prefers_color_scheme.test.ts#L20
Expected: "My html"
Received: "<html><head><style> .htmx-indicator{opacity:0} .htmx-request .htmx-indicator{opacity:1; transition: opacity 200ms ease-in;} .htmx-request.htmx-indicator{opacity:1; transition: opacity 200ms ease-in;} </style></head><body>\n <html _=\"\n-- from https://github.com/sqwxl/harfang/blob/afb20cbc60c9eb44d2ce0501a7f754afc7395915/app/templates/partials/theme_toggle.html#L59C33-L84C1\ndef nextTheme()\n set currentTheme to localStorage.theme\n set prefersDark to window.matchMedia(\" prefers-color-scheme:=\"\" dark=\"\" .matches=\"\" if=\"\" prefersdark=\"\" --=\"\" auto=\"\" -=\"\"> light -> dark\n if no currentTheme\n return \"light\"\n else if currentTheme is \"light\"\n return \"dark\"\n else\n return null\n end\n else\n -- auto(light) -> dark -> light\n if no currentTheme\n return \"dark\"\n else if currentTheme is \"dark\"\n return \"light\"\n else\n return null\n end\n end\nend\n\non load\n set theme to nextTheme()\n if no theme\n call localStorage.removeItem(\"theme\")\n else\n set localStorage.theme to theme\n end\n\" ></html>\n </body></html>"
at /home/runner/work/hyyypertool/hyyypertool/packages/~/app/ui/src/scheme/scripts/prefers_color_scheme.test.ts:20:26
|
|
The logs for this run have expired and are no longer available.
Loading