Skip to content

Show upload OR schedule workflows in Create Event#1533

Open
Arnei wants to merge 1 commit intoopencast:r/19.xfrom
Arnei:schedule-or-upload-in-new-event
Open

Show upload OR schedule workflows in Create Event#1533
Arnei wants to merge 1 commit intoopencast:r/19.xfrom
Arnei:schedule-or-upload-in-new-event

Conversation

@Arnei
Copy link
Member

@Arnei Arnei commented Mar 19, 2026

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 Mar 19, 2026
@github-actions
Copy link
Contributor

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-1533

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-1533

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

This pull request is deployed at test.admin-interface.opencast.org/1533/2026-03-19_08-52-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