feat(sidebar): group projects as plain labels or folder anchors - #92
Conversation
Sidebar projects can now be organized into user-made groups rendered as collapsible sections with a header row (name, project count, context menu). Two group kinds: plain groups are pure labels whose new sessions start in the home directory; folder groups anchor a folder — sessions opened from them (and new tabs in projects placed inside) start in that folder. - ProjectGroup: kind (plain / folder(path)), collapse flag, JSON persistence beside the app config (Debug/Release separated) - Project: groupID survives through the session snapshot - TerminalManager: moveProject, newProject(in:), snapshot wiring - Sidebar: sectioned rendering, group headers with inline rename, New Group menu, Move to Group submenu, row indentation - zh-Hans + ja localizations for all new strings
Thank you for opening a pull request. Check these requirements while it is awaiting review.
|
Summary
~; folder groups: they start in the anchored folder — new tabs in projects placed inside also start theregroupID) and group list both survive relaunch (session snapshot +project-groups.jsonbeside the app config, Debug/Release separated)Validation
~/个人/code/zshell/mac)isCollapsed) and re-expandsmake updatefull build passes