dust-tt / dust

Amplify your team's potential with customizable and secure AI assistants.
https://dust.tt
MIT License
932 stars 106 forks source link

Server side pagination alter the browsing experience #7527

Open flvndvd opened 22 hours ago

flvndvd commented 22 hours ago

It seems we've recently transitioned to fully server-side pagination for browsing content from data sources. This change has made the search bar at the top of the page useless as it only search in the current active page, significantly hindering the browsing experience. With a page size limited to only 25 items, users typically want to quickly find a specific document and will naturally head to the search input first. You can easily experience the issue here by searching for "Edouard," a record which exists but is located on page 4.

flvndvd commented 22 hours ago

FYI @Duncid.

tdraier commented 19 hours ago

I would suggest that we remove pager, and replace with infinite scroll with increased default page size. Interesting thing with infinite scroll is that filtering will automatically trigger the load of new pages if not enough results are available in the current page (we'll reached the end of the table)

Duncid commented 1 hour ago

works for me