1
0

Refactored actions

* New return type which allows showing messages or toasts.
* Unified action header.
* More macros to make stuff consistent.
* A few bugfixes.
This commit is contained in:
Patrick Gaskin
2020-04-24 20:24:34 -04:00
parent ff5a2c0406
commit bcc61c14d4
13 changed files with 181 additions and 116 deletions

View File

@@ -21,6 +21,8 @@
# <action> the type of action to run, one of:
# dbg_syslog - writes a message to syslog (for testing)
# dbg_error - always returns an error (for testing)
# dbg_msg - shows a message (for testing)
# dbg_toast - shows a toast (for testing)
# kfmon - triggers a kfmon action (TODO)
# nickel_setting - toggles a boolean setting
# nickel_extras - opens one of the beta features
@@ -33,9 +35,9 @@
# kfmon - TODO
# nickel_setting - one of:
# invert - toggles FeatureSettings.InvertScreen (all versions)
# screenshots - toggles FeatureSettings.Screenshots (all versions) (TODO)
# screenshots - toggles FeatureSettings.Screenshots (all versions)
# nickel_extras - the mimetype of the plugin, or one of:
# web_browser (TODO)
# web_browser
# unblock_it
# sketch_pad
# solitaire