Merge branch 'main' of git.stroblme.de:Fluksio/app
Docs / docs (push) Successful in 21s
Playwright Tests / test-playwright (1, 2) (push) Failing after 2m10s
Playwright Tests / test-playwright (2, 2) (push) Failing after 11s
pre-commit / pre-commit (push) Failing after 1m56s
Test Backend / test-backend (push) Failing after 2m35s
Compose Smoke Test / test-compose (push) Failing after 11s
Playwright Tests / merge-reports (push) Failing after 2m19s
Docs / docs (push) Successful in 21s
Playwright Tests / test-playwright (1, 2) (push) Failing after 2m10s
Playwright Tests / test-playwright (2, 2) (push) Failing after 11s
pre-commit / pre-commit (push) Failing after 1m56s
Test Backend / test-backend (push) Failing after 2m35s
Compose Smoke Test / test-compose (push) Failing after 11s
Playwright Tests / merge-reports (push) Failing after 2m19s
# Conflicts: # frontend/src/client/sdk.gen.ts
This commit is contained in:
@@ -69,6 +69,7 @@ WidgetType = Literal[
|
||||
"embed",
|
||||
# Input
|
||||
"button",
|
||||
"buttons",
|
||||
"switch",
|
||||
"slider",
|
||||
"input",
|
||||
@@ -79,7 +80,15 @@ WidgetType = Literal[
|
||||
#: Widgets whose only binding is the message they publish. A player is not one:
|
||||
#: it publishes transport commands *and* reads what is playing, so its reading
|
||||
#: is its binding and its ``target`` is checked separately.
|
||||
INPUT_WIDGETS = {"button", "switch", "slider", "input", "dropdown", "color"}
|
||||
INPUT_WIDGETS = {
|
||||
"button",
|
||||
"buttons",
|
||||
"switch",
|
||||
"slider",
|
||||
"input",
|
||||
"dropdown",
|
||||
"color",
|
||||
}
|
||||
|
||||
#: What a colour widget puts on the wire, by the format it was configured for.
|
||||
#: The default is what the Node-RED instance this ports already sends its
|
||||
|
||||
@@ -255,6 +255,14 @@ PANEL_WIDGETS = [
|
||||
},
|
||||
{"id": "w_input", "type": "input", "config": {"target": "demo.input"}},
|
||||
{"id": "w_dropdown", "type": "dropdown", "config": {"target": "demo.dropdown"}},
|
||||
{
|
||||
"id": "w_buttons",
|
||||
"type": "buttons",
|
||||
"config": {
|
||||
"target": "demo.buttons",
|
||||
"buttons": [{"label": "One", "value": 1}],
|
||||
},
|
||||
},
|
||||
{
|
||||
"id": "w_query",
|
||||
"type": "chart",
|
||||
@@ -313,6 +321,7 @@ def test_a_panel_speaks_only_its_own_widgets_messages(
|
||||
"demo.slider",
|
||||
"demo.input",
|
||||
"demo.dropdown",
|
||||
"demo.buttons",
|
||||
"demo.query_request",
|
||||
):
|
||||
assert (
|
||||
|
||||
Reference in New Issue
Block a user