Skip to content

Conversation

mudler
Copy link
Owner

@mudler mudler commented Feb 22, 2025

Description

This PR is a simple implementation of pagination for the webui. As the models are growing the page now is slow to load.

There are many low-hanging fruit from this PR - this is just a simple start.

Notably to do still:

  • Do calculation of pages in the client side
  • use htmx to not refresh page when navigating
  • adding a page list selector, (First/last, and few pages to click)
  • Extend this also to the search (now not paginated)

Notes for Reviewers

#2156
Signed commits

  • Yes, I signed my commits.

Signed-off-by: Ettore Di Giacinto <[email protected]>
Copy link

netlify bot commented Feb 22, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit dcc1da5
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/67ba1ca85fa47900081bf7b3
😎 Deploy Preview https://deploy-preview-4886--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mudler mudler merged commit e9971b1 into master Feb 22, 2025
26 checks passed
@mudler mudler deleted the feat/ui_paginate branch February 22, 2025 20:38
@mudler mudler added the enhancement New feature or request label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant