Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Keep queue activity indicators moving

Bitticd1a77d54a5a
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index b4024cd..e013dae 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -32,6 +32,7 @@ This alpha update adds LAN generation workers, Linux support, expanded color gra
## Fixes and improvements
+- Work queue activity indicators keep moving in the top bar and open queue when Windows interface animations are disabled.
- Image and video export offer None, Real-ESRGAN and SeedVR2 upscaling through SlopFab. Download their models from the new Other weights section in Settings → Generator.
- Image export offers sizes closest to the selected image's actual aspect ratio, even when project or saved generation settings differ.
- Click a work queue job to open its image, scene, reference, generator download or export. Navigation works across projects and preserves unsaved project edits.
diff --git a/src/WorkQueue.integration.test.tsx b/src/WorkQueue.integration.test.tsx
index 8de418c..5dc7d7c 100644
--- a/src/WorkQueue.integration.test.tsx
+++ b/src/WorkQueue.integration.test.tsx
@@ -98,6 +98,11 @@ it("keeps the application queue alive while switching projects and saves results
fireEvent.click(screen.getByRole("button", { name: "Work queue" }));
const panel = screen.getByRole("dialog", { name: "Work queue" });
expect(within(panel).getByRole("region", { name: "In progress" })).toHaveTextContent("First project");
+ for (const [step, percent] of [[2, 27], [8, 73]]) {
+ act(() => handlers.get("slopfab-progress")?.({ payload: { jobId: workId, stage: "denoising", step, totalSteps: 10 } }));
+ expect(within(panel).getByRole("progressbar", { name: "First scene progress" })).toHaveAttribute("aria-valuenow", String(percent));
+ expect(screen.getByRole("button", { name: "Work queue" })).toHaveClass("icon-button--busy");
+ }
expect(within(panel).getByRole("region", { name: "Upcoming work" })).toHaveTextContent("Upcoming scene");
fireEvent.click(within(panel).getByRole("button", { name: "Cancel Upcoming scene in First project" }));
expect(within(panel).queryByRole("region", { name: "Upcoming work" })).toBeNull();
@@ -155,6 +160,12 @@ it("opens a pending image and its completed result without restarting generation
const workId = vi.mocked(enqueueSlopfabGeneration).mock.calls[0][0].jobId;
fireEvent.click(screen.getByRole("tab", { name: "Video" }));
fireEvent.click(screen.getByRole("button", { name: "Work queue" }));
+ const panel = screen.getByRole("dialog", { name: "Work queue" });
+ for (const [step, percent] of [[2, 27], [8, 73]]) {
+ act(() => handlers.get("slopfab-progress")?.({ payload: { jobId: workId, stage: "denoising", step, totalSteps: 10 } }));
+ expect(within(panel).getByRole("progressbar", { name: "Image · Pictures progress" })).toHaveAttribute("aria-valuenow", String(percent));
+ expect(screen.getByRole("button", { name: "Work queue" })).toHaveClass("icon-button--busy");
+ }
fireEvent.click(screen.getByRole("button", { name: "Open Image · Pictures in Pictures" }));
expect(screen.getByRole("button", { name: "View Original" })).toHaveAttribute("aria-pressed", "true");
fireEvent.click(screen.getByRole("tab", { name: "Video" }));
diff --git a/src/styles/base.css b/src/styles/base.css
index 446f783..bfcf5a0 100644
--- a/src/styles/base.css
+++ b/src/styles/base.css
@@ -202,6 +202,15 @@ textarea:focus-visible,
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
+
+ /* Activity indicators must still distinguish working from stalled when
+ Windows disables interface animations. Keep only this small, slower
+ rotation; decorative motion and transitions remain disabled. */
+ .icon-button--busy::before,
+ .ui-ring--indeterminate svg {
+ animation-duration: 1.8s !important;
+ animation-iteration-count: infinite !important;
+ }
}
/* --- Utilities ------------------------------------------------------------- */
@@ -235,4 +244,3 @@ textarea:focus-visible,
@keyframes spin {
to { transform: rotate(360deg); }
}
-