Repository navigation
SA1: the admin dashboard on Workers - #2
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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