Skip to content

[Improvement]Add hover tooltip to show index failure reason on documents list page #1231

@earayu

Description

@earayu

Background

On the documents list page (/web/collections/{collection_id}/documents), when document indexing fails, users cannot easily determine why the failure occurred. Currently, there's no visual indication or accessible way to view the specific error message that caused the indexing to fail.

This creates a poor user experience as users need to investigate elsewhere or retry without understanding the root cause of the failure.

Proposal

Implement a hover tooltip feature for failed document entries that displays the failure reason:

  1. Visual indicator: Add a clear status icon or styling for failed documents
  2. Hover tooltip: Show detailed error message when user hovers over failed documents
  3. Error message formatting: Display user-friendly error descriptions (e.g., "File too large", "Unsupported format", "Parsing failed")
  4. Fallback handling: Show generic message if specific error details are unavailable
  5. Responsive design: Ensure tooltip works well on both desktop and mobile interfaces

This enhancement will help users quickly understand indexing issues and take appropriate action without navigating away from the documents list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions