Skip to content

SA1: the admin dashboard on Workers - #2

Merged
pullely merged 1 commit into
mainfrom
orun/SA-2-the-admin-dashboard-on-workers
Oct 28, 2026
Merged

pullely merged 1 commit into
mainfrom
orun/SA-2-the-admin-dashboard-on-workers

Conversation

@pullely

@pullely pullely commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

arhamkhnz/next-shadcn-admin-dashboard (Studio Admin, main 89f28da, MIT) in apps/web: Next.js 16.3.8 (upstream's ^16.4.3 fails every request under @opennextjs/cloudflare 1.20.11) with React 19, the React Compiler, Tailwind CSS 4 and shadcn/ui, its other dependencies at upstream's lockfile versions, built by next build --webpack, then @opennextjs/cloudflare (standalone output, the static-assets incremental cache, populateCache local) into one Worker with Static Assets. The landing page, sitemap and robots are pre-rendered; the dashboards read the layout cookies and render in the Worker. webpack, not Turbopack: Turbopack's per-route server chunks made the Worker 3.32 MiB gzipped, over Workers Free's 3 MiB; it is 2.25 MiB. The 17 font families are self-hosted — next/font/local over each family's @fontsource-variable latin variable font and geist's files, with upstream's CSS variables — because next/font/google fetches Google Fonts at build, which fails on GitHub's runners. The social card is one static public/opengraph-image.png named in the metadata (the file convention compiled two copies of it into the Worker). The site's name is one seam (SITE_NAME in src/config/site.ts, read by APP_CONFIG: the title, the landing header, the copyright); SOURCE_URL is the landing's GitHub link and the repository its star count reads, fetched once at build (force-cache: the cache is read-only). The origin is NEXT_PUBLIC_SITE_URL per environment, robots.txt is a static route naming the environment's sitemap, and the author's Google Analytics tag, author metadata and vercel.json redirect are gone. The auth screens stay the template's design-only screens and the data its mock data. /api/health is the deploy's smoke with the landing page and a dashboard. tests/web: identity and the seam, the origin, the social card, robots and sitemap, health, the self-hosted fonts. typecheck, lint (Biome), test and build are green; wrangler dev serves every route.

🤖 Generated with Claude Code

arhamkhnz/next-shadcn-admin-dashboard (Studio Admin, main 89f28da, MIT) in apps/web: Next.js 16.3.8 (upstream's ^16.4.3 fails every request under @opennextjs/cloudflare 1.20.11) with React 19, the React Compiler, Tailwind CSS 4 and shadcn/ui, its other dependencies at upstream's lockfile versions, built by next build --webpack, then @opennextjs/cloudflare (standalone output, the static-assets incremental cache, populateCache local) into one Worker with Static Assets. The landing page, sitemap and robots are pre-rendered; the dashboards read the layout cookies and render in the Worker. webpack, not Turbopack: Turbopack's per-route server chunks made the Worker 3.32 MiB gzipped, over Workers Free's 3 MiB; it is 2.25 MiB. The 17 font families are self-hosted — next/font/local over each family's @fontsource-variable latin variable font and geist's files, with upstream's CSS variables — because next/font/google fetches Google Fonts at build, which fails on GitHub's runners. The social card is one static public/opengraph-image.png named in the metadata (the file convention compiled two copies of it into the Worker). The site's name is one seam (SITE_NAME in src/config/site.ts, read by APP_CONFIG: the title, the landing header, the copyright); SOURCE_URL is the landing's GitHub link and the repository its star count reads, fetched once at build (force-cache: the cache is read-only). The origin is NEXT_PUBLIC_SITE_URL per environment, robots.txt is a static route naming the environment's sitemap, and the author's Google Analytics tag, author metadata and vercel.json redirect are gone. The auth screens stay the template's design-only screens and the data its mock data. /api/health is the deploy's smoke with the landing page and a dashboard. tests/web: identity and the seam, the origin, the social card, robots and sitemap, health, the self-hosted fonts. typecheck, lint (Biome), test and build are green; wrangler dev serves every route.

Co-Authored-By: Claude <noreply@anthropic.com>
Orun-Task: SA-2
@pullely
pullely merged commit 3ac7467 into main Oct 28, 2026
2 checks passed
@pullely
pullely deleted the orun/SA-2-the-admin-dashboard-on-workers branch October 28, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants