mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8441] [MERGED] feat: search within assembled prompt viewer #8602
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#8602
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/8441
Author: @SpicyMarinara
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/8430-prompt-viewer-find📝 Commits (4)
b3264a7chore: start prompt viewer find (#8430)26288d1feat: find text within assembled prompt viewer (#8430)c8c343fchore: shorten prompt Find hint4d0c8d3fix: support non-Latin prompt Find shortcuts📊 Changes
4 files changed (+435 additions, -16 deletions)
View changed files
📝
docs/chats/peek-prompt.md(+8 -0)➕
e2e/prompt-viewer-find.e2e.ts(+214 -0)📝
packages/client/src/components/chat/PeekPromptModal.tsx(+206 -16)📝
packages/client/src/localization/locales/en.json(+7 -0)📄 Description
Linked issue
Closes #8430
Why this change
Long assembled prompts are difficult to inspect on phones and tablets. Users need to find contradictions and stale state inside the viewer without exporting private prompt content.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run validation on
c8c343ff61e0645869fec4a7fc6c408360bdd17d:pnpm installandpnpm checkpassed on implementation commit26288d1fc(the final one-line English hint also passed localization and Prettier checks), including localization, formatting, workspace lint/type checks, E2E type checks, and production build. The existingHomeProfessorMariChat.tsxserverRunhook warning remains.PLAYWRIGHT_CLIENT_PORT=7860 PLAYWRIGHT_SERVER_PORT=7861 PLAYWRIGHT_MOBILE_CLIENT_PORT=7862 PLAYWRIGHT_MOBILE_SERVER_PORT=7863 pnpm regression:ui e2e/prompt-viewer-find.e2e.ts --workers=1 --output=.tmp/8430-ready-browser: 6 passed across desktop Chromium, mobile Chromium, and mobile WebKit.PLAYWRIGHT_CLIENT_PORT=7860 PLAYWRIGHT_SERVER_PORT=7861 PLAYWRIGHT_MOBILE_CLIENT_PORT=7862 PLAYWRIGHT_MOBILE_SERVER_PORT=7863 PLAYWRIGHT_ONLY_PROJECT=desktop pnpm smoke:ui --output=.tmp/8430-smoke: 7 passed.Human follow-up:
Keyboard-layout review repair
Repair head:
4d0c8d3c1e3f5cd6f60d7e51787263ed2af924fc.а/KeyFleftdefaultPreventedfalse. The failing trace, screenshot and log remain in.tmp/8430-nonlatin-before.fmatch and Alt guard, with a physicalKeyFfallback only when the reported key is not an ASCII letter. No shared shortcut behavior was changed.pnpm checkpassed after the repair.node scripts/run-regressions.mjs --filter scripts/regressions/roleplay-streaming.regression.tspassed 1/1; that script has no assertion tied to the reflowed viewer section JSX.PLAYWRIGHT_CLIENT_PORT=7860 PLAYWRIGHT_SERVER_PORT=7861 PLAYWRIGHT_MOBILE_CLIENT_PORT=7862 PLAYWRIGHT_MOBILE_SERVER_PORT=7863 pnpm regression:ui e2e/prompt-viewer-find.e2e.ts --workers=2 --output=.tmp/8430-nonlatin-after: 6/6 passed across desktop Chromium, mobile Chromium and mobile WebKit. Each case checks Ctrl/Cmd + Cyrillicа/KeyF, typedfon another physical key, Dvoraku/KeyF, and AltGr negatives from the panel, Find input and scroll-area control, including focus anddefaultPrevented.c8c343ff6: completed with 0 findings across the two changed files.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUpdated
docs/chats/peek-prompt.md. Translations are tracked by #8443 and coordinated in #8445. No version/release metadata changed.UI evidence (if applicable)
Synthetic before/after proof: https://gist.github.com/SpicyMarinara/057c75894f82b8d7f43d635b38c7602d
Downloaded PNG bytes were verified against the local artifacts.
Combined integration validation
Latest isolated candidate
9f7e6771bae3be3e5bd26a9579c43976c991dc43(tree16723f5210f18e86de41df66b38fe6adc4ff2532) combines #8441 at4d0c8d3c, #8444 ate3fd9cea, and merged #8442 ataaa9ab0e. All 29 changed file blobs match their owning heads exactly.pnpm check, the prompt suite, 12 macro regressions, the real Game image route fixture, 18 decision regressions, card-search/pagination and memory-audience regressions all passed. Focused desktop/mobile Chromium/WebKit cases passed 9/9; shell smokes passed 7/7. Browser emulation, local fixture-provider proof, hosted checks and physical-device testing remain distinct evidence.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.