mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4283] [MERGED] Fix Secret Plot run interval editing #6318
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#6318
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/4283
Author: @SpicyMarinara
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/secret-plot-run-interval-4277📝 Commits (4)
3204794start issue 4277 investigation2b4020efix secret plot run interval editing9bcc687test repeated secret plot interval edits9c43cc6cover secret plot fixture setup cleanup📊 Changes
3 files changed (+133 additions, -9 deletions)
View changed files
📝
e2e/core-flows.e2e.ts(+113 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+4 -9)📝
scripts/regressions/open-issues.regression.ts(+16 -0)📄 Description
Closes #4277
Why
After Narrative Director was added to a chat, its Secret Plot Run Interval appeared locked. The browser supplies edited input values as strings, but the Chat Settings control passed that string to a number-only normalizer. The normalizer therefore restored the previous value on every change. The setup form used a different string-aware path, which explains why removing and re-adding the agent allowed exactly one more edit.
What changed
DraftNumberInputcontrol.Impact
Secret Plot Run Interval can now be changed repeatedly after Narrative Director is installed, including on touch/mobile input, without per-keystroke metadata writes.
Automated validation
pnpm check— passed (Impeccable context, localization, ESLint/TypeScript, production build).pnpm regression:issues— staging baseline stops before this assertion at the pre-existing background-organization expectation (favorites: []is now returned but not expected at line 330).pnpm smoke:ui— completed with 150 passed and 86 project skips; 12 unrelated staging-baseline failures remain in accent-state and background-library tests.Manual verification requested
Summary by CodeRabbit
Bug Fixes
Tests
narrativeDirectorSecretPlotRunInterval.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.