feat(windows): 支持项目显示别名以区分同名文件夹 - #416
Merged
1lck merged 4 commits intoSep 2, 2026
Merged
Conversation
为工作区项目标签增加 displayAlias 字段并持久化,在标题栏、项目标签栏 及侧边栏以「文件夹名 (别名)」格式展示;用户可通过项目上下文菜单设置 别名,解决多个同名文件夹项目同时打开时难以区分路径的问题。 Closes 1lck#404 Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
补充 lithe-core-client 与 tauri-core 的测试 mock 导出,并保留 run.store 的真实导出,避免同进程内后续测试加载失败。 Co-authored-by: Cursor <cursoragent@cursor.com>
Rangsh
force-pushed
the
feature/issue-404-project-display-alias
branch
from
September 2, 2026 13:22
da78094 to
a7022c1
Compare
Owner
|
Closes #404 Review complete; merging into |
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.
关联 Issue
Closes #404
背景
当多个同名文件夹(例如不同路径下的
Lithe)在同一窗口中打开时,标题栏与项目标签仅显示文件夹名,用户难以快速判断每个项目对应的实际路径。变更说明
ProjectTab)新增displayAlias字段,并通过现有 zustand persist 机制持久化getProjectDisplayLabel()工具函数,统一将展示名格式化为文件夹名 (别名)projectName展示使用方式
D盘备份、client-a),界面将显示为Lithe (D盘备份)测试计划
project-display-label.test.ts:别名格式化逻辑project-tab-bar.test.ts:标签栏无障碍与关闭文案