gsxdsm
ebb805d253
FN-7261: add global modal dismissal setting
Add a global dashboard preference that keeps modal backdrop dismissal off by default while allowing operators to opt in.
- Add dismissModalsOnOutsideClick to global settings defaults, schema, docs, and save handling.
- Provide the modal dismissal preference through App and gate shared overlay mouse/touch dismissal on it.
- Expose the preference in Global General settings and update modal dismissal tests.
- Add a changeset for the published CLI package.
Files changed:
.changeset/fn-7261-global-modal-outside-dismiss.md | 7 ++++
docs/settings-reference.md | 1 +
.../core/src/__tests__/settings-defaults.test.ts | 9 +++++
packages/core/src/settings-schema.ts | 5 +++
packages/core/src/types.ts | 5 +++
packages/dashboard/app/App.tsx | 16 +++++----
.../app/components/AgentErrorDetailsModal.tsx | 4 ++-
.../__tests__/AgentErrorDetailsModal.test.tsx | 28 +++++++++++++++-
.../__tests__/SettingsModal.general.test.tsx | 23 ++++++++++++-
.../app/components/settings/save-split.ts | 1 +
.../settings/sections/GlobalGeneralSection.tsx | 5 +++
.../app/hooks/__tests__/useOverlayDismiss.test.tsx | 38 ++++++++++++++++++----
packages/dashboard/app/hooks/useAppSettings.ts | 5 +++
packages/dashboard/app/hooks/useOverlayDismiss.ts | 36 +++++++++++++++++---
14 files changed, 163 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-7261
Fusion-Task-Lineage: 4fd5195f-c759-46b4-b567-0d5a9d5b92e3
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-06-30 01:50:52 -07:00
..
2026-06-29 23:12:56 -07:00
2026-06-20 08:57:45 -07:00
2026-06-29 23:12:56 -07:00
2026-06-29 18:32:36 -07:00
2026-06-21 03:53:43 -07:00
2026-06-20 08:57:45 -07:00
2026-06-11 20:21:30 -07:00
2026-06-22 18:21:06 -07:00
2026-06-29 23:17:49 -07:00
2026-06-30 01:50:52 -07:00
2026-06-26 02:30:34 -07:00
2026-06-23 01:14:11 -07:00
2026-06-26 11:56:12 -07:00
2026-06-26 11:56:12 -07:00
2026-06-21 03:53:43 -07:00
2026-06-27 09:28:30 -07:00
2026-06-26 01:04:03 -07:00
2026-06-26 01:04:03 -07:00
2026-06-26 01:04:03 -07:00
2026-06-20 08:57:45 -07:00
2026-06-20 08:57:45 -07:00
2026-06-27 09:28:31 -07:00
2026-06-20 08:57:45 -07:00
2026-06-26 02:30:34 -07:00
2026-06-28 00:28:13 -07:00
2026-06-27 09:28:29 -07:00
2026-06-20 08:57:45 -07:00
2026-06-20 08:57:45 -07:00
2026-06-20 08:57:45 -07:00
2026-06-20 08:57:45 -07:00
2026-06-20 08:57:45 -07:00
2026-06-25 22:19:24 -07:00
2026-06-27 22:37:19 -07:00