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).
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).