Release v0.9.13 - #45
Merged
Merged
Conversation
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.
侧栏任务时间可配置 + 悬停卡片补全
新增设置项
外观页新增「侧边栏 / 显示任务时间」开关,默认开。走
ui-preferences通道持久化到config.json的web_ui.sidebar_session_time,与主题、字号同一条链路。默认值不落盘,遵循稀疏写入约定。布尔字段解析刻意宽松:只有显式
false才关。旧 daemon 不返回该键时按默认开处理,避免它把整份外观偏好判成「不支持」而连主题一起回退。悬停卡片
每个会话行现在都有悬停卡片,按可用信息裁剪:
无工作区会话即使对象上残留
cwd也不会把该路径显示出来,标记优先。关掉列表时间后仍可在卡片里查看,关闭不等于信息丢失。
测试
ConfigWebUiPreferencesSidebarSessionTime4 个用例:默认开、显式 false 加载、非布尔值保留默认、仅非默认值落盘且完整往返WebServerHttp2 个用例:REST 往返不影响其它外观字段、非布尔值 400 拒绝sessionHoverDetails与appearancePreferences用例更新,覆盖无工作区不泄露 cwd、非 git 工作区仍出卡片