Commit Graph

10 Commits

Author SHA1 Message Date
duanshuwen
bbe32f7954 feat: implement session deletion protection and enhance chat history management 2026-04-22 22:53:22 +08:00
duanshuwen
ea1fd18e6f feat: enhance after-pack script to copy OpenClaw runtime dependencies
- Added a new script `bundle-openclaw.mjs` to bundle OpenClaw runtime dependencies.
- Updated `after-pack.cjs` to copy bundled OpenClaw runtime and its node_modules.
- Improved cleanup of unnecessary development files in node_modules.
- Adjusted paths for resources in the packaging process.

style: update loading indicator styles in ChatHistoryPanel

- Changed the border radius and padding for the loading indicator in ChatHistoryPanel.

fix: improve ProvidersSection to handle provider account syncing

- Added logic to sync model configuration to provider accounts.
- Introduced error handling and loading states during the sync process.
- Enhanced vendor resolution and account management logic.

fix: fallback session handling in chat store

- Implemented fallback session logic in loadSessions to ensure a valid session is always available on error.
2026-04-22 21:56:37 +08:00
duanshuwen
a259907d12 feat: adjust button padding for improved layout consistency in ChatHistoryPanel 2026-04-21 19:58:23 +08:00
DEV_DSW
3349d41881 feat: 语言国际化重构 2026-04-21 16:52:45 +08:00
duanshuwen
f7f4ffaee9 feat(api): add chat configuration and conversation message list APIs; update types and integrate into index 2026-04-20 17:35:41 +08:00
duanshuwen
92ec3189bc feat: update UI components and settings structure, remove unused icons 2026-04-18 20:31:52 +08:00
duanshuwen
dfa4388087 refactor: optimize component rendering with memoization and improve state management
- Added memoization to ChatHistoryPanel, ChatMessageList, and TaskBoard components to prevent unnecessary re-renders.
- Refactored HomePage to utilize useMemo for derived state calculations, enhancing performance.
- Updated main.tsx to conditionally render React.StrictMode based on the environment.
- Improved chat and channel store hooks to allow for selector functions, enhancing flexibility in state selection.
- Enhanced streaming message handling in chat store to manage pending deltas more effectively.
- Refactored LoginPage to include animated decorations for improved user experience.
- Implemented lazy loading for routes in the router to optimize initial load time.
2026-04-18 11:05:49 +08:00
duanshuwen
1205a96661 feat: update ChatHistoryPanel layout and styling for improved UI consistency 2026-04-18 00:05:20 +08:00
duanshuwen
33e428cc94 feat: update ChatHistoryPanel with improved state management and UI enhancements 2026-04-17 23:36:43 +08:00
DEV_DSW
79bea4f107 Refactor UUID generation, remove unused logger and encryption utilities, and clean up request handling
- Updated `generateUUID` function for improved readability and performance.
- Deleted `logger.ts`, `other.ts`, `request.ts`, `storage.ts`, `tansParams.ts`, and `validate.ts` as they were no longer needed.
- Simplified TypeScript configuration by removing unnecessary paths and aliases.
- Enhanced Vite configuration for better project structure and maintainability.
2026-04-17 15:38:08 +08:00