Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open player directly #846

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Open player directly #846

merged 1 commit into from
Aug 9, 2024

Conversation

lkiesow
Copy link
Member

@lkiesow lkiesow commented Jul 19, 2024

By default, opencast only publishes the engage publications. That is why most installations only have one publication and do not need a menu to choose the publication from.

This patch makes the admin interface link the player directly if there is just the engage publication. If more or different publications exist, we fall back to the old behavior.

By default, opencast only publishes the engage publications. That is why
most installations only have one publication and do not need a menu to
choose the publication from.

This patch makes the admin interface link the player directly if there
is just the engage publication. If more or different publications exist,
we fall back to the old behavior.
@lkiesow lkiesow added the type:visual-clarity Improves UI readability label Jul 19, 2024
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-846

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

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.

Copy link
Contributor

This pull request is deployed at test.admin-interface.opencast.org/846/2024-07-19_16-15-06/ .
It might take a few minutes for it to become available.

@lkiesow lkiesow added type:usability Improves the UX and removed type:visual-clarity Improves UI readability labels Jul 21, 2024
Copy link
Member

@Arnei Arnei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works and looks reasonable to me.

@Arnei Arnei merged commit 6ca528e into opencast:main Aug 9, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:usability Improves the UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants