Skip to content

feat(search): #2222 search across sidebar folder roots - #5836

Merged
Jocs merged 2 commits into
developfrom
feat/2222-multi-folder-search
Oct 21, 2026
Merged

Jocs merged 2 commits into
developfrom
feat/2222-multi-folder-search

Conversation

@Jocs

@Jocs Jocs commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Refs #2222

Summary

Search file contents and use Quick Open across every available folder in the current window. Show the root label and relative path so identical file names remain distinguishable.

Cancel obsolete queries when folder membership changes, keep existing aggregate limits, and retain successful results when another folder fails.

Type of change

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

Test plan

  • 1182 unit tests passed.
  • 3 macOS Electron E2E tests passed, covering multi-root search/Quick Open and ripgrep streaming.
  • pnpm run lint, pnpm run typecheck and pnpm run build:unpack passed.

Evidence

Content search results from both folder roots.

search

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 (this PR) search across sidebar folder roots develop
4 add folders from the File menu feat/2222-multi-folder-search
5 add folders from the command palette feat/2222-add-folder-menu

Notes for reviewers

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

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

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

@Jocs
Jocs force-pushed the feat/2222-multi-folder-core branch from a70ac6e to 3f1acac Compare October 21, 2026 12:37
@Jocs
Jocs force-pushed the feat/2222-multi-folder-search branch from f38aecd to 8d299bd Compare October 21, 2026 12:37
@Jocs
Jocs force-pushed the feat/2222-multi-folder-core branch from 3f1acac to a5cf579 Compare October 21, 2026 13:58
@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-multi-folder-core branch from 3f1acac to a5cf579 Compare October 21, 2026 14:02
@Jocs
Jocs force-pushed the feat/2222-multi-folder-search branch from a760505 to 5b00cec Compare October 21, 2026 14:05
@Jocs
Jocs changed the base branch from feat/2222-multi-folder-core to develop October 21, 2026 15:17
@Jocs
Jocs force-pushed the feat/2222-multi-folder-search branch from 5b00cec to 67ee5d3 Compare October 21, 2026 15:24
@Jocs
Jocs merged commit e88a2b0 into develop Oct 21, 2026
13 checks passed
@Jocs
Jocs deleted the feat/2222-multi-folder-search 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