- 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>
- 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>
This commit adds a new REST endpoint for adding dashboards to multiple
collections. The implementation:
1. Creates a new route handler in add_dashboard_to_collections.rs
2. Leverages the existing handler implementation for adding dashboards to collections
3. Includes proper error handling and test skeletons
4. Updates the project PRDs to reflect completion
🤖 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