Repository navigation
Conversation
- 设置 → 桌面整理新增「整理方式」:移动到格子(默认)/ 只映射,不移动文件, 保存在 fork-organize.json;整理预览去掉复选框,改为只读显示当前方式并可跳到设置, 「开始整理」按全局设置执行;切回「移动到格子」时退出映射并还原桌面项。 - 自动整理新文件遵守该设置:只映射模式下上游自动整理不再移动,交给映射归类。 - 映射格子单项/多选右键「放回桌面」:解除映射、在桌面显示,并记为留在桌面, 之后自动归类/一键整理不再收回(跟随重命名,删除时清除)。 - 不再整体隐藏桌面 ListView:只对被映射项设置隐藏属性,并记录在 mapped-organize.hidden;解除映射/退出映射/切回移动/退出 DeskBox/崩溃后启动/卸载时还原, 原本就隐藏的文件不动;FileService 对 DeskBox 隐藏的成员仍可显示。 - 资源管理器开启「显示隐藏的项目」时在设置页提示。 - 单元测试:设置持久化、模式分支、放回桌面排除、隐藏属性记录/还原逻辑。
GOXF
added a commit
that referenced
this pull request
Nov 8, 2026
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.
改动
1. 「整理方式」提升为全局设置
fork-organize.json(fork 自有文件,不动上游设置模型/序列化)。DesktopAutoOrganizationWatcher不移动文件,交给映射归类(MappedOrganizeService.TryTakeOverAutoOrganization)。2. 映射项「放回桌面」+ 按项隐藏
data/mapped-organize.hidden(先写记录再改属性)。原本就隐藏的文件不记录、不还原。installer/DeskBox.ForkMappedOrganize.iss,在结束进程后执行)。FileService通过MappedOrganizeHiddenRegistry让 DeskBox 隐藏的成员在映射格子里照常显示。data/mapped-organize.kept,之后自动归类/一键整理不再收回(跟随重命名,删除时清除;拖回映射格子或在预览里确认映射时解除)。预览里取消勾选的项同样留在桌面。测试
tests/DeskBox.Tests/ForkOrganizeModeTests.cs:设置持久化/解析、模式分支(确认/自动整理/切换/启动迁移)、放回桌面后排除、隐藏属性记录/还原规划、记录文件序列化与重命名。改到的上游文件(尽量少)
FileService.cs(3 处条件)、DesktopAutoOrganizationWatcher.cs(1 段)、FileSurfaceContent.SelectionAndMenus.cs(2 处)、DesktopOrganizationSettingsSection.xaml(1 个容器)、installer/DeskBox.Uninstall.iss(include + 1 次调用)。文案用 fork 自有的内联方式(简中/繁中/英),没有改 Strings/*.json;没有新增可绑定属性。已知限制