Lucas Nogueira
4e0d6706f7
Merge branch 'v2' into v3
2026-09-22 06:42:29 -03:00
Lucas Fernandes Nogueira and Amr Bashir
b2d7c387ef
refactor(dialog)!: remove deprecated MessageDialogOptions.okLabel ( #3612 )
...
* refactor(dialog)!: remove deprecated MessageDialogOptions.okLabel
Use `buttons: { ok: 'label' }` instead. `ConfirmDialogOptions` (used by
`ask` and `confirm`) still accepts `okLabel` and `cancelLabel`.
* Apply suggestion from @amrbashir
---------
Co-authored-by: Amr Bashir <github@amrbashir.me >
2026-09-22 06:07:16 -03:00
Lucas Fernandes Nogueira
ae3c808eb6
fix: global API script should reuse window.__TAURI__ types ( #3602 )
...
currently each script inlines what it needs from @tauri-apps/api, so type checks like `image instanceof Image` all fail
2026-09-22 06:04:28 -03:00
Tony
3f21f39584
refactor(dialog): handle okLabel in js side ( #3295 )
...
* refactor(dialog): handle `okLabel` in js side
* Allow unused instead of `cfg(desktop)`
2026-03-01 23:22:25 +08:00
Tony
24154472a6
refactor(dialog): reuse message command for confirm ( #3287 )
...
* chore(dialog): reuse `message` command for confirm
* Add change file
* Remove ask and confirm from default permissions
* Format
* Remove extra `toString`
* Point `allow-confirm` to `allow-message`
2026-03-01 10:55:33 +08:00
509eba8d44
feat: support message dialogs with 3 buttons ( #2641 )
...
* feat: support message dialogs with 3 buttons
* change file
* From<String>
* untagged & YesNoCancel
* revert package.json
* Update plugins/dialog/src/desktop.rs
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* no optional
* Update desktop.rs
* Update plugins/dialog/src/models.rs
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* change to an enum
* convert back into union
* regen
* update @since
* map buttons for linux
* enhance type
* Add examples
---------
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Tony <legendmastertony@gmail.com >
2025-08-27 09:40:47 -03:00
Tony
2302c2db1c
fix(dialog): ask and confirm not using system button texts ( #1910 )
...
* Fix `ask`'s button texts being ok and cancel
* Update change file
2024-10-20 08:48:45 -03:00
renovate[bot] and FabianLars
faa89850d0
chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0 ( #1228 )
...
* chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0
* actually apply the rules lol
* rebuild
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2024-04-23 00:40:51 +02:00
Lucas Fernandes Nogueira
a04ea2f382
refactor: only inject API IIFE script when withGlobalTauri is true ( #1071 )
...
* refactor: only inject API IIFE script when withGlobalTauri is true
* fmt
* update tauri
2024-03-19 15:03:20 -03:00