mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #977] [MERGED] fix(client): make regex Prompt Only toggle clickable #4867
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#4867
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/977
Author: @cha1latte
Created: 5/18/2026
Status: ✅ Merged
Merged: 5/18/2026
Merged by: @cha1latte
Base:
staging← Head:fix/issue-965-regex-prompt-only-toggle📝 Commits (1)
47ec0e7fix(client): make regex prompt-only toggle clickable📊 Changes
2 files changed (+5 additions, -3 deletions)
View changed files
➕
docs/pr-evidence/issue-965/after.png(+0 -0)📝
packages/client/src/components/agents/RegexScriptEditor.tsx(+5 -3)📄 Description
Linked issue
Closes #965
Why this change
Prompt Only, but Firefox users reported that the toggle itself did not visibly change.What changed
Prompt Onlyrow's nestedlabel > buttonstructure with a plain row so the toggle click has one activation path.aria-labelandaria-pressedto the toggle so the current state is exposed to browser automation and assistive technology.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
BROWSER=chromium EXPECT_FIXED=1 node scratch/issue-965-repro.mjs: created a new regex script, clickedPrompt Onlyon, clicked it back off, clicked it on again, saved, and verified the saved row hadpromptOnly: "true".node scratch/issue-965-edit-existing.mjs: opened an existing regex script, toggledPrompt Onlyfrom true to false, saved, and verified the saved row hadpromptOnly: "false".pnpm check; it passed.Docs and release impact
No docs or release metadata changes are needed for this focused client UI fix.
UI evidence (if applicable)
Reporter evidence before fix:
Codex evidence after fix:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.