feat(plugins): notifications with command buttons (#1974)

Adds API 1.3 `ui.notify(level, title, body, actions) -> result<_, error>`: up to three buttons, each running one of the plugin's declared commands with an optional argument in the balloon's window and dismissing the balloon. An invalid action or an undeclared command fails the call and shows nothing. The plugin `Notification` event carries the actions; SDK `host::notify_with_actions` and `NotificationAction`. Closes #1955.

Co-authored-by: arnaud-ritti <[email protected]>
Цей коміт міститься в:
Arnaud Ritti authored and GitHub committed 2026-11-07 22:35:36 +08:00
1 джерело f3837e0fe7
коміт 112ed773fb
43 files changed
+419 -39

No files matched your search

+1 -1
Переглянути файл
@@ -1 +1 @@
82547cce827ac884aafed961134e5d54be3dcd937990a3c372dfcdd8102aea23
45764bde01e5475ec2eaf67db4b369f405f92800877c72b9f3dbef2e4b317a28