Skip to content

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

@cha1latte

Description

@cha1latte

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions