mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-25 12:45:50 +03:00
[PR #203] [MERGED] fix/194 Add global Escape-to-close for custom modals #273
Labels
No labels
bug
enhancement
enhancement
feature
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxVE-Local#273
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/community-scripts/ProxmoxVE-Local/pull/203
Author: @michelroegl-brunner
Created: 10/20/2025
Status: ✅ Merged
Merged: 10/20/2025
Merged by: @michelroegl-brunner
Base:
main← Head:feat/global-esc-close📝 Commits (1)
cacd4b3feat(modal): add global ESC-to-close via ModalStackProvider; wire all modals; keep danger/auth/loading protected; allow ESC even when typing; fix lint📊 Changes
15 files changed (+93 additions, -6 deletions)
View changed files
📝
src/app/_components/AuthModal.tsx(+2 -0)📝
src/app/_components/ConfirmationModal.tsx(+6 -3)📝
src/app/_components/ErrorModal.tsx(+2 -0)📝
src/app/_components/ExecutionModeModal.tsx(+2 -0)📝
src/app/_components/GeneralSettingsModal.tsx(+2 -0)📝
src/app/_components/HelpModal.tsx(+2 -0)📝
src/app/_components/LXCSettingsModal.tsx(+2 -0)📝
src/app/_components/LoadingModal.tsx(+2 -0)📝
src/app/_components/PublicKeyModal.tsx(+2 -0)📝
src/app/_components/ReleaseNotesModal.tsx(+2 -0)📝
src/app/_components/ScriptDetailModal.tsx(+2 -0)📝
src/app/_components/SettingsModal.tsx(+2 -0)📝
src/app/_components/SetupModal.tsx(+2 -0)➕
src/app/_components/modal/ModalStackProvider.tsx(+57 -0)📝
src/app/layout.tsx(+6 -3)📄 Description
Implements a global ESC-to-close behavior across custom modals.
Key points:
Testing:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.