Skip to content

Add confirmation dialogs and validation for site and folder deletions#143

Merged
devlinx9 merged 2 commits intodevlinx9:testfrom
abhishekjnvk:develop
Mar 19, 2026
Merged

Add confirmation dialogs and validation for site and folder deletions#143
devlinx9 merged 2 commits intodevlinx9:testfrom
abhishekjnvk:develop

Conversation

@abhishekjnvk
Copy link
Copy Markdown

enhances the user experience of deleting nodes (sites and folders) in the session dialog by adding confirmation dialog. It also adjusts UI scaling defaults for macOS.

Improvements to node deletion safety and UX:

  • Added a guard to prevent deletion of the root node in the session tree (NewSessionDlg.java).
Screenshot 2026-03-05 at 7 22 17 PM
  • add confirmation dialogs when deleting nodes: a simple yes/no dialog for sites, and a folder-name entry dialog for folders to prevent accidental deletion. Supporting helper methods added for folder detection and confirmation (NewSessionDlg.java).
Screenshot 2026-03-05 at 7 22 25 PM Screenshot 2026-03-05 at 7 22 31 PM

UI scaling improvements:

  • Defaulted the UI scale factor to 1.0 for macOS to address Retina rendering issues, unless overridden by the user (ScalingUtil.java).

@devlinx9 devlinx9 changed the base branch from develop to test March 19, 2026 23:11
@devlinx9 devlinx9 merged commit 4cf0975 into devlinx9:test Mar 19, 2026
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