дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
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]>
Цей коміт міститься в:
1 джерело
f3837e0fe7
коміт
112ed773fb
43 files changed
+419
-39
No files matched your search
@@ -1 +1 @@
|
||||
82547cce827ac884aafed961134e5d54be3dcd937990a3c372dfcdd8102aea23
|
||||
45764bde01e5475ec2eaf67db4b369f405f92800877c72b9f3dbef2e4b317a28
|
||||
Reference in new issue
Заблокувати користувача