feat: Dashboard debug/diagnostic mode for data chain troubleshooting#842
Closed
feat: Dashboard debug/diagnostic mode for data chain troubleshooting#842
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…stics - Add 'dashboard' to DebugCategory in core debug utils - Add debug?: boolean field to DashboardSchema type - Add DashboardDebugOverlay component with collapsible diagnostics panel - Integrate debug mode into DashboardRenderer and DashboardGridLayout - Log per-widget data chain info (provider, objectName, aggregate) via debugLog - Add 7 focused tests for debug mode behavior Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
…dget debug infos - Replace try-catch useSchemaContext() with useContext(SchemaRendererContext) to follow Rules of Hooks - Pre-compute widget debug info list before rendering overlay instead of mutating ref during render Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Debug and test data connection for dashboard issues
feat: Dashboard debug/diagnostic mode for data chain troubleshooting
Feb 24, 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.
Dashboard widgets render blank with no visibility into why — no error, no loading state, just empty. This adds a
debugmode that surfaces the full data chain state per widget so broken injection points are immediately obvious.Changes
@object-ui/types—debug?: booleanonDashboardSchema@object-ui/core—'dashboard'added toDebugCategory@object-ui/plugin-dashboardDashboardDebugOverlay— collapsible panel at dashboard top showing per-widget: data presence,provider:objectstatus,objectName, aggregate config. Green/red color-coded.DashboardRenderer+DashboardGridLayout— readsschema.debugorSchemaRendererContext.debug, pre-computes widget diagnostics, renders overlay, emitsdebugLog('dashboard', ...)Usage
Tests
7 new tests covering overlay render/toggle, per-widget diagnostics, provider detection, and
debugLogemission. All 148 existing dashboard tests pass.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.