feat(dashboard): scaffold apps/dashboard with Vite + Solid + UnoCSS#26
Merged
Conversation
Sets up the build pipeline and a placeholder mount; pages port in PR #27. Stack: - Vite 6 + vite-plugin-solid (dev port 5280, /api proxy to 4280 for the existing 'vzn dashboard' server) - UnoCSS with presetUno + presetIcons + transformerVariantGroup - Dark-by-default theme; system fonts (presetWebFonts dropped: it fetches fonts.bunny.net at build time which breaks hermetic CI) - src/format.ts (bytes / duration / relative-time) + tests, both to anchor the apps/*/src/ CI glob and to be reused by page components in PR #27
This was referenced May 12, 2026
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.
PR 7/10 of the dashboard track. Sets up the build pipeline and a
placeholder mount so subsequent PRs can land Solid components against
a working app shell.
Stack
vite-plugin-solid— dev server on:5280, proxies/api/*to127.0.0.1:4280(the legacyvzn dashboardserver)so the new app can develop against real data immediately.
presetUno(Tailwind-compatible utilities),presetIcons(icons-on-demand via<i class="i-…">),transformerVariantGroup(hover:(text-fg bg-bg-muted)syntax).@unocss/preset-web-fontsfetches fromfonts.bunny.netat build time, which would break hermetic CI.System font stack only.
bg,border,fg,accent,ok/warn/err) so PR feat(dashboard): port Overview/Cache/Tasks/Runs pages to Solid #27's componentscan use stable class names regardless of palette tweaks.
Files
apps/dashboard/dist/is covered by the rootdistgitignore entry.What this PR does NOT do
Run-detail with flamegraph).
vzn dashboardserver orsrc/dashboard-ui/. Theold static UI keeps serving as-is until PR feat(dashboard): serve apps/dashboard/dist; remove legacy dashboard-ui/ #28 wires the built
Solid bundle in and removes the legacy files.
Test plan
bun installresolves cleanlybun x vite buildsucceeds offline (no third-party fetches)bun run formatcleanbun run lintclean (oxlint + tsgolint)bun test packages/*/src/ apps/*/src/— 268 pass, 0 failGenerated by Claude Code