mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4477] [MERGED] fix(ui): keep Roleplay context overlays in front #6396
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#6396
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/4477
Author: @SpicyMarinara
Created: 8/2/2026
Status: ✅ Merged
Merged: 8/2/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/4476-roleplay-overlay-depth📝 Commits (6)
c1a4b41fix(ui): raise roleplay context overlaysc02b056Merge branch 'staging' into fix/4476-roleplay-overlay-depth6843bd0test(ui): prove roleplay overlays escape toolbarec44413Merge remote-tracking branch 'origin/fix/4476-roleplay-overlay-depth' into fix/4476-roleplay-overlay-depth88e23a2Merge remote-tracking branch 'origin/staging' into fix/4476-roleplay-overlay-deptha4b1d93fix(ui): refine active context anchoring📊 Changes
4 files changed (+79 additions, -38 deletions)
View changed files
📝
e2e/core-flows.e2e.ts(+6 -0)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+33 -23)📝
packages/client/src/components/chat/SummaryPopover.tsx(+23 -15)📝
scripts/regressions/roleplay-streaming.regression.ts(+17 -0)📄 Description
Linked issue
Closes #4476
Why
In Roleplay mode, Chat Summary and Active Context were rendered inside the toolbar's stacking context on desktop. Their local z-index could not escape that context, so independent floating surfaces such as Echo Chamber stream chat and the Trackers panel could paint above them.
What changed
document.bodyand position it from its toolbar anchor.document.bodyusing the shared floating-panel anchor helpers.Validation
pnpm check.pnpm regression:roleplay.pnpm smoke:ui.Manual verification notes
pnpm checkpassed locally for the overlay implementation.pnpm regression:roleplaypassed on the final branch head after syncing currentstaging.document.bodywith computedposition: fixedandz-index: 9999.Docs and release impact
UI evidence
Automated desktop/mobile browser assertions are included in
e2e/core-flows.e2e.ts; the focused run passed locally.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.