Skip to content

Conversation

@gugu
Copy link
Contributor

@gugu gugu commented Jan 22, 2026

  • Add chart.js and ng2-charts dependencies
  • Create saved-query models and SavedQueriesService
  • Add charts-list component with search and delete functionality
  • Add chart-edit component with Monaco SQL editor and chart preview
  • Add chart-preview component using Chart.js (bar, line, pie, doughnut, polar area)
  • Add chart-delete-dialog component
  • Add charts tab to navigation for all connections
  • Add routes for /charts/:connection-id, /new, and /:query-id

- Add chart.js and ng2-charts dependencies
- Create saved-query models and SavedQueriesService
- Add charts-list component with search and delete functionality
- Add chart-edit component with Monaco SQL editor and chart preview
- Add chart-preview component using Chart.js (bar, line, pie, doughnut, polar area)
- Add chart-delete-dialog component
- Add charts tab to navigation for all connections
- Add routes for /charts/:connection-id, /new, and /:query-id

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gugu gugu requested review from Copilot and lyubov-voloshko and removed request for Copilot January 22, 2026 13:09
Copilot AI review requested due to automatic review settings January 22, 2026 14:08
lyubov-voloshko and others added 2 commits January 22, 2026 17:20
Changed create/edit chart buttons to anchor tags with routerLink for
better accessibility and navigation behavior. Moved Charts to be the
second navbar item after Tables.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

gugu and others added 4 commits January 22, 2026 19:45
- Add rxResource to SavedQueriesService for reactive data fetching
- Add savedQueries, savedQueriesLoading signals and setActiveConnection/refreshSavedQueries methods
- Update ChartsListComponent to consume service signals instead of local state
- Fix Monaco editor cursor position issue by using signal that only updates on load
- Auto-execute test query when editing existing chart to show preview
- Replace all `as any` type assertions in chart test files with proper typed interfaces
- Use Partial<ServiceType> for mock services and component testable types

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add Angular Signals as core technology
- Update service example to show rxResource pattern
- Update component structure to show signal-based state
- Update test structure to show proper typing (no `as any`)
- Add signals requirement section in important notes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants