Skip to content

Commit 8d39cc1

Browse files
Raman Guptaraman325
authored andcommitted
Add diagnostic logging for dashboard UI troubleshooting
Enhance error reporting and debugging capabilities: **View Strategy (view-strategy.ts):** - Add console.error logging with detailed error information - Display error message and stack trace in UI markdown card - Direct users to browser console (F12) for full details - Helps diagnose config loading failures **Generate View (generate-view.ts):** - Log view generation start with config details (debug level) - Warn when pinActiveEntity is missing for a slot - Warn when no main entities (name, PIN, etc.) found for slot - Debug log when codeEventEntity missing (expected if no events) **Benefits:** - Easier troubleshooting for users experiencing UI issues - Better visibility into what entities are missing - Console logs help maintainers diagnose reported problems - More informative error messages guide users to solutions These logs will help diagnose: - Entity creation timing issues (#358, #289) - Config entry loading problems - Missing/incomplete entity data - Dashboard loading failures
1 parent 38aeac0 commit 8d39cc1

File tree

3 files changed

+43
-2
lines changed

3 files changed

+43
-2
lines changed

0 commit comments

Comments
 (0)