mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1230] [Issue]: Refactor gallery Illustrate action has no pending state or clear failure #605
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#605
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 GalleryIllustrateaction 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
Illustrateaction 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
Illustratebutton 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 sayingNo LLM connection is configured.Steps to reproduce
upstream/refactorat commit507e64ac.http://127.0.0.1:8787.Illustrate.Marinara Engine version
upstream/refactorcommit507e64acInstall type
Source
OS + version
Windows, exact version not specified
Browser or app shell
Vite web shell in Chromium/Playwright, with
marinara-serverremote runtimeScreenshots or video
Gallery remains unchanged after clicking
Illustrate; feedback is a transient toast:Logs
Captured page error:
The fake image provider request count did not increase after this
Illustrateclick, so the action never reached image generation.Additional context
Likely owner/component:
src/features/modes/shared/chat-ui/components/ChatGallery.tsxandsrc/features/modes/shared/chat-ui/hooks/use-chat-timeline-actions.ts.ChatGallerywiresonClick={onIllustrate}directly and only disables the upload button forupload.isPending; theIllustratebutton has no local pending/disabled/error state.Template check
@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.