Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Add Filter and Sort Controls for Name, Modified Date, and Size #127

Open
norato opened this issue Jan 6, 2025 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@norato
Copy link

norato commented Jan 6, 2025

Hello,

Thank you for the great work on this library! It has been very useful in our project.

Feature Request

I’d like to request a new feature to enhance the usability of the file manager: filter and sort controls. Specifically, it would be beneficial to allow filtering and sorting by the following attributes:

Attributes

  1. Name:

    • Sort alphabetically (ascending/descending).
    • Filter by partial or complete matches for file/folder names.
  2. Modified Date:

    • Sort by newest or oldest first.
    • Filter by date ranges.
  3. Size:

    • Sort by file size (smallest to largest or vice versa).
    • Filter by size ranges (e.g., files larger than X KB).

Use Cases

  • Sorting: Users can quickly organize and locate files by name, date, or size, improving overall efficiency.
  • Filtering: Users can narrow down a large list of files and folders to find specific items more quickly.

Suggested Implementation

  • Controls: Add a toolbar with dropdowns or input fields to specify sorting and filtering criteria.
  • Dynamic Updates: Reflect changes in the UI in real-time as users apply filters or sorting preferences.

This feature would make the library much more versatile for file-heavy use cases, such as managing large repositories or data collections.

Thank you for considering this request. Let me know if you need further details or have any questions!

Looking forward to your feedback!

Best regards,
Felipe Norato

@Saifullah-dev
Copy link
Owner

@norato I've already planned on adding these to the React File Manager.

20250110_014658.jpg

Glad to know you're finding this package useful 🙌

@Saifullah-dev Saifullah-dev added the enhancement New feature or request label Jan 15, 2025
@Saifullah-dev Saifullah-dev changed the title Feature Request: Add Filter and Sort Controls for Name, Modified Date, and Size [FEAT] Add Filter and Sort Controls for Name, Modified Date, and Size Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants