Skip to content

feat(menu): #2222 add folders from the File menu - #5837

Merged
Jocs merged 1 commit into
developfrom
feat/2222-add-folder-menu
Oct 21, 2026
Merged

Jocs merged 1 commit into
developfrom
feat/2222-add-folder-menu

Conversation

@Jocs

@Jocs Jocs commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Refs #2222

Summary

Add File → Add Folder… immediately after Open Folder…. It reuses the same current-window append action as the sidebar +, while Open Folder… keeps its existing preference-controlled behavior.

Type of change

  • Bug fix (non-breaking)
  • New feature (non-breaking)

Test plan

  • pnpm run lint and pnpm run typecheck passed at this stack layer.
  • Verified the native macOS File → Add Folder… item appends a third root in Electron.
  • The complete stack passes 1182 unit tests and 22 macOS Electron E2E tests.

Evidence

Result after adding a folder. The native menu callback was also executed and verified in Electron.

core

Stack

Merge from top to bottom; after merging a parent, retarget its child to develop before deleting the parent branch.

Order PR Base
1 (merged) exclude the Electron application entry from file arguments develop
2 (merged) manage and restore multiple folder roots develop
3 (merged) search across sidebar folder roots develop
4 (this PR) add folders from the File menu develop
5 add folders from the command palette feat/2222-add-folder-menu

Notes for reviewers

Builds on merged PR #5836. This is part 4 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.

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Build artifacts for PR #5837:

Run: https://github.com/marktext/marktext/actions/runs/39627558317

Artifact Size Link
marktext-linux-x64 667.4 MB Download
marktext-windows-x64 299.2 MB Download
marktext-macos-arm64 300.2 MB Download
marktext-linux-arm64 522.4 MB Download
marktext-windows-arm64 291.0 MB Download
marktext-macos-x64 313.6 MB Download

@Jocs
Jocs force-pushed the feat/2222-multi-folder-search branch from 8d299bd to a760505 Compare October 21, 2026 13:59
@Jocs
Jocs force-pushed the feat/2222-add-folder-menu branch 2 times, most recently from 924dc88 to 958c44f Compare October 21, 2026 14:05
@Jocs
Jocs force-pushed the feat/2222-multi-folder-search branch from 5b00cec to 67ee5d3 Compare October 21, 2026 15:24
@Jocs
Jocs force-pushed the feat/2222-add-folder-menu branch from 958c44f to c175c84 Compare October 21, 2026 15:25
@Jocs
Jocs changed the base branch from feat/2222-multi-folder-search to develop October 21, 2026 15:38
@Jocs
Jocs force-pushed the feat/2222-add-folder-menu branch from c175c84 to 65e0013 Compare October 21, 2026 15:38
@Jocs
Jocs merged commit c334fab into develop Oct 21, 2026
13 checks passed
@Jocs
Jocs deleted the feat/2222-add-folder-menu branch October 23, 2026 08:32
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