mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 11:20:07 +08:00
* refactor: Simplify message operations with new useMessageOperations hook - Introduce useMessageOperations hook to centralize message-related actions - Remove prop drilling for message deletion and management - Refactor MessageMenubar, MessageGroup, and Messages components to use new hook - Remove commented-out code and simplify message state management - Improve type safety and reduce component complexity * feat: Enhance topic management with sequence-based sorting and lazy loading - Add sequence field to topics for better sorting - Implement lazy loading mechanism for topic messages - Modify Redux store to support per-topic loading states - Update database schema to use sequence as an auto-incrementing primary key - Optimize message initialization and retrieval process * refactor: Simplify message operations with new useMessageOperations hook - Introduce useMessageOperations hook to centralize message-related actions - Remove prop drilling for message deletion and management - Refactor MessageMenubar, MessageGroup, and Messages components to use new hook - Remove commented-out code and simplify message state management - Improve type safety and reduce component complexity * refactor(database): Enhance topic management with timestamps and upgrade logic - Modify database schema to include createdAt and updatedAt for topics - Add database hooks for automatic timestamp handling - Refactor topic upgrade process to support new timestamp fields - Remove redundant upgradesV6.ts file - Update topic retrieval to use updatedAt for sorting - Improve database consistency and tracking of topic modifications * fix: Improve message loading state management and UI synchronization - Update Inputbar to use useMessageOperations hook for loading state - Correct topic loading state management in Redux store - Fix loading state synchronization in sendMessage action - Remove unnecessary commented-out code - Enhance error handling and loading state tracking * refactor: Streamline message state management and remove unused code - Remove commented-out code in multiple components - Delete initializeMessagesState thunk from messages store - Simplify message sending and streaming logic - Remove unnecessary console logs - Optimize MessageStream component with memo - Using loading to control message generation within a single session - Lift the restriction on not being able to switch topics in message generation |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||