wails/v3/examples/dialogs-basic
Claude 742eccfdc0
feat(v3): add -f flag to force init in non-empty directories
Port the safety check enhancement from v2 to v3. The existing safety
check in templates.go now respects a new -f/--force flag that allows
users to explicitly acknowledge and proceed with initialization in
non-empty directories.

Fixes #4940 (v3 portion)

https://claude.ai/code/session_01EN7wUQygUFthJ8WaRULfot
2026-02-02 10:00:17 +00:00
..
.hidden_file feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
main.go feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
README.md feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
test.txt feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
wails-logo-small.jpg feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
wails-logo-small.png feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00

Dialog Test Application

This application is designed to test macOS file dialog functionality across different versions of macOS. It provides a comprehensive suite of tests for various dialog features and configurations.

Features Tested

  1. Basic file open dialog
  2. Single extension filter
  3. Multiple extension filter
  4. Multiple file selection
  5. Directory selection
  6. Save dialog with extension
  7. Complex filters
  8. Hidden files
  9. Default directory
  10. Full featured dialog with all options

Running the Tests

go run main.go

Test Results

When running tests:

  • Each test will show the selected file(s) and their types
  • For multiple selections, all selected files will be listed
  • Errors will be displayed in an error dialog
  • The application logs debug information to help track issues

Notes

  • This test application is primarily for development and testing purposes
  • It can be used to verify dialog behavior across different macOS versions
  • The tests are designed to not interfere with CI pipelines