Skip to content

feat: 映射整理(只映射,不移动文件) - #2

Merged
GOXF merged 2 commits into
customfrom
feat/mapped-organize
Nov 8, 2026
Merged

GOXF merged 2 commits into
customfrom
feat/mapped-organize

Conversation

@GOXF

@GOXF GOXF commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Adds a mapped (virtual) desktop organize mode, like 360桌面助手 / WPS 桌面整理: desktop items are grouped into widgets while the files stay in the Desktop / Public Desktop folders.

Design and upstream-touching edits: docs/architecture/mapped-organize.md.

  • Preview option 「只映射,不移动文件」 → mapped-organize widgets (File widgets mapping the Desktop, membership in WidgetConfig.Metadata).
  • Native desktop icons hidden (SysListView32 SW_HIDE, not Explorer's persisted setting) while ≥1 mapped widget exists; restored on last dissolve / 退出映射整理 / shutdown / ProcessExit; durable marker repairs after a crash.
  • New desktop files auto-assigned after the auto-organize settle delay (classifier category → 「其他」); widget menu: 一键整理 / 自动归类新文件 / 退出映射整理.
  • Open/rename/delete act on real files; drag between mapped widgets = membership only; drag to a normal widget = real move; external rename/delete tracked by a desktop watcher.
  • Ordinary organization never targets mapped widgets.
  • Unit tests: MappedOrganizeMembershipTests.

Not runtime-tested on a real desktop yet — draft for review.

GOXF added 2 commits November 8, 2026 03:49
… moving files

Adds a mapped (virtual) organize mode: the preview option 只映射,不移动文件
creates mapped-organize widgets that map the Desktop and only record
membership in their metadata. Native desktop icons are hidden while mapped
widgets exist and restored on dissolve/exit/startup repair. New desktop
items are auto-assigned after the auto-organize settle delay (switchable to
manual 一键整理). See docs/architecture/mapped-organize.md.
@GOXF
GOXF marked this pull request as ready for review November 8, 2026 04:25
@GOXF
GOXF merged commit 37a41af into custom Nov 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant