bug(ui): profile panel can stack over other modals — missing ModalScrim guard #57
Reference in New Issue
Block a user
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?
Bug
profile_plugin.rsspawns a modal overlay without first checking whether aModalScrimalready exists. This means the Profile panel can be layered on top of an already-open Settings, Help, or Sync panel, breaking the modal stack.Affected file
solitaire_engine/src/profile_plugin.rsFix
Add the standard guard before spawning (per CLAUDE.md §14.2):
Relevant rule
CLAUDE.md §11: spawning a second ModalScrim while one already exists without first dismissing the existing one