Repository navigation
feat(sidebar): #2222 manage and restore multiple folder roots - #5835
Merged
Merged
Conversation
This was referenced Oct 21, 2026
Jocs
force-pushed
the
feat/2222-multi-folder-core
branch
from
October 21, 2026 12:37
a70ac6e to
3f1acac
Compare
Jocs
force-pushed
the
feat/2222-multi-folder-core
branch
2 times, most recently
from
October 21, 2026 14:02
3f1acac to
a5cf579
Compare
7 of 10 tasks
Tkaixiang
added a commit
that referenced
this pull request
Nov 23, 2026
…te keys on build (#6120) * fix(i18n): translate strings left in English Several feature PRs added English placeholder values to most locales and they were never translated: - sideBar.move.* (13 keys, #5945): de, es, fr, ja, ko, nl, pt, ru, tr, zh-TW - multi-folder sidebar strings (12 keys, #5835): de, es, fr, ja, ko, nl, pt, ru, tr - preferences.editor.fileRepresentation.tabInputNotes (#5891): same 9 locales Also fills one-off gaps: GitHub Alerts labels in pl (desktop and Muya) and it (Muya), the Academic export theme in it, and the super/subscript extension label in es and pt. Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(i18n): remove unused locale keys None of these keys is referenced anywhere in packages/desktop/src, either as a literal or through a template/prefix key: - menu.counter.document, documentSelection, charactersNoSpaces, allCharacters - sideBar.tree.noFolders, overlappingFolder - sideBar.search.searchInFolder (the UI uses searchInFolders) - preferences.theme.modeThemes - dialog.file, files, keepOpen, saveFailure - error.report, unexpectedErrorWithMessage - store.editor.anchorLinkCopied - editor.sourceCode.cursorNullComment, imageStructureDeletedComment - readingMode.skipped Co-Authored-By: Claude Opus 5.5 <[email protected]> * build(i18n): validate locale keys before minifying minify-locales now fails, before writing any .min.json, when: - a locale is missing a key from en.json or has a key en.json lacks - an en.json key is not referenced by any .ts or .vue file under packages/desktop/src The usage check is a single ripgrep pass that collects quoted dotted strings. Template literals (`menu.theme.${name}`) and concatenation prefixes ('sideBar.move.') match as patterns, so keys built from a variable still count as used. ripgrep comes from @vscode/ripgrep, resolved through packages/desktop, which already declares it. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Refs #2222
Summary
Keep multiple independent folder roots in one editor window. The bottom-right + and the existing empty-state Open Folder button append a folder; root context menus can remove or retry it without deleting disk content or closing unsaved tabs.
Add window-scoped root identity, watcher generation isolation, versioned recovery snapshots, fold-state restoration, and explicit file ownership for save/image paths. Preserve the existing Open Folder replacement/new-window behavior. Cross-folder search and the additional menu/command entries follow in separate PRs.
Type of change
Test plan
Evidence
Multiple folder roots and the bottom-right add action.
Stack
Merge from top to bottom; after merging a parent, retarget its child to
developbefore deleting the parent branch.developdevelopfeat/2222-multi-folder-corefeat/2222-multi-folder-searchfeat/2222-add-folder-menuNotes for reviewers
Builds on merged PR #5834. This is part 2 of a five-PR stack. Review this PR against its current base branch; merge the stack in order and retarget each child to develop after its parent lands.
Local native validation was on macOS; Windows and Linux are covered by CI when available. No screenshots or recordings are committed to the repository.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.