From b43d62a2c8700b13ea506f922d3cb2a4fc6f86ec Mon Sep 17 00:00:00 2001 From: Jeffrey Johnson Date: Mon, 19 Oct 2026 00:22:51 -0700 Subject: [PATCH 1/2] feat: show one taco while returning to a board --- src/pages/RedirectPage.tsx | 5 ++++- src/pages/Shell.tsx | 12 ++++++++++-- tests/dist.test.js | 12 +++++++++++- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/pages/RedirectPage.tsx b/src/pages/RedirectPage.tsx index 65105c1..024ab96 100644 --- a/src/pages/RedirectPage.tsx +++ b/src/pages/RedirectPage.tsx @@ -97,7 +97,10 @@ export function RedirectPage() { const showsBoardsLink = view.action !== "confirm" && view.action !== "forward"; return ( - Boards this browser remembers : null}> + Boards this browser remembers : null} + > {/* One heading element for every view, so the focus the effect moves to it survives the switch from the prerendered "forward" view. */} diff --git a/src/pages/Shell.tsx b/src/pages/Shell.tsx index a6a439d..986ecd6 100644 --- a/src/pages/Shell.tsx +++ b/src/pages/Shell.tsx @@ -9,12 +9,20 @@ import type { ReactNode, Ref } from "react"; const README_URL = "https://github.com/Fiestaboard/auth#readme"; -export function Shell({ children, links }: { children: ReactNode; links?: ReactNode }) { +export function Shell({ + children, + links, + showBrandIcon = true, +}: { + children: ReactNode; + links?: ReactNode; + showBrandIcon?: boolean; +}) { return (
- + {showBrandIcon && } {children} diff --git a/tests/dist.test.js b/tests/dist.test.js index 3187fc9..a8ef75c 100644 --- a/tests/dist.test.js +++ b/tests/dist.test.js @@ -56,7 +56,6 @@ for (const page of PAGES) { const urls = [ ...attributes(html, "script", "src"), ...attributes(html, "link", "href"), - ...attributes(html, "img", "src"), ]; assert.ok(urls.length > 0); for (const url of urls) { @@ -65,6 +64,17 @@ for (const page of PAGES) { } }); + test(`${page} loads images from this site or embeds the loading artwork`, () => { + for (const url of attributes(html, "img", "src")) { + if (url.startsWith("data:")) { + assert.match(url, /^data:image\/(png|webp);base64,[A-Za-z0-9+/]+={0,2}$/); + } else { + assert.doesNotMatch(url, /^([a-z][a-z0-9+.-]*:|\/)/i, "image URL must be relative"); + assert.ok(existsSync(resolve(dist, dirname(page), url)), `${url} does not exist in dist`); + } + } + }); + test(`${page} is prerendered`, () => { assert.doesNotMatch(html, //); assert.match(html, /
Date: Fri, 23 Oct 2026 19:31:05 -0700 Subject: [PATCH 2/2] chore(deps): adopt published FiestaUI 8.13.1 taco loader --- package-lock.json | 25 +++++++++++++++++++++---- package.json | 2 +- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index bddb31d..a39c761 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "name": "fiestaboard-auth", "license": "MIT", "dependencies": { - "@fiestaboard/ui": "7.0.0", + "@fiestaboard/ui": "8.13.1", "lucide-react": "1.49.0", "react": "19.3.0", "react-dom": "19.3.0" @@ -93,9 +93,9 @@ } }, "node_modules/@fiestaboard/ui": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@fiestaboard/ui/-/ui-7.0.0.tgz", - "integrity": "sha512-C/eGbM+GO7U0dEbb1D+bCPFmtKXLRJFLptvcJ1oPf6wVut0d/Sd7a/zBH8Re4CK5lM0F/sb+QUPptNNbHylbmQ==", + "version": "8.13.1", + "resolved": "https://registry.npmjs.org/@fiestaboard/ui/-/ui-8.13.1.tgz", + "integrity": "sha512-x+Bcltu4ym76H2HQ+UhwHHcmtEfBoj0VQfGCHhWBtvTTWM31Ax8S/nY7I067PhiB7jzf4IJ0E0nyhv7Q1fnaig==", "license": "MIT", "dependencies": { "@base-ui/react": "^1.6.0", @@ -103,6 +103,7 @@ "@fontsource-variable/spline-sans-mono": "^5.3.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", + "sonner": "^2.0.8", "tailwind-merge": "^3.5.0", "tw-animate-css": "^1.4.0" }, @@ -1766,6 +1767,22 @@ "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", "license": "MIT" }, + "node_modules/sonner": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/sonner/-/sonner-2.0.8.tgz", + "integrity": "sha512-UM/ByIoFra8yzV75n1o0Puu0bw5U/9UNnDacrJNspekBewIfsQ3D6ez1nvlWpt7aTsO6rujQtifBpycwIivqlg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "^18.0.0 || ^19.0.0", + "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/source-map-js": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", diff --git a/package.json b/package.json index 3d368ab..be7734b 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test:dist": "node --test tests/dist.test.js" }, "dependencies": { - "@fiestaboard/ui": "7.0.0", + "@fiestaboard/ui": "8.13.1", "lucide-react": "1.49.0", "react": "19.3.0", "react-dom": "19.3.0"