The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Accounts 1 fixes: sign-in card semantics, the 390 px check names redirects
Claude10f2a03e1470
diff --git a/src/components/login-form.tsx b/src/components/login-form.tsxindex a4fc86ad..57e24567 100644--- a/src/components/login-form.tsx+++ b/src/components/login-form.tsx@@ -65,8 +65,11 @@ export function LoginForm({ installName }: { installName: string }) {<buttontype="button"onClick={() => setShown((s) => !s)}+ // One fixed name with a pressed state: "Show password, toggle button, pressed" (a swapping name would+ // announce two states at once).aria-pressed={shown}- aria-label={shown ? "Hide password" : "Show password"}+ aria-label="Show password"+ aria-controls={`${id}-password`}className="absolute inset-y-0 right-0 grid w-11 place-items-center rounded-r-md text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{shown ? <EyeOff className="size-4" /> : <Eye className="size-4" />}@@ -80,14 +83,12 @@ export function LoginForm({ installName }: { installName: string }) {<Button type="submit" className="mt-4 h-11 w-full" disabled={!password || busy}>{busy && <Loader2 className="animate-spin" />} Sign in</Button>- <button type="button" onClick={() => setForgot((f) => !f)} aria-expanded={forgot} className="mt-4 text-[13px] text-muted-foreground underline-offset-4 hover:text-foreground hover:underline">+ <button type="button" onClick={() => setForgot((f) => !f)} aria-expanded={forgot} aria-controls={`${id}-forgot`} className="mt-4 text-[13px] text-muted-foreground underline-offset-4 hover:text-foreground hover:underline">Forgot password?</button>- {forgot && (- <p className="mt-2 text-[13px] leading-relaxed text-muted-foreground">- On the computer where Fuobe runs, start it again with <code className="rounded bg-muted px-1 py-0.5 font-mono text-[12px] text-foreground">FUOBE_PASSWORD</code> set to a new password. That password works right away, and every browser signs in again.- </p>- )}+ <p id={`${id}-forgot`} hidden={!forgot} className="mt-2 text-[13px] leading-relaxed text-muted-foreground">+ On the computer where Fuobe runs, start it again with <code className="rounded bg-muted px-1 py-0.5 font-mono text-[12px] text-foreground">FUOBE_PASSWORD</code> set to a new password. That password works right away, and every browser signs in again.+ </p></form>);}diff --git a/tests/e2e/no-horizontal-scroll.mjs b/tests/e2e/no-horizontal-scroll.mjsindex 22fc5a18..ea7cd0fa 100644--- a/tests/e2e/no-horizontal-scroll.mjs+++ b/tests/e2e/no-horizontal-scroll.mjs@@ -10,6 +10,9 @@// dynamic route without a sample is visited with "does-not-exist" for each segment, and named. For each route it// asserts document.documentElement.scrollWidth === clientWidth once the page has rendered, and names// the widest elements when it isn't. Pages that don't load are reported apart from layout failures.+// A route that redirects is measured where it lands and named with that page (`/login → /`), so a page that was+// never shown isn't counted as checked: in Just me (demo mode) /login goes to /, and the sign-in card is only+// measured on a server with a password.import { launch, openRoute, PHONE, post, root } from "./_browser.mjs";import { dynamicSamples, querySamples, studioRoutes } from "./_routes.mjs";@@ -73,6 +76,7 @@ const routes = only ?? (await discoverRoutes());const browser = await launch();const wide = [];const broken = [];+const redirected = new Map();for (const scheme of schemes) {console.log(`\n${scheme} mode, 390 × 844`);const ctx = await browser.newContext({ ...PHONE, colorScheme: scheme });@@ -86,6 +90,9 @@ for (const scheme of schemes) {await page.close();continue;}+ const landed = new URL(page.url());+ const shown = landed.pathname === new URL(app + route).pathname ? route : `${route} → ${landed.pathname}`;+ if (shown !== route) redirected.set(route, landed.pathname);try {const r = await page.evaluate(() => {const W = document.documentElement.clientWidth;@@ -110,7 +117,7 @@ for (const scheme of schemes) {return { scrollWidth: document.documentElement.scrollWidth, clientWidth: W, culprits };});const ok = r.scrollWidth === r.clientWidth;- console.log(`${ok ? "ok " : "WIDE"} ${route.padEnd(36)} ${r.scrollWidth}/${r.clientWidth}`);+ console.log(`${ok ? "ok " : "WIDE"} ${shown.padEnd(36)} ${r.scrollWidth}/${r.clientWidth}`);if (!ok) {for (const c of r.culprits) console.log(` ${c}`);wide.push(`${route} (${scheme})`);@@ -131,5 +138,6 @@ const checks = routes.length * schemes.length;console.log("");if (wide.length) console.log(`${wide.length} of ${checks} pages scroll sideways at 390 px: ${wide.join(", ")}`);if (broken.length) console.log(`${broken.length} of ${checks} pages didn't load: ${broken.join(", ")}`);+if (redirected.size) console.log(`${redirected.size} redirected, measured where they landed (not their own page): ${[...redirected].map(([a, b]) => `${a} → ${b}`).join(", ")}`);if (!wide.length && !broken.length) console.log(`All ${routes.length} routes fit 390 px (${schemes.join(" and ")}).`);process.exit(wide.length || broken.length ? 1 : 0);