优化 GPUI 渲染设置读取,避免重绘时重复读盘 - #140
Open
WilliamWang1721 wants to merge 9 commits into
Open
WilliamWang1721 wants to merge 9 commits into
WilliamWang1721 wants to merge 9 commits into
Conversation
WilliamWang1721
force-pushed
the
codex/render-settings-cache
branch
from
September 20, 2026 22:01
9276965 to
19e534b
Compare
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.
用户结果
主题取色、侧栏拖宽开关,以及文件树、命令面板、SSH 连接卡片和更新弹窗的语言查询改为读取内存设置,避免重绘时反复读取和解析设置文件。设置保存、恢复与系统外观变化仍走现有刷新链路。
设计边界
Settings,仅增加生效主题与panel_resize字段;加载时统一解析主题,供窗口外观与终端配色共用。dialog筛选,运行完整应用与交互测试。验证依据
基于原仓库
main的030fab4e534c14955010a244546f4c33a49b72a2,最终测试提交为85486e387258b6373f058567acbda9a6ed1d05c5。必须确认
python3 scripts/check_architecture.py --base 030fab4e534c14955010a244546f4c33a49b72a2通过,未提高预算。