Open
Conversation
- 添加 globalZoomLevel 字段到 AppSettings - 创建独立的 globalZoomLevelAtom 状态管理 - 修改 ZoomInitializer 支持两个独立的缩放级别 - 在 AppearanceSettings 中显示当前模式对应的缩放级别 - 全局模式使用 CSS zoom 样式(App.tsx) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 添加 SET_ZOOM_FACTOR 和 GET_ZOOM_FACTOR IPC 通道 - 在主进程中实现 webContents.setZoomFactor 处理器 - 在 preload 中暴露 setZoomFactor 和 getZoomFactor API - 修改 zoom-atoms.ts 使用 Electron 原生缩放 - 从 App.tsx 移除全局模式的 CSS zoom 样式 使用 Electron 原生缩放避免了滚动条问题,提供更好的用户体验。 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 在 ParallelChatMessages 组件中应用消息区域缩放 - 支持简单布局和分段布局两种模式的缩放 - 确保并排模式下缩放与普通模式保持一致 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- 添加消息区域和全局界面两种缩放模式 - 消息区域模式:仅缩放聊天内容区域(使用 CSS zoom) - 全局界面模式:缩放整个应用窗口(使用 Electron setZoomFactor) - 支持快捷键:Cmd/Ctrl + Plus(放大)、Cmd/Ctrl + -(缩小)、Cmd/Ctrl + 0(重置) - 在设置页面添加缩放模式切换和当前缩放级别显示 - 支持 Chat 模式(普通/并排)和 Agent 模式的独立缩放 - 使用自定义 IPC 事件替代 Electron 内置缩放角色,实现更灵活的缩放控制 - 缩放设置持久化到 ~/.proma/settings.json 并使用 localStorage 缓存
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.







功能概述
实现了消息区域和全局界面两种独立的缩放模式,用户可以根据需求选择只缩放聊天内容区域或缩放整个应用窗口。
主要变更
核心功能
技术实现
修改的文件
测试情况
其他
邮箱:fkufeng01@gmail.com