Commit Graph

76 Commits

Author SHA1 Message Date
dal a2273a81b5
bulk on favorite reqs 2025-03-28 13:47:37 -06:00
dal df341a0ac5
Merge branch 'evals' into api_search_rest_endpoint 2025-03-25 14:31:07 -06:00
dal 22322f0711
search functionality 2025-03-25 14:31:02 -06:00
dal 3c9c014ede
Improve chat restoration message format
- 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>
2025-03-25 12:32:25 -06:00
dal b3dc70bc21
Add chat asset restoration functionality
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>
2025-03-25 12:27:46 -06:00
dal 87133bda96
merging put_organization_endpoint 2025-03-25 11:51:02 -06:00
dal ae594af0ad
added the put organization endpoint 2025-03-25 11:50:53 -06:00
dal 49990d847f
merging dashboard_restore 2025-03-25 11:30:58 -06:00
dal 05a8b4b2c9
add in dashboard restore 2025-03-25 11:30:53 -06:00
dal feb55bef39
merging metric_restore 2025-03-25 11:30:28 -06:00
dal 168972be6d
metric restore to version 2025-03-25 11:28:44 -06:00
dal 30a06ad60f
merging api_post_chat_rest_endpoint 2025-03-25 11:16:21 -06:00
dal 99c8f11548
optional prompt on rest chat post endpoint 2025-03-25 11:16:13 -06:00
dal 16911b5fd3
optional prompt with asset type and id on websocket 2025-03-25 11:14:01 -06:00
dal c19c824e47
data source endpoints 2025-03-24 13:54:23 -06:00
dal edb9d2090a
endoints and handlers built moving on to testing 2025-03-24 13:25:35 -06:00
dal 81228d2509
merging update_data_source_endpoint 2025-03-21 12:16:58 -06:00
dal ee830562cf
update data source stubbed, but will change 2025-03-21 12:10:57 -06:00
dal 653b1c3381
get data source endpoint 2025-03-21 11:37:28 -06:00
dal 365e8429d2
add the update chat rest and handler 2025-03-20 16:13:02 -06:00
dal 97393aed50
merging migrate_delete_metrics_to_bulk 2025-03-20 15:40:35 -06:00
dal 139ef04003
refactor delete metrics 2025-03-20 15:36:12 -06:00
dal b9a0dcfb7a
fix collections delete 2025-03-20 15:08:35 -06:00
dal f5e018ac08
create list data sources endpoint 2025-03-20 12:03:14 -06:00
dal 3d157f9f59
Implement metric-dashboard association
- 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>
2025-03-20 11:17:35 -06:00
dal 160fa5fa6f
create assets to get collection 2025-03-20 09:46:49 -06:00
dal a4e76db49c
merging api_add_assets_to_collection.md 2025-03-20 00:14:43 -06:00
dal 3563b41f53
create api add assets to collection 2025-03-20 00:14:02 -06:00
dal 5f3f0174f1
create api remove assets from collection 2025-03-20 00:10:47 -06:00
dal 4156129d13
create api remove dashboards from colelction 2025-03-19 23:49:38 -06:00
dal 469799ea23
create dashboards to collections 2025-03-19 23:34:32 -06:00
dal 4722ce7a08
api remove metrics from collection 2025-03-19 22:51:37 -06:00
dal cde1b4e960
delete dashboard with other dashboard tooling 2025-03-19 22:11:20 -06:00
dal dcf1227ad6
Merge api_dashboard_create_endpoint, resolving conflicts 2025-03-19 21:32:20 -06:00
dal 5db67c49ee
create dashboard endpoint 2025-03-19 21:31:06 -06:00
dal 956da48103
Merge api_dashboard_delete_endpoint branch, resolving conflicts
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
2025-03-19 21:30:20 -06:00
dal bc51c98bb4
create api dashboard delete 2025-03-19 21:04:14 -06:00
dal f5263c7a76
api dashboard update endpoint 2025-03-19 20:49:04 -06:00
dal 1c9d3b6eed
ok added in individual permissions to the dashboards, collections, chats 2025-03-19 20:49:04 -06:00
dal 67981732e1
merging update_sharing_body_refactor 2025-03-19 17:06:13 -06:00
dal 0e6cf53606
add same individual permissions logic on dashboards 2025-03-19 17:03:28 -06:00
dal 65840319fa
ok get metric has permissions on it now 2025-03-19 16:56:54 -06:00
dal b1a01c5d5e
refactored 2025-03-19 16:54:08 -06:00
dal dc3c3de2ae
create api chats sharing update 2025-03-19 16:01:30 -06:00
dal f95f67ac47
merging api_collections_update 2025-03-19 15:41:01 -06:00
dal e551d86e45
create api collections update 2025-03-19 15:40:16 -06:00
dal 1c2808c5ad
merging api_dashboards_update 2025-03-19 15:36:05 -06:00
dal dc00381bec
created api dashboards sharing update 2025-03-19 15:35:48 -06:00
dal b4b2e5d6b0
fix merge conflicts and push 2025-03-19 15:31:20 -06:00
dal 1236ea04c3
Implemented chat sharing create endpoint
- Added handler for creating chat sharing permissions
- Created REST endpoint for POST /chats/:id/sharing
- Added fixtures and test setup for chats
- Created integration tests for the sharing endpoint
- Updated PRD to mark implementation as complete

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-19 15:28:34 -06:00