Skip to content

Add Pagination with Infinite Scroll for Large Folders #97

@kannifarhad

Description

@kannifarhad

Optimize the File Manager folder view by implementing pagination with infinite scroll for folders containing more than 100 files or subfolders. This will improve performance and user experience, especially in directories with a large number of items.

Requirements:
• Load a maximum of 100 items per page.
• Automatically load the next page when the user scrolls near the bottom (infinite scroll).
• Show a loading spinner or skeleton while fetching additional items.
• Maintain scroll position and avoid reloading previously loaded pages.
• Ensure search, filters, and sorting continue to work seamlessly with pagination.
• Prevent duplicate items from appearing across pages.
• Provide a fallback pagination control (e.g., “Load More” button) if infinite scrolling fails.

Acceptance Criteria:
• When opening a folder with ≤ 100 items, all files load instantly.
• When a folder has > 100 items, items load in batches as the user scrolls.
• Smooth user experience without noticeable lag or UI blocking.
• Works correctly when navigating between folders or performing actions (copy, move, rename).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions