- Updated the restoration message format to use response_messages instead of request_message
- Added proper message structure with both file and text messages in a single response
- Updated integration tests to match the new format
- Set empty request_message as required
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Implemented the ability to restore previous versions of metrics and dashboards through the chat interface. Key changes include:
- Created restore_chat_handler.rs to handle the restoration logic
- Added a new REST endpoint at PUT /chats/{id}/restore
- Updated module exports for the new functionality
- Added comprehensive integration tests
- Updated PRDs with implementation details
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Create migration for metric_files_to_dashboard_files association table
- Add MetricFileToDashboardFile model to database/models.rs
- Implement functions to extract metric IDs from dashboards
- Add logic to maintain associations when dashboards are updated
- Add logic to create associations when dashboards are created
- Create integration test for the feature
- Create PRD for the metric-dashboard association feature
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Integrated delete dashboard endpoint with existing update endpoint:
- Fixed merge conflicts in dashboard project plan
- Combined routes in mod.rs to support GET, PUT, and DELETE endpoints
- Organized test module imports alphabetically