mokhosh / filament-kanban-example

simple filament kanban example
15 stars 2 forks source link

Issue Title: Add Lazy Loading (Infinite Scroll) for Paginated Kanban Columns #1

Open SKSritharan opened 1 month ago

SKSritharan commented 1 month ago

Description: It would be great to enhance the pagination functionality in the mokhosh/filament-kanban package by implementing lazy loading (infinite scroll) for the Kanban columns.

Current Behavior: Currently, the package supports the standard retrieval of records. However, for large datasets, loading all items at once can result in performance and memory issues. While pagination can be manually implemented, there is no built-in support for lazy loading within the Kanban columns.

Feature Request: Add support for lazy loading (infinite scroll) within each Kanban column. This would load more items as the user scrolls down, improving both performance and user experience, especially when handling large amounts of data.

Expected Behavior:

Why is this feature important?:

Potential Implementation Ideas:

mokhosh commented 1 month ago

I'm not sure about the usefulness of kanban boards where you have more than one screen of data. Because they are a tool to give you an overview of where everything is, not just a specialized input for changing the status of records.

But feel free to make a PR for this.

SKSritharan commented 1 month ago

I’d be happy to take a look at implementing this and submit a PR. I believe it could be an optional feature, giving users the flexibility to enable or disable lazy loading depending on their specific use case.

mokhosh commented 1 month ago

I would suggest you source dive Filament and see if they have done a similar lazy loading feature anywhere and try to mimic their implementation if they have.