-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(v3): MessageDialog.Show() returns clicked button label #4810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v3-alpha
Are you sure you want to change the base?
Changes from all commits
3d1c650
72e0c7a
ffce968
da0e356
8e959ba
e6994a2
8fcb46b
40db404
0f3ba54
cfd7cd0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,7 +100,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
| ## Changed | ||
| - Update the documentation page for Wails v3 Asset Server by @ndianabasi | ||
| - **BREAKING**: Remove package-level dialog functions (`application.InfoDialog()`, `application.QuestionDialog()`, etc.). Use the `app.Dialog` manager instead: `app.Dialog.Info()`, `app.Dialog.Question()`, `app.Dialog.Warning()`, `app.Dialog.Error()`, `app.Dialog.OpenFile()`, `app.Dialog.SaveFile()` | ||
| - Update dialogs documentation to match actual API: use `app.Dialog.*`, `AddButton()` with callbacks (not `SetButtons()`), `SetDefaultButton(*Button)` (not string), `AddFilter()` (not `SetFilters()`), `SetFilename()` (not `SetDefaultFilename()`), and `app.Dialog.OpenFile().CanChooseDirectories(true)` for folder selection | ||
| - Update dialogs documentation to match actual API: use `app.Dialog.*`, `Buttons(...)`, `Show() error` (non-blocking), `Result() (string, error)` (blocking), `AddFilter()`, `SetFilename()`, and `app.Dialog.OpenFile().CanChooseDirectories(true)` for folder selection | ||
|
|
||
| ## Fixed | ||
| - Fix crash on macOS when toggling window visibility via Hide()/Show() with ApplicationShouldTerminateAfterLastWindowClosed enabled (#4389) by @leaanthony | ||
|
|
@@ -254,30 +254,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
| ## v3.0.0-alpha.29 - 2025-09-25 | ||
|
|
||
| ## Added | ||
| - macOS: Shows native window controls in the menu bar in [#4588](https://github.com/wailsapp/wails/pull/4588) by @nidib | ||
| - Add macOS Dock service to hide/show app icon in the dock @popaprozac in [PR](https://github.com/wailsapp/wails/pull/4451) | ||
| - macOS: Shows native window controls in the menu bar in [#4588](https://github.com/wailsapp/wails/pull/4588) by @nidib | ||
| - Add macOS Dock service to hide/show app icon in the dock @popaprozac in [PR](https://github.com/wailsapp/wails/pull/4451) | ||
|
|
||
| ## Changed | ||
| - macOS: Use `visibleFrame` instead of `frame` for window centering to exclude menu bar and dock areas | ||
| - macOS: Use `visibleFrame` instead of `frame` for window centering to exclude menu bar and dock areas | ||
|
|
||
| ## Fixed | ||
| - Fixed redefinition error for liquid glass demo in [#4542](https://github.com/wailsapp/wails/pull/4542) by @Etesam913 | ||
| - Fixed issue where AssetServer can crash on MacOS in [#4576](https://github.com/wailsapp/wails/pull/4576) by @jghiloni | ||
| - Fixed compilation issue when building with NextJs. Fixed in [#4585](https://github.com/wailsapp/wails/pull/4585) by @rev42 | ||
| - Fixed redefinition error for liquid glass demo in [#4542](https://github.com/wailsapp/wails/pull/4542) by @Etesam913 | ||
| - Fixed issue where AssetServer can crash on MacOS in [#4576](https://github.com/wailsapp/wails/pull/4576) by @jghiloni | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix operating system name capitalization. The operating system from Apple should be written as "macOS" (not "MacOS") for consistency with Apple's official branding. 🔎 Proposed fix-Fixed issue where AssetServer can crash on MacOS in [#4576](https://github.com/wailsapp/...
+Fixed issue where AssetServer can crash on macOS in [#4576](https://github.com/wailsapp/...Apply the same fix to both occurrences at lines 244 and 258. Also applies to: 258-258 🧰 Tools🪛 LanguageTool[uncategorized] ~244-~244: The operating system from Apple is written “macOS”. (MAC_OS) 🤖 Prompt for AI Agents |
||
| - Fixed compilation issue when building with NextJs. Fixed in [#4585](https://github.com/wailsapp/wails/pull/4585) by @rev42 | ||
| - Fixed pipelines for nightly release in [#4597](https://github.com/wailsapp/wails/pull/4597) by @riadafridishibly | ||
|
|
||
| ## v3.0.0-alpha.29 - 2025-09-25 | ||
|
|
||
| ## Added | ||
| - Add macOS Dock service to hide/show app icon in the dock @popaprozac in [PR](https://github.com/wailsapp/wails/pull/4451) | ||
| - Add macOS Dock service to hide/show app icon in the dock @popaprozac in [PR](https://github.com/wailsapp/wails/pull/4451) | ||
|
|
||
| ## Changed | ||
| - macOS: Use `visibleFrame` instead of `frame` for window centering to exclude menu bar and dock areas | ||
| - macOS: Use `visibleFrame` instead of `frame` for window centering to exclude menu bar and dock areas | ||
|
|
||
| ## Fixed | ||
| - Fixed redefinition error for liquid glass demo in [#4542](https://github.com/wailsapp/wails/pull/4542) by @Etesam913 | ||
| - Fixed issue where AssetServer can crash on MacOS in [#4576](https://github.com/wailsapp/wails/pull/4576) by @jghiloni | ||
| - Fixed compilation issue when building with NextJs. Fixed in [#4585](https://github.com/wailsapp/wails/pull/4585) by @rev42 | ||
| - Fixed redefinition error for liquid glass demo in [#4542](https://github.com/wailsapp/wails/pull/4542) by @Etesam913 | ||
| - Fixed issue where AssetServer can crash on MacOS in [#4576](https://github.com/wailsapp/wails/pull/4576) by @jghiloni | ||
| - Fixed compilation issue when building with NextJs. Fixed in [#4585](https://github.com/wailsapp/wails/pull/4585) by @rev42 | ||
| - Fixed pipelines for nightly release in [#4597](https://github.com/wailsapp/wails/pull/4597) by @riadafridishibly | ||
|
|
||
| ## v3.0.0-alpha.27 - 2025-09-07 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: wailsapp/wails
Length of output: 784
🏁 Script executed:
Repository: wailsapp/wails
Length of output: 613
🏁 Script executed:
Repository: wailsapp/wails
Length of output: 429
🏁 Script executed:
Repository: wailsapp/wails
Length of output: 2979
🏁 Script executed:
Repository: wailsapp/wails
Length of output: 429
🏁 Script executed:
Repository: wailsapp/wails
Length of output: 767
🏁 Script executed:
Repository: wailsapp/wails
Length of output: 2930
Fix dialog API documentation — multiple inaccuracies found.
The changelog documents an incorrect API. The actual
MessageDialog.Show()implementation:(string, error)— not justerrorInvokeSyncWithResultAndError(...wg.Wait()...)to enforce synchronous executionResult()method onMessageDialogin v3Update the changelog to accurately reflect:
Show() (string, error)(blocking) and remove the non-existentResult()method from the documentation.🤖 Prompt for AI Agents