You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(dashboard): cleanup widget commands to match codebase patterns
- Extract shared buildWidgetFromFlags() into resolve.ts (DRY create + add)
- Add return { hint } with dashboard URL to all dashboard commands
- Move enum validation before API calls in widget add (fail fast)
- Use proper DashboardDetail/DashboardWidget types in widget formatters
- Wrap getDashboard in withProgress for loading spinner in view command
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments