Skip to content

Improve document search with advanced filters #2412

@virgile-dev

Description

@virgile-dev

Feature Request

Issue created thanks to the feedback of @sampaccoud

Is your feature request related to a problem or unsupported use case? Please describe.
The current document search functionality returns an overwhelming number of results since we added sub-docs to the results, making it difficult to quickly locate relevant documents especially since sub-docs can have more generic names. Users struggle to find the right doc (e.g., Meeting Notes) without opening each one individually. This inefficiency leads to frustration and wasted time.

Describe the solution you'd like
To address this issue, we propose implementing the following filters to refine search results:

Quick Wins:

  1. Ownership Filter:

    • Add a toggle to filter between:
      • "My documents" (documents created by the user).
      • "Documents shared with me" (documents shared by others).
        This will help users focus on their own work or shared content.
  2. Document Hierarchy Filter: Implemented here : ✨(frontend) add top parent on sub docs search #1952

    • Add a toggle to filter between:
      • "Root documents" (standalone documents).
      • "Sub-documents" (documents nested within others).
    • This will help users quickly identify primary documents versus supporting files.
  3. Favorites Filter:

    • Add a toggle to show only "Favorited documents".
    • This will allow users to prioritize frequently accessed or critical documents.

Advanced Filters (Second Phase):

  1. Person-Based Filter:

    • Introduce a syntax or dropdown to filter documents associated with a specific person (e.g. owner, shared by).
    • Example: owner:JohnDoe or shared_by:JaneSmith.
    • This will help users find documents based on team members involved.
  2. Date Range Filter:

    • Add options to filter documents by:
      • Creation date (e.g., documents created between MM/DD/YYYY and MM/DD/YYYY).
      • Last modified date (e.g., documents updated in the last 7 days).
    • This will help users narrow down results to recent or historically relevant documents.

Considered Drawbacks:

  • Over-filtering could potentially hide relevant results if users apply too many constraints. However, this risk is mitigated by making filters optional and combinable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureadd a new featurefrontend✏️ Needs designA problem or need has been identified that requires UX design investigation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions