Commit Graph

3058 Commits

Author SHA1 Message Date
eeee0717 28da94c362 Merge branch 'main' into feat-knowlege-ocr 2025-06-05 15:40:54 +08:00
Murphy b2d10b7a6b fix: add blank lines between reasoning summary parts (#6827)
Co-authored-by: Chen Tao <70054568+eeee0717@users.noreply.github.com>
2025-06-05 15:39:56 +08:00
eeee0717 85043f1faf feat: improve ui and notification 2025-06-05 15:38:01 +08:00
George·Dong 1215bcb046 refactor: enhance export functions (#5854)
* feat(markdown-export): add option to show model name in export

* refactor(export): Refactor the Obsidian export modal to Ant Design style

* refactor(obsidian-export): export to obsidian using markdown interface & support COT

* feat(markdown-export): optimize COT export style, support export model & provider name

Add a new setting to toggle displaying the model provider alongside the
model name in markdown exports. Update the export logic to include the
provider name when enabled, improving context and clarity of exported
messages. Also fix invalid filename character removal regex for Mac.

* feat(export): add option to export reasoning in Joplin notes

Introduce a new setting to toggle exporting reasoning details when
exporting topics or messages to Joplin. Update the export function to
handle raw messages and convert them to markdown with or without
reasoning based on the setting. This improves the export feature by
allowing users to include more detailed context in their Joplin notes.

* feat(export): update i18n for new export options

* fix(settings): remove duplicate showModelNameInMarkdown state

* feat(export): add CoT export for notion & optmize notion export

* feat(export): update Notion settings i18n

* fix(utils): correct citation markdown formatting

Swap citation title and URL positions in markdown links to ensure
the link text displays the title (or URL if title is missing) and
the link points to the correct URL. This improves citation clarity.
2025-06-05 14:41:53 +08:00
fullex 9195a0324e fix(SelectionAssistant): ignore ctrl pressing when user is zooming in/out (#6822)
* fix(SelectionService): ignore ctrl pressing when user is zomming in/out

* chore: rename function

* fix: reset listener status
2025-06-05 14:28:50 +08:00
熊可狸 acbec213e8 hotfix: ensure show token usage setting defaults to true (#6828)
Hotfix: ensure show token usage setting defaults to true
2025-06-05 14:02:09 +08:00
熊可狸 e2a08e31e8 feat(Settings): Add token count display toggle (#6772)
* feat(Settings): add token count toggle

* fix(i18n): update token usage messages for zh-cn and zh-tw locales

* fix(InstallNpxUv): optimize checkBinaries function with useCallback for better performance

---------

Co-authored-by: Pleasurecruise <3196812536@qq.com>
2025-06-05 12:46:20 +08:00
SuYao e479ee3dbc feat(constants): expand supported file extensions and categorize text… (#6815)
* feat(constants): expand supported file extensions and categorize text file types

* refactor(constants): remove binary file extensions

* refactor(constants): remove Xcode project
2025-06-05 12:32:28 +08:00
Wang Jiyuan f6462ef998 fix: OpenAI provider api check doesn't handle error (#6769) 2025-06-05 12:09:37 +08:00
eeee0717 d17ba3a835 chore: i18n 2025-06-05 11:17:24 +08:00
Murphy dcdf49a5ce fix: sync active topic after rename (#6804)
Co-authored-by: Chen Tao <70054568+eeee0717@users.noreply.github.com>
2025-06-05 09:44:11 +08:00
SuYao 74f72fa5b6 fix(AnthropicProvider): update usage and metrics handling to prevent TypeError (#6813) 2025-06-05 09:33:40 +08:00
one 36f33fed75 fix: use monospace font for theme colorpicker (#6816) 2025-06-05 09:33:26 +08:00
Chen Tao 3b5617a0e2 Merge branch 'main' into feat-knowlege-ocr 2025-06-05 09:28:52 +08:00
fullex eb7c05fd4c fix(SelectionAssistant): JetBrains IDEs, Remote desktop, Gaming, PDF views, etc (#6809)
fix: jetbrains ides, remote desktop, pdf views, etcs
2025-06-04 23:56:05 +08:00
SuYao cb746fd722 hotfix: gemini auto thinking (#6810) 2025-06-04 23:25:42 +08:00
one 0449bc359a fix(MermaidPreview): debounce mermaid rendering to alleviate flickering (#6675) 2025-06-04 23:09:47 +08:00
Chen Tao dcc5e7eb4b Merge branch 'main' into feat-knowlege-ocr 2025-06-04 20:54:28 +08:00
eeee0717 4b7e38425f chore: add i18n 2025-06-04 20:50:34 +08:00
eeee0717 62cfccc035 feat: split ocr and preprocess 2025-06-04 20:45:57 +08:00
one d3e51ffb1c fix: codeblock overflow in bubble style (#6773)
* refactor: revert CodeBlockView style change

* fix: codeblock width and overflow

* refactor: improve CodeEditor border

* revert: context-menu-container width for message group
2025-06-04 19:56:31 +08:00
fullex 77eb70626c feat(SelectionAssistant): fullscreen game/presentation mode 2025-06-04 19:09:35 +08:00
fullex 345c4f096e fix: transparent window flashing when show (#6755)
* fix: avoid SelectionAssistant toolbar flashing

* add comments
2025-06-04 19:07:07 +08:00
Zhaker a4aab3fd4e fix: correct variable name obsidianVault in Obsidian export (#6796) 2025-06-04 18:28:59 +08:00
eeee0717 88204878b0 Merge branch 'main' into feat-knowlege-ocr 2025-06-04 18:00:17 +08:00
自由的世界人 ecf770e183 fix: optimize multilingual display of documents (#6793)
Update Sidebar.tsx
2025-06-04 17:57:25 +08:00
eeee0717 d1f1703d4e chore 2025-06-04 17:53:23 +08:00
eeee0717 8de8e6e5a1 chore: add i18n 2025-06-04 17:46:27 +08:00
Lucas d58911ac60 fix(ci): Update the nightly-build workflow (#6791)
Update the branch name from `develop` to `main`
2025-06-04 17:37:13 +08:00
one bb0a35b920 fix: chat navigation triggering (#6774)
* fix: exclude MessageEditor

* fix: more accurate triggering area
2025-06-04 17:34:51 +08:00
fullex 403649f2ea feat(SelectionAssistant): Smart Translation ( aka BiDirectionTranslate) (#6715)
* feat(Translation): enhance translation functionality and UI improvements

- Added secondary text color variables in color.scss for better UI contrast.
- Updated translation configuration to include language codes for better language handling.
- Enhanced translation UI with new language selection options and improved loading indicators.
- Implemented smart translation tips in multiple language JSON files for user guidance.
- Refactored translation logic to streamline message processing and error handling.

* feat(Translation): expand language options and update localization files

- Added new languages (Polish, Turkish, Thai, Vietnamese, Indonesian, Urdu, Malay) to translation options in translate.ts.
- Updated localization JSON files (en-us, ja-jp, ru-ru, zh-cn, zh-tw) to include translations for the new languages.
- Enhanced language detection logic in translate.ts to support new language codes.
2025-06-04 17:11:53 +08:00
fullex 958f8387d0 fix(SelectionAssistant): customCSS should not override background (#6746)
fix: customCSS should not override background
2025-06-04 17:11:31 +08:00
eeee0717 3b3453c963 chore 2025-06-04 14:33:27 +08:00
eeee0717 fa7d7deda6 feat: remove upload file 2025-06-04 14:30:03 +08:00
eeee0717 9418701ccd fix: preprocess cannot remove 2025-06-04 13:29:53 +08:00
beyondkmp 9c89676030 refactor(BackupManager, WebDav): streamline WebDAV client initialization and enhance directory listing functionality (#6784)
Co-authored-by: beyondkmp <beyondkmkp@gmail.com>
2025-06-04 12:51:21 +08:00
one 34ec018840 fix: prevent message overflow when minimized width (#6775) 2025-06-04 11:50:56 +08:00
one 1be103a249 chore(gitignore): exclude cursor settings (#6779) 2025-06-04 11:48:58 +08:00
eeee0717 cdb32ce992 chore: remove unnecessary page 2025-06-04 10:26:47 +08:00
Wang Jiyuan f83f8bb789 Fix: outdated provider websites and models (#6766)
* fix: inappropriate provider websites (openrouter, grok)

* fix: outdated model list (grok)
2025-06-04 00:00:33 +08:00
suyao 1257c49d96 refactor: simplify ToolSettings component layout
- Removed the SettingContainer wrapper for improved readability.
- Cleaned up imports and streamlined the rendering logic for WebSearchSettings and PreprocessSettings.
2025-06-03 22:51:00 +08:00
eeee0717 1c9bba353b feat: change add knowledge ui 2025-06-03 21:50:34 +08:00
eeee0717 777eb48e6e rename ocr to preprocess 2025-06-03 21:29:08 +08:00
eeee0717 d767057c50 fix: fix doc2x extract zip error 2025-06-03 19:48:00 +08:00
suyao 642c2404fb refactor: remove unused file components and clean up imports
- Deleted GeminiFiles, MistralFiles, and RemoteFileList components to streamline the codebase.
- Cleaned up imports in AppUpdater.ts for improved organization and clarity.
- Updated Message.tsx to remove redundant import, enhancing code maintainability.
2025-06-03 18:27:36 +08:00
suyao 6a26a5619a refactor: remove unused imports in GeminiProvider for cleaner code
- Eliminated unnecessary imports such as FileState, Pager, and CacheService from GeminiProvider.ts to enhance code clarity and maintainability.
2025-06-03 18:21:53 +08:00
suyao af37568ec4 refactor: update type definitions for file handling in FileStorage and FilesPage components
- Changed return type from FileType to FileMetadata in saveBase64Image method of FileStorage class for consistency.
- Updated import in FilesPage component to reflect the new FileMetadata type, enhancing clarity in file handling.
2025-06-03 18:17:14 +08:00
suyao 58253a210d chore: clean up yarn.lock by removing unused package entries
- Removed obsolete entries for 'caseless' and 'path-type' packages from yarn.lock to streamline dependencies and reduce clutter.
2025-06-03 18:15:07 +08:00
suyao 01d2518bf1 Merge branch 'main' into feat/ocr 2025-06-03 18:08:09 +08:00
suyao d7df076672 refactor: add OCR provider selection to KnowledgeSettings component
- Introduced a new settings item for selecting OCR providers in the KnowledgeSettings component.
- Removed the previous implementation of the OCR provider selection to streamline the UI.
- Updated the state management for the selected OCR provider to enhance user experience.
2025-06-03 17:52:54 +08:00