[PR #1138] viewer: keep the loading bar visible for the current model #1172

Open
opened 2026-11-26 20:20:20 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1138
Author: @Okachamie
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: studio-model-load-progress


📝 Commits (1)

  • 442c348 viewer: keep the loading bar visible for the current model

📊 Changes

2 files changed (+23 additions, -1 deletions)

View changed files

📝 tests/test_viewer_studio.cjs (+20 -0)
📝 viewer/studio.html (+3 -1)

📄 Description

Claimed in the coordination issue as: STUDIO-MODEL-LOAD-PROGRESS

What and why

A model that finishes loading schedules a 250 ms timer to hide the Studio loading bar. If another model starts loading before the timer fires, the old timer can hide the new model's progress. Check the model load ID before hiding the bar.

Tested

  • On CachyOS with Node.js 26.13.1, the synthetic timer regression fails on upstream 6293c1c4 and passes with the fix.
  • node --test tests/test_*.cjs passed all 70 tests.
  • git diff --check and scripts/check_no_game_data.py passed.

GPUs tested: n/a

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly.
  • One topic.
  • No game data, keys or decryption.
  • Translator contract entry: n/a.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1138 **Author:** [@Okachamie](https://github.com/Okachamie) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `studio-model-load-progress` --- ### 📝 Commits (1) - [`442c348`](https://github.com/ubiquitarianism/leonida/commit/442c34884382636492ed889f64e267db89c8d522) viewer: keep the loading bar visible for the current model ### 📊 Changes **2 files changed** (+23 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_viewer_studio.cjs` (+20 -0) 📝 `viewer/studio.html` (+3 -1) </details> ### 📄 Description Claimed in the coordination issue as: [STUDIO-MODEL-LOAD-PROGRESS](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7141246903) ### What and why A model that finishes loading schedules a 250 ms timer to hide the Studio loading bar. If another model starts loading before the timer fires, the old timer can hide the new model's progress. Check the model load ID before hiding the bar. ### Tested - On CachyOS with Node.js 26.13.1, the synthetic timer regression fails on upstream `6293c1c4` and passes with the fix. - `node --test tests/test_*.cjs` passed all 70 tests. - `git diff --check` and `scripts/check_no_game_data.py` passed. GPUs tested: n/a AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic. - [x] No game data, keys or decryption. - Translator contract entry: n/a. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1172
No description provided.