[GH-ISSUE #1230] [Issue]: Refactor gallery Illustrate action has no pending state or clear failure #605

Closed
opened 2026-10-20 17:30:38 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cha1latte on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1230

Originally assigned to: @cha1latte on GitHub.

Summary

On upstream/refactor, the chat Gallery Illustrate action has no visible pending state and reports prerequisite failures unclearly. Clicking it with no LLM connection configured leaves the gallery unchanged and shows only a transient toast.

Expected behavior

The Illustrate action should either be disabled until required LLM/image configuration exists, or show an inline/persistent status that explains what is missing. While generation is running, the action should show progress and prevent accidental repeated clicks.

Actual behavior

The Illustrate button remains clickable, no loading/progress state appears in the gallery, and the gallery remains unchanged. In the repro, the only visible feedback was a toast saying No LLM connection is configured.

Steps to reproduce

  1. Check out upstream/refactor at commit 507e64ac.
  2. Run the Vite app with Remote Runtime URL set to http://127.0.0.1:8787.
  3. Open an existing conversation without an LLM connection configured.
  4. Open the chat Gallery.
  5. Click Illustrate.
  6. Observe the gallery and button state.

Marinara Engine version

upstream/refactor commit 507e64ac

Install type

Source

OS + version

Windows, exact version not specified

Browser or app shell

Vite web shell in Chromium/Playwright, with marinara-server remote runtime

Screenshots or video

Gallery remains unchanged after clicking Illustrate; feedback is a transient toast:

Gallery illustrate no status

Logs

Captured page error:

No LLM connection is configured

The fake image provider request count did not increase after this Illustrate click, so the action never reached image generation.

Additional context

Likely owner/component: src/features/modes/shared/chat-ui/components/ChatGallery.tsx and src/features/modes/shared/chat-ui/hooks/use-chat-timeline-actions.ts.

ChatGallery wires onClick={onIllustrate} directly and only disables the upload button for upload.isPending; the Illustrate button has no local pending/disabled/error state.

Template check

  • I provided the required summary, behavior, reproduction, and environment details.
  • If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
Originally created by @cha1latte on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1230 Originally assigned to: @cha1latte on GitHub. ### Summary On `upstream/refactor`, the chat Gallery `Illustrate` action has no visible pending state and reports prerequisite failures unclearly. Clicking it with no LLM connection configured leaves the gallery unchanged and shows only a transient toast. ### Expected behavior The `Illustrate` action should either be disabled until required LLM/image configuration exists, or show an inline/persistent status that explains what is missing. While generation is running, the action should show progress and prevent accidental repeated clicks. ### Actual behavior The `Illustrate` button remains clickable, no loading/progress state appears in the gallery, and the gallery remains unchanged. In the repro, the only visible feedback was a toast saying `No LLM connection is configured`. ### Steps to reproduce 1. Check out `upstream/refactor` at commit `507e64ac`. 2. Run the Vite app with Remote Runtime URL set to `http://127.0.0.1:8787`. 3. Open an existing conversation without an LLM connection configured. 4. Open the chat Gallery. 5. Click `Illustrate`. 6. Observe the gallery and button state. ### Marinara Engine version `upstream/refactor` commit `507e64ac` ### Install type Source ### OS + version Windows, exact version not specified ### Browser or app shell Vite web shell in Chromium/Playwright, with `marinara-server` remote runtime ### Screenshots or video Gallery remains unchanged after clicking `Illustrate`; feedback is a transient toast: ![Gallery illustrate no status](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/issue-evidence/image-generation-refactor-20260526/refactor-gallery-illustrate-no-status.png) ### Logs Captured page error: ```text No LLM connection is configured ``` The fake image provider request count did not increase after this `Illustrate` click, so the action never reached image generation. ### Additional context Likely owner/component: `src/features/modes/shared/chat-ui/components/ChatGallery.tsx` and `src/features/modes/shared/chat-ui/hooks/use-chat-timeline-actions.ts`. `ChatGallery` wires `onClick={onIllustrate}` directly and only disables the upload button for `upload.isPending`; the `Illustrate` button has no local pending/disabled/error state. ### Template check - [ ] I provided the required summary, behavior, reproduction, and environment details. - [ ] If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
bsakaguchi 2026-10-20 17:30:38 +07:00
  • closed this issue
  • added the
    client
    bug
    labels
Author
Owner

@Xelvanis commented on GitHub (May 26, 2026):

Additional audit note: the pending/error state should cover both prerequisite failures and asynchronous no-op/failure after the click. The button should disable or show progress while the illustrate path is running, and failures should remain visible long enough for the user to understand whether nothing happened because config is missing, generation failed, or upload/save failed.

<!-- gh-comment-id:4544643807 --> @Xelvanis commented on GitHub (May 26, 2026): Additional audit note: the pending/error state should cover both prerequisite failures and asynchronous no-op/failure after the click. The button should disable or show progress while the illustrate path is running, and failures should remain visible long enough for the user to understand whether nothing happened because config is missing, generation failed, or upload/save failed.
Sign in to join this conversation.
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
Pasta-Devs/Marinara-Engine#605
No description provided.