mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1445] [Issue]: Settings tabs keep inactive views mounted and can freeze the right panel #718
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#718
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?
Originally created by @Promansis on GitHub (May 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1445
Originally assigned to: @Promansis on GitHub.
Summary
The shell settings panel keeps previously visited settings tabs mounted after they become inactive. Heavy inactive settings tabs can keep work alive offscreen and make the right panel feel frozen/stuttery after moving through multiple settings areas.
Expected behavior
Only the active settings tab should be mounted/rendered. Switching settings tabs should unmount inactive views so hidden settings surfaces do not keep subscriptions, effects, or expensive UI trees alive.
Actual behavior
On
upstream/refactor, the settings panel retains visited views:src/features/shell/settings/components/SettingsPanel.tsxstill keeps a module-levelmountedSettingsTabsset and renders every visited settings tab hidden/clipped.The rebased fix branch
fix/panel-mount-freezereplaces this with active-only settings tab mounting and keeps the right panel container active-only.Steps to reproduce
upstream/refactor, open Settings in the right-side panel.Impact area
Environment
upstream/refactorata6d2fc8b79093f35e766528460175240f5588552; candidate fix branchfix/panel-mount-freezeatd7d27f06e10051a7f2cfdd977344d4f5d2b5ebe3v24.15.0, pnpm10.33.2Logs, screenshots, or video
No screenshot/video captured. Evidence is from code inspection and the rebased fix diff.
Regression notes
This was identified while rebasing
fix/panel-mount-freezeonto currentupstream/refactor. The fix still applies because inactive settings tabs remain cached on the current refactor branch.Additional context
The fix is intentionally limited to React shell UI mounting behavior:
src/app/shell/RightPanel.tsxsrc/features/shell/settings/components/SettingsPanel.tsxpnpm typecheckpassed after rebasing the fix locally.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: