Skip to content

Fix/session sort 250409#114

Merged
maozhen520 merged 7 commits intoopenpilot-hub:mainfrom
PerryZhao:fix/session-sort-250409
Apr 17, 2025
Merged

Fix/session sort 250409#114
maozhen520 merged 7 commits intoopenpilot-hub:mainfrom
PerryZhao:fix/session-sort-250409

Conversation

@PerryZhao
Copy link
Copy Markdown
Collaborator

No description provided.

zhaopengjun added 2 commits April 9, 2025 10:51
1. Sort history sessions by update time in descending order
2. Fix UI to properly handle empty session lists
3. Change handleDeleteSession to use renderHistorySession
4. Update ChatSession to use Long instead of long for updateTime
1. Create ChatSessionManagerService to manage chat sessions at project level
2. Update DevPilotChatToolWindowService to use the service
3. Initialize service in MultiProjectManagerListener
@PerryZhao PerryZhao requested a review from maozhen520 April 9, 2025 09:39
zhaopengjun added 5 commits April 9, 2025 18:03
The change ensures ChatSessionManagerService is initialized when the chat tool window loads by adding a service call in the onLoadEnd method of the CefLoadHandlerAdapter.
…ntrols

1. Add automatic sorting of chat sessions by update time
2. Implement max session limit (10) with oldest session cleanup
3. Add ChatInitialized event handler for better UI initialization
@maozhen520 maozhen520 merged commit f0127b6 into openpilot-hub:main Apr 17, 2025
1 check passed
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.

2 participants