Skip to content

[Feature]: Add the ability to fold folders and select/unselect subfolders #44

@Fahube

Description

@Fahube

Problem Statement

When a user is indexing a folder with many subfolders, the panel for selecting folders to restrict the query becomes unusable.

Image

Proposed Solution

Add the ability for the folders to be folded and to auto-select/unselect the subfolders when a folder is selected/unselected.

There should also be 3 different icons to represent a folder:

  • Unselected
  • Selected
  • Partially Selected (at least one subfolder is not selected)

By default, folding all folders can also improve the readability.

Alternatives Considered

DocFetcher integrates the first part of the solution (see picture below). Something similar could be integrated in DocFinder .

Image

Use Cases

When the user indexes a folder with many sunfolders, he needs to be able to select the folders to restrict the query.

Priority

High - Critical for my use case

Contribution

  • I would be willing to implement this feature and submit a PR

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this is not a duplicate
  • This feature aligns with the project's goals

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions