Skip to content

fix(desktop): default confirm dialog selection to "No"#1400

Open
Efroim-Propel wants to merge 1 commit intopingdotgg:mainfrom
Efroim-Propel:fix/confirm-dialog-default-to-no
Open

fix(desktop): default confirm dialog selection to "No"#1400
Efroim-Propel wants to merge 1 commit intopingdotgg:mainfrom
Efroim-Propel:fix/confirm-dialog-default-to-no

Conversation

@Efroim-Propel
Copy link

@Efroim-Propel Efroim-Propel commented Mar 25, 2026

Kept hitting "delete thread" and nothing was happening, it took me a minute to realize the confirm dialog defaults to "Yes", so I was instinctively clicking the non-highlighted "No" button.

I changed the defaultId to 0 so that "No" is highlighted by default, which is the standard for destructive confirmations. I double checked all call sites, and all usages are for delete/revert/reset actions, so defaulting to the safe option makes sense everywhere.

The confirm dialog defaultId was set to the "Yes" button, causing
users to instinctively press the non-highlighted safe option and
unintentionally cancel destructive actions like thread deletion.
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.

2 participants