mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-11 08:19:01 +08:00
* fix: NavigationService initialization timing issue and add tab drag reordering
- Fix NavigationService timing issue in TabsService by adding fallback navigation with setTimeout
- Add drag and drop functionality for tab reordering with visual feedback
- Remove unused MessageSquareDiff icon from Navbar
- Add reorderTabs action to tabs store
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Update tabs.ts
* Update TabContainer.tsx
* Update TabContainer.tsx
* fix(dnd): horizontal sortable (#9827)
* refactor(CodeViewer): improve props, aligned to CodeEditor (#9786)
* refactor(CodeViewer): improve props, aligned to CodeEditor
* refactor: simplify internal variables
* refactor: remove default lineNumbers
* fix: shiki theme container style
* revert: use ReactMarkdown for prompt editing
* fix: draggable list id type (#9809)
* refactor(dnd): rename idKey to itemKey for clarity
* refactor: key and id type for draggable lists
* chore: update yarn lock
* fix: type error
* refactor: improve getId fallbacks
* feat: integrate file selection and upload functionality in KnowledgeFiles component (#9815)
* feat: integrate file selection and upload functionality in KnowledgeFiles component
- Added useFiles hook to manage file selection.
- Updated handleAddFile to utilize the new file selection logic, allowing multiple file uploads.
- Improved user experience by handling file uploads asynchronously and logging the results.
* feat: enhance file upload interaction in KnowledgeFiles component
- Wrapped Dragger component in a div to allow for custom click handling.
- Prevented default click behavior to improve user experience when adding files.
- Maintained existing file upload functionality while enhancing the UI interaction.
* refactor(KnowledgeFiles): 提取文件处理逻辑到独立函数
将重复的文件上传和处理逻辑提取到独立的processFiles函数中,提高代码复用性和可维护性
---------
Co-authored-by: icarus <eurfelux@gmail.com>
* fix(Sortable): correct gap and horizontal style
* feat: make tabs sortable (example)
* refactor: improve sortable direction and gap
* refactor: update example
* fix: remove useless states
---------
Co-authored-by: beyondkmp <beyondkmp@gmail.com>
Co-authored-by: icarus <eurfelux@gmail.com>
Co-authored-by: Pleasure1234 <3196812536@qq.com>
* fix: syntax error
* refactor: remove useless styles
* fix: tabs overflow, add scrollbar
* fix: button gap
* fix: app region drag
* refactor: remove scrollbar, add space for app dragging
* Revert "refactor: remove scrollbar, add space for app dragging"
This reverts commit
|
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||