Skip to content

feat(DATAGO-123192): Add feature to delete all chat history at once#901

Draft
amir-ghasemi wants to merge 1 commit intomainfrom
amir/delete-chats
Draft

feat(DATAGO-123192): Add feature to delete all chat history at once#901
amir-ghasemi wants to merge 1 commit intomainfrom
amir/delete-chats

Conversation

@amir-ghasemi
Copy link
Collaborator

This pull request introduces new bulk session management features to both the backend and frontend, allowing users to efficiently delete multiple chat sessions at once or within a specific date range. It also adds a new session statistics endpoint and integrates these capabilities into the web UI's settings dialog, providing users with more control over their session data.

Backend: Bulk Session Management & Statistics

  • Added API endpoints for bulk session deletion and session statistics, including request/response models and error handling in sessions.py.
  • Introduced date handling for session operations by importing datetime and timedelta in session_service.py.

Frontend: API Integration

  • Created bulkDeleteSessions and deleteAllSessions functions, along with supporting types, in sessions.ts for communicating with the new backend endpoints.
  • Exported the new session API functions from the main API index for use throughout the app.

Frontend: UI Enhancements

  • Added a new SessionManagementSettings React component that allows users to delete all sessions or sessions within a date range, with confirmation dialogs and notifications.
  • Integrated the session management section into the settings dialog, including a sidebar item that appears when persistence is enabled, and ensured correct routing and display of the new settings panel. [1] [2] [3] [4] [5]
  • Exported the new settings component for use elsewhere in the app.

@github-actions
Copy link

WhiteSource Policy Violation Summary

✅︎ No Blocking Whitesource Policy Violations found in solaceai/solace-agent-mesh-ui-pr-901!

@sonarqube-solacecloud
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
24.8% Coverage on New Code (required ≥ 70%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE SonarQube for IDE

@amir-ghasemi amir-ghasemi changed the title DATAGO-123192 Add feature to delete all chat history at once feat(DATAGO-123192): Add feature to delete all chat history at once Jan 28, 2026
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.

1 participant