feat: sync-tracking dashboard at /dash - #24
Merged
Merged
Conversation
- server/routes/dash-api/[...].ts: nitro proxy to backend /api/dash/* - NUXT_DASH_API_BASE_URL private runtimeConfig (default localhost:8080) - routeRules: /dash and /dash-api/** excluded from robots/sitemap, ssr:false - pages/dash.vue: status cards, runs table, per-run group breakdown - polls every 5s while running, 60s idle - UiBadge variants for all statuses - without-navbar layout
… client-only context
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.
Summary
Adds a sync-tracking dashboard at
/dashfor monitoring schedule update status.Changes
server/routes/dash-api/[...].ts— proxies/dash-api/*→ backend/api/dash/*, injectsx-dash-keyheaderserver/middleware/dash-auth.ts— protects/dash*with timing-safe credential check, fails closed if unconfiguredapp/pages/dash.vue— adaptive polling (5s running / 60s idle), 4 summary cards, runs table, per-run group drill-down, failures feed, DB table sizes panelapp/layouts/dash.vue— full-width (no container constraint)/dash(ssr:false, noindex) and/dash-api/**, private runtimeConfig fordashApiBaseUrl,dashApiKey,dashUser,dashPasswordNUXT_DASH_API_BASE_URL,NUXT_DASH_API_KEY,NUXT_DASH_USER,NUXT_DASH_PASSWORDAuth
Browser Basic Auth prompt (shared credential). Middleware injects the
x-dash-keyheader into backend proxy calls. Fails closed with 503 on/dash*if env vars unset — does not affect public routes.Required env vars (Coolify)