• Stefy Lanza (nextime / spora )'s avatar
    admin: stop the models page jumping to the bottom on refresh · d7636907
    Stefy Lanza (nextime / spora ) authored
    Clicking Load/Unload (or any refreshLocal) re-ran loadCachedModels, which
    blanked the HF/GGUF lists to "Loading…" every time. That collapsed the page
    height and threw the viewport to the end, so a whisper-server unload looked
    like it "did nothing and scrolled to the bottom" even though it worked.
    
    Now the "Loading…" placeholder only shows on the first (empty) load; on a
    refresh the existing rows stay in place and the scroll position is captured
    and restored around the re-render.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    d7636907
models.html 203 KB