Repository navigation
Done
Description
🤖 Kit (jatmn's assistant agent)
Rebuild the six settings/record dialog interiors on Mantine Modal parts (Header, Title, Body, CloseButton) and delete the leftover .modal-box / .modal-action chrome. This is a shared-dialog-structure rework from the #1127 audit (comment).
This is not a second visual pass over each editor. #1123 owns the Sentinel look for those dialogs (and already lists them). Do not duplicate that page/dialog checklist here.
Investigated read-only on main at de66727.
What we carry
- The shell is already Mantine:
Modal.Root,Modal.Overlay,Modal.ContentwithclassNames: { content: "modal-overlay" }, plusFocusTrap.InitialFocus, infrontend/app.js(around the editor overlay). Escape, focus trap, and outside-dismiss already come from Mantine. - Interiors still use daisy-era chrome: 7
className: "modal-box…"uses (rule editors, command editor, case view, ban dialog) and.modal-actionfooters. CSS infrontend/style.css(.modal-overlay~253–256,.modal-box~256,.modal-actiondefined twice at 257 and 330, plus.modal-box.case-viewand.modal-box.ban-dialog). - The six dialogs (same list as fix(webui): apply redesign styling to remaining pages and settings dialogs #1123):
RuleEditor,CustomRuleEditor,OnboardingTrapEditor,CommandEditor,CaseView,BanDialoginfrontend/app.js. “Full editor” on the already-restyled Rules and Commands workbenches still opens these interiors.
Switch-over
- Move each interior onto
Modal.Header/Modal.Title/Modal.Body/Modal.CloseButton(and a footer slot) themed to Sentinel tokens, or reuse the workbench inspector chrome where fix(webui): apply redesign styling to remaining pages and settings dialogs #1123 already decided that is the look. - Keep existing focus, Escape, outside-dismiss, dirty-leave (
canLeave/closeOverlay), and draft-tracking behavior. - Then delete
.modal-box,.modal-overlay, and.modal-actiononce unused. Prefer a single footer rule instead of the current duplicate.modal-actionblocks.
Order and overlap
- Coordinate with fix(webui): apply redesign styling to remaining pages and settings dialogs #1123. Prefer landing this with, or immediately after, fix(webui): apply redesign styling to remaining pages and settings dialogs #1123's dialog work so one PR (or a tight sequence) does not restyle the same interiors twice. If fix(webui): apply redesign styling to remaining pages and settings dialogs #1123 lands first, this issue only finishes the Mantine structure and CSS deletion. If this lands first, fix(webui): apply redesign styling to remaining pages and settings dialogs #1123 should style the Mantine Header/Body/footer, not invent another
.modal-boxlook. - Button and field class names inside the dialogs may still be daisy until the button and form-control issues under chore(webui): track leftover CSS and dependency cleanup after the redesign #1127 land; do not expand this issue into those switches.
- Removals follow the latest-upstream rule: official published packages only, no forks or patches.
Acceptance criteria
- All six dialogs render their chrome through Mantine Modal parts (or the shared workbench inspector chrome chosen in fix(webui): apply redesign styling to remaining pages and settings dialogs #1123).
.modal-box/.modal-action/ custom.modal-overlayclass names and CSS are gone. - Focus trap, Escape, outside-dismiss, unsaved-change prompts, and save/cancel behavior are unchanged.
- This issue does not itself walk every workspace page or redo fix(webui): apply redesign styling to remaining pages and settings dialogs #1123's visual checklist.
- Light and Dark still work. Build and frontend tests pass, including editor/dialog coverage.
Metadata
Metadata
Assignees
Labels
No labels
Activity
jatmn commentedon Dec 4, 2026
fix-issue-queue claim 2026-12-04T06:30:17Z c23ea282236dc624