Skip to content

Conversation

@Arnei
Copy link
Member

@Arnei Arnei commented Jan 8, 2026

Our code suggests that it supports radio buttons for workflow configuration parameters, but it does not actually work properly.
With this patch radio buttons should now work on a basic level.

Example wf config:

configuration_panel_json: |-
  [{
    "fieldset": [
      {
        "type": "radio",
        "name": "myRadio",
        "value": "b",
        "options": [
          {
            "value": "a",
            "label": "A"
          },
          {
            "value": "b",
            "label": "B"
          }
        ]
      }
    ]
  }]
Bildschirmfoto vom 2026-01-08 10-36-15

How to test this

Change the workflow config of a workflow in /etc/workflows in your Opencast installation, similar to the example provided above. Test if you can start the workflow over the admin ui and if the selected radio value is properly used in the workflow.

Our code suggests that it supports radio buttons
for workflow configuration parameters, but it does
not actually work properly.
With this patch radio buttons should now work on a
basic level.

Example wf config:
configuration_panel_json: |-
[{
"fieldset": [
  {
    "type": "radio",
    "name": "myRadio",
    "value": "b",
    "options": [
      {
        "value": "a",
        "label": "A"
      },
      {
        "value": "b",
        "label": "B"
      }
    ]
  }
]
}]
@Arnei Arnei added the type:bug Something isn't working label Jan 8, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/opencast-admin-interface:pr-1498

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/opencast-admin-interface:pr-1498

It may take a few seconds for the interface to spin up.
It will then be available at http://127.0.0.1:3000.
For more options you can pass on to the proxy, take a look at the README.md.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

This pull request is deployed at test.admin-interface.opencast.org/1498/2026-01-08_09-44-04/ .
It might take a few minutes for it to become available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant