mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4751] [MERGED] Fix NovelAI style plate and setup dropdown follow-up regressions #6487
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#6487
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/4751
Author: @SpicyMarinara
Created: 8/8/2026
Status: ✅ Merged
Merged: 8/8/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/fix-4748-4750-followups📝 Commits (3)
5443c00Start assigned issue follow-up sweepade9c57fix: resolve style plate and setup selector regressions3de4bf0test: assert setup selector contrast📊 Changes
5 files changed (+220 additions, -67 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/core-flows.e2e.ts(+35 -16)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+155 -46)📝
packages/client/src/lib/chat-attachment-images.ts(+17 -1)📝
packages/shared/src/constants/image-generation-defaults.ts(+11 -4)📄 Description
Linked issues
Closes #4748
Closes #4750
Why this change
The prior fixes did not cover the actual failure modes. NovelAI style plates were still decoded into a full-resolution browser bitmap before resizing, and the editor sanitizer compared large encoded image strings by serializing them twice. On Windows Chromium, this could destabilize the center editor. The Connection and Preset menus were still native
<select>popups, whose Windows rendering ignores the page option colors.What changed
createImageBitmapdecoding instead of allocating a full-size browser bitmap first.Validation
pnpm checkpnpm smoke:uiCONTRIBUTING.mdAutomated evidence completed:
pnpm checkpassed; the full browser suite passed with 202 tests and 100 intentional viewport skips; focused desktop and mobile Chromium runs passed. All boxes remain intentionally unchecked for human verification.Manual verification still requested: upload the original reported style plate and open both new-chat selectors on a physical Windows Chrome or Edge installation.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.