Skip to content

Show upload OR schedule workflows in Create Event#1567

Open
Arnei wants to merge 1 commit intoopencast:developfrom
Arnei:schedule-or-upload-in-new-event
Open

Show upload OR schedule workflows in Create Event#1567
Arnei wants to merge 1 commit intoopencast:developfrom
Arnei:schedule-or-upload-in-new-event

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Apr 7, 2026

Originally #1533

Fixes #1531

No matter if you were upload or scheduling a new event, the "Create Event" modal would always offer you all workflows tagged with either "upload" or "schedule" (or both). This patch changes it so that if you are uploading, you only get workflows tagged with "upload". And if you are scheduling, you only get workflows tagged with "schedule".

How to test this

Cannot be tested with the default community workflows. You will have to use your own workflows or create new ones. I used these kind of dummy workflows:

id: dummy-schedule
title: Dummy Schedule
displayOrder: 1
tags:
  - schedule
operations:
  # We need at least one operation for this to be considered a valid workflow definition
  - id: defaults

No matter if you were upload or scheduling a new event,
the "Create Event" modal would always offer you all workflows
tagged with either "upload" or "schedule" (or both).
This patch changes it so that if you are uploading, you only get
workflows tagged with "upload". And if you are scheduling, you
only get workflows tagged with "schedule".
@Arnei Arnei added the type:bug Something isn't working label Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 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/admin-interface:pr-1567

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/admin-interface:pr-1567

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
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

This pull request is deployed at test.admin-interface.opencast.org/1567/2026-04-07_09-06-35/ .
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.

Workflow upload/schedule display tags cannot be used separately in admin UI (using XML format)

1 participant