Skip to content

Feat/agent folder section add#1596

Open
ultrahighsuper wants to merge 5 commits into
eigent-ai:mainfrom
ultrahighsuper:feat/agent-folder-section-add
Open

Feat/agent folder section add#1596
ultrahighsuper wants to merge 5 commits into
eigent-ai:mainfrom
ultrahighsuper:feat/agent-folder-section-add

Conversation

@ultrahighsuper
Copy link
Copy Markdown

Related Issue

Description

The Agent Folder sidebar previously showed both folders and files under a single section labeled “Files”, which was confusing. This change adds a dedicated “Folders” section and ensures:

  • Folders section contains only folders (folders-only tree view)
  • Files section contains only files (flattened list, using relative paths for clarity)

Implementation:

  • Updated src/components/Folder/index.tsx
    • Added filterFolderOnlyTree() to build a folders-only tree from the existing file tree.
    • Rendered two sections in the sidebar: chat.folders and chat.files.
    • Built a files-only list from fileGroups[0].files and sorted it.
  • Added i18n key chat.folders across locales.

Testing Evidence (REQUIRED)

  • I have included human-verified testing evidence in this PR.
  • This PR includes frontend/UI changes, and I attached screenshot(s) or screen recording(s).
  • No frontend/UI changes in this PR.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Contribution Guidelines Acknowledgement

@ultrahighsuper
Copy link
Copy Markdown
Author

please check this pr and merge to main

@ultrahighsuper
Copy link
Copy Markdown
Author

@4pmtong
Please check this PR.

@ultrahighsuper
Copy link
Copy Markdown
Author

@Wendong-Fan
please check this PR.
It has 2 weeks pending.

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