Skip to content

Replace native message boxes with themed confirmation dialogs - #18

Merged
scokeepa merged 2 commits into
masterfrom
feat/custom-dialog-and-close-confirmation
Apr 14, 2026
Merged

Replace native message boxes with themed confirmation dialogs#18
scokeepa merged 2 commits into
masterfrom
feat/custom-dialog-and-close-confirmation

Conversation

@scokeepa

Copy link
Copy Markdown
Owner

Summary

  • Replace default Windows MessageBox.Show usage with a themed AppDialogWindow via new DialogService and migrate existing dialog entry points.
  • Add confirmation prompts for pane close, side tab close, pane reset, and workspace close with localized copy.
  • Interpret closing the last pane in a workspace as workspace-close intent and route through workspace close confirmation flow.

Test plan

  • dotnet test tests/Cmux.Tests/Cmux.Tests.csproj -c Debug
  • Manually verify custom modal appearance for settings/explorer/snippet flows.
  • Manually verify pane/surface/workspace close confirmation dialogs in UI.

… confirmations.

Introduce AppDialogWindow/DialogService for consistent modal UX, add workspace close confirmations, and treat closing the last pane as workspace close flow with confirmation.
@scokeepa
scokeepa merged commit a319208 into master Apr 14, 2026
2 checks passed
@scokeepa
scokeepa deleted the feat/custom-dialog-and-close-confirmation branch April 14, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant