lllyasviel / lllyasviel/stable-diffusion-webui-forge

[Feature Request] Paged Scroll For Model Selection Instead Of Infinite Scroll

Open
#433 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Essentially the model selections become page-based instead of infinite scroll. Additional config to choose the max number of models per page rendered. Model hoarders (me) have tons of models and just clicking on the LORA tab completely freezes the browser and scrolling is incredibly slow. This is a feature oriented towards those with large amounts of models.

![image](https://github.com/lllyasviel/stable-diffusion-webui-forge/assets/91944990/9811c4e5-352b-4a3f-aae0-071251cacb17)

### Proposed workflow

When either Textual Inversion, Checkpoints, LORAs or Hypernetworks tab are selected, instead of generating and displaying all model cards at once from the respective directory/ies, it splits them into pages with a page number at the top and it only renders the current page number's respective chunk, the rendered cards are respectively offset from the available model list.

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the UI entry points for the Textual Inversion, Checkpoints, LORAs, and Hypernetworks tabs, then trace how their model cards are generated; done means each tab renders only the selected page, supports a configurable maximum per page, and avoids freezing with large model collections.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.