Skip to content

feat(project-structure): add search and batch folder marking - #7069

Open
Chris-young42 wants to merge 1 commit into
l0ng-ai:mainfrom
Chris-young42:feat/404-project-structure
Open

Chris-young42 wants to merge 1 commit into
l0ng-ai:mainfrom
Chris-young42:feat/404-project-structure

Conversation

@Chris-young42

Copy link
Copy Markdown
Contributor

Refs #404

What and why

Project Structure previously had no settings search, and the module folder tree only allowed one folder to be selected at a time. Users can now search by English or translated labels and jump to the matching section or module tab without losing unapplied edits. The folder tree supports Shift and Ctrl/Cmd selection for marking or unmarking several folders at once. Long paths in the marked folders pane wrap in narrow windows.

How it was verified

  • node node_modules/vitest/vitest.mjs run src/features/settings/__tests__ src/ui/Tree.test.tsx — 591 tests passed. Coverage includes English and Chinese search, keyboard navigation, draft preservation, and batch marking that leaves unselected folders unchanged.
  • node node_modules/@playwright/test/cli.js test e2e/settings.spec.ts e2e/settingsPaneLayout.spec.ts -g 'Project Structure' --workers=1 — 3 Chromium tests passed. These covered reopening via the shortcut, applying edits, and displaying long folder paths in a narrow window.
  • pnpm typecheck passed.

Review focus

Check that search opens the expected module tab and that batch marking only changes the selected folders.

This branch has not been deployed

No deployments
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