cherry-studio/src/main/services
George Zhao 2b91fac5fa
feat: Custom mini app (#5731)
* feat: 新增文件写入功能,支持通过 ID 写入文件并加载自定义小应用配置。

* feat(i18n): 添加自定义小程序配置的多语言支持,包括英文、简体中文和繁体中文。

* fix(minapps): 使用 await 加载自定义小应用并合并到默认应用中,同时添加日志输出以便调试

* fix(minapps): 在开发环境中添加条件日志输出,以便调试加载的默认小应用。

* refactor(miniappSettings): 移动自定义小应用编辑区域的位置,优化界面布局。

* refactor(miniappSettings): 修改自定义小应用保存逻辑,优化应用列表重新加载方式。

* feat(i18n): 修复在merge过程中丢失的语言设置。

* fix(bug_risk): Consider adding stricter validation for the JSON config on load.

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* feat(miniapp): 添加自定义小应用功能,优化应用列表展示,支持通过模态框添加新应用。

* feat(App): enhance custom app modal to support logo upload via URL.

* feat(miniapp): add application logo support and update mini app list reloading logic.

* feat(i18n): update mini app custom settings translations for multiple languages.

* feat(miniapp): add updateDefaultMinApps function and refactor mini app list reloading logic.

* feat(miniapp): add removeCustom functionality to handle custom mini app deletion

* feat(miniapp): add duplicate ID check when adding custom mini apps.

* feat(i18n): 重构侧边栏相关翻译为结构化格式,增加删除自定义应用的翻译支持。

* feat(miniapp): 优化删除自定义应用的逻辑,使用条件渲染简化代码结构。

* feat(miniapp): 添加自定义小应用内容的空值处理,确保 JSON 格式有效。

* feat(i18n): 更新默认语言为英语,并移除多个语言文件中的默认代理字段。

* feat(i18n): 为多个语言文件添加自定义小应用配置编辑描述翻译。

* feat(i18n): add success and error messages for deleting custom mini apps in multiple language files.

* feat(i18n): update success and error messages for custom mini app operations and add placeholder text in multiple language files.

* feat(i18n): 为多个语言文件添加重复ID和冲突ID的错误信息翻译,并在自定义小应用设置中实现相关检查逻辑。

* feat(miniapp): 在添加自定义小应用时,增加对默认最小应用ID的重复检查逻辑。

* feat(i18n): update edit description for custom mini app configuration in Traditional Chinese locale

* fix(miniapp): enhance error messages for duplicate and conflicting IDs in custom mini app configuration

---------

Co-authored-by: George Zhao <georgezhao@SKJLAB>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: suyao <sy20010504@gmail.com>
2025-05-08 21:59:55 +08:00
..
mcp feat(MCP): implement login shell environment retrieval (#5739) 2025-05-08 10:14:01 +08:00
urlschema feat: Add MCP server installation via URL protocol (#5351) 2025-04-26 11:09:58 +08:00
AppUpdater.ts fix(AppUpdater): update condition for checking available updates (#5417) 2025-04-27 22:22:31 +08:00
AxiosProxy.ts refactor(AxiosProxy): improve proxy handling and initialization logic 2025-04-21 11:26:13 +08:00
BackupManager.ts fix the issue of webdav local backup file storage (#5643) 2025-05-04 13:16:06 +08:00
CacheService.ts feat: add gemini files support 2025-01-07 16:49:11 +08:00
ConfigManager.ts refactor: simplify custom CSS functionality by store sync (#5596) 2025-05-02 15:19:47 +08:00
ContextMenu.ts refactor(WindowService): improve context menu setup (#5589) 2025-05-04 11:04:56 +08:00
CopilotService.ts feat: integrate AxiosProxy for HTTP requests in rerankers and Copilot… (#4858) 2025-04-15 18:42:31 +08:00
ExportService.ts fix: remove redundant local variables (#5654) 2025-05-04 19:56:56 +08:00
FileService.ts chore: remove useless code 2025-03-28 09:24:54 +08:00
FileStorage.ts feat: Custom mini app (#5731) 2025-05-08 21:59:55 +08:00
GeminiService.ts fix: remove redundant local variables (#5654) 2025-05-04 19:56:56 +08:00
KnowledgeService.ts lint: fix eslint error 2025-04-05 10:52:45 +08:00
MCPService.ts feat(MCP): implement login shell environment retrieval (#5739) 2025-05-08 10:14:01 +08:00
NutstoreService.ts fix: remove redundant local variables (#5654) 2025-05-04 19:56:56 +08:00
ObsidianVaultService.ts feat: 优化导出obsidian,自动选择库路径,不再需要手动配置 (#3854) 2025-03-25 21:31:22 +08:00
ProtocolClient.ts feat: Implement deep linking for AppImage on Linux (#5360) 2025-04-26 11:19:53 +08:00
ProxyManager.ts fix: remove redundant local variables (#5654) 2025-05-04 19:56:56 +08:00
ReduxService.ts lint: fix eslint error 2025-04-05 10:52:45 +08:00
RemoteStorage.ts feat: Add OpenDAL based Remote Storage class (#2700) 2025-05-08 03:09:40 +08:00
SearchService.ts fix: remove redundant local variables (#5654) 2025-05-04 19:56:56 +08:00
ShortcutService.ts feat: add zoom factor setting and localization support (#5665) 2025-05-08 07:18:43 +08:00
StoreSyncService.ts fix(StoreSyncService): set flag bug when register IPC handler (#5715) 2025-05-07 10:52:51 +08:00
TrayService.ts feat: add a startup switch for quick assistant 2025-01-19 19:22:25 +08:00
WebDav.ts feat: 优化webdav备份文件恢复管理功能 (#4699) 2025-04-13 21:52:16 +08:00
WebviewService.ts feat: open popup url in external browser (#4446) 2025-04-25 09:45:54 +08:00
WindowService.ts refactor(WindowService, ThemeProvider): streamline title bar style and theme toggling logic (#5633) 2025-05-04 13:19:56 +08:00