mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1295] [MERGED] Fix gallery Illustrate status #5020
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#5020
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1295
Author: @cha1latte
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-issue-1230-gallery-illustrate-status📝 Commits (1)
ab6a678Fix gallery illustrate status📊 Changes
6 files changed (+71 additions, -15 deletions)
View changed files
📝
src/features/modes/conversation/components/ChatConversationSurface.tsx(+1 -1)📝
src/features/modes/roleplay/components/ChatRoleplaySurface.tsx(+1 -1)📝
src/features/modes/shared/chat-ui/components/ChatCommonOverlays.tsx(+1 -1)📝
src/features/modes/shared/chat-ui/components/ChatGallery.tsx(+65 -9)📝
src/features/modes/shared/chat-ui/components/ChatGalleryDrawer.tsx(+1 -1)📝
src/features/modes/shared/chat-ui/hooks/use-chat-timeline-actions.ts(+2 -2)📄 Description
Linked issue
Closes #1230
Why this change
Illustrateaction could fail prerequisites with only a transient toast and no persistent drawer feedback, and it stayed clickable while the async retry path was running.What changed
Illustrateaction await the async illustrator retry callback.No LLM connection is configured, visible inside the gallery drawer after the toast fades.Refactor impact
Primary owner:
Shared mode UI / chat gallery.
Impact areas reviewed:
onIllustratecallback.Boundary notes:
Pressure points touched:
ChatGallery,ChatGalleryDrawer,ChatCommonOverlays.Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyCodex-run proof, with checkboxes intentionally left for a human contributor:
node scratch\issue-1230-gallery-illustrate-proof.mjs --beforereproduced the original bug: the button stayed enabled, no inline pending status appeared, and the missing LLM connection was only a toast.node scratch\issue-1230-gallery-illustrate-proof.mjs --afterverified the fixed path: pending state appears, the button disables during the async prerequisite check,No LLM connection is configuredremains inline after failure, and the button re-enables for deliberate retry.pnpm typecheckpassed.pnpm checkpassed: architecture, frontend typecheck, Rustcargo check --manifest-path src-tauri/Cargo.toml --workspace, and docs.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed.Manual verification notes
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or release metadata changes needed; this is a small visible UI feedback fix.
UI evidence
Before, the action remains enabled with no inline status:
After, pending state disables the action:
After, the missing LLM connection failure persists inline:
Summary by CodeRabbit
New Features
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.