Previously setSettings was awaited first (causing blue flash), then setState was called. Now both are sent in the same Promise.all so Stream Deck processes setState in the same batch, overriding the visual reset from setSettings with no visible blue transition. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"Author": "Pete Marfleet",
|
|
"Description": "Toggle Notion time tracking for a project with a single button press.",
|
|
"Name": "Notion Timer",
|
|
"Version": "1.0.37",
|
|
"SDKVersion": 2,
|
|
"Software": { "MinimumVersion": "5.0" },
|
|
"OS": [{ "Platform": "mac", "MinimumVersion": "10.11" }],
|
|
"Nodejs": { "Version": "20", "Debug": "enabled" },
|
|
"Icon": "imgs/plugin-icon",
|
|
"Category": "Notion",
|
|
"CategoryIcon": "imgs/category-icon",
|
|
"CodePath": "bin/plugin.js",
|
|
"GlobalPropertyInspectorPath": "ui/global-property-inspector.html",
|
|
"Actions": [
|
|
{
|
|
"Icon": "imgs/action-icon",
|
|
"Name": "Toggle Timer",
|
|
"UUID": "com.pdma.notion-timer.toggle",
|
|
"Tooltip": "Start or stop a Notion time entry for the configured project.",
|
|
"States": [
|
|
{
|
|
"Image": "imgs/idle",
|
|
"TitleAlignment": "bottom"
|
|
},
|
|
{
|
|
"Image": "imgs/running",
|
|
"TitleAlignment": "bottom"
|
|
}
|
|
],
|
|
"PropertyInspectorPath": "ui/property-inspector.html",
|
|
"SupportedInMultiActions": false
|
|
}
|
|
]
|
|
}
|