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

Display LifeCyclePolicies in UI (read-only) #943

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Arnei
Copy link
Member

@Arnei Arnei commented Oct 10, 2024

Adds a new tab to recordings called "LifeCycle Policies". Much like other tabs this tab displays information on its subject in a table format. Unlike i.e. the events tab, the LifeCycle Policies cannot be changed in any way, just be viewed. Editing is supposed to be added at a later date.

The policy details modal looks rather crude. I hope this can be excused because Editing is supposed to follow soon-ish, which will require to completely rework the modal.

This depends on Opencast PR opencast/opencast#6139 being merged to make any sense. Similarly, if you would like to test this, your admin interface should point to an Opencast with the PR installed.

Open question: Where should the "LifeCycle Policies" tab be displayed?
I've put the tab next to events and series for testing, but it maybe (probably) should go elsewhere? Might even deserve a new main menu item? Give me your opinions!

Screenshots:
Bildschirmfoto vom 2024-10-10 10-30-33
Bildschirmfoto vom 2024-10-10 10-30-52
Bildschirmfoto vom 2024-10-10 10-30-59

Adds a new tab to recordings called "LifeCycle
Policies". Much like other tabs this tab displays
information on its subject in a table format.
Unlike i.e. the events tab, the LifeCycle Policies
cannot be changed in any way, just be viewed.
Editing is supposed to be added at a later date.

Depends on PR opencast/opencast#6139
being merged to make any sense. Similarly, if you
would like to test this, your admin interface
should point to an Opencast with the PR
installed.
@Arnei Arnei added the type:enhancement New feature or request label Oct 10, 2024
Copy link
Contributor

Hi @Arnei
Thank you for contributing to the Opencast Editor.
We noticed that you have not yet filed an Individual Contributor License Agreement. Doing that (once) helps us to ensure that Opencast stays free for all. If you make your contribution on behalf of an institution, you might also want to file a Corporate Contributor License Agreement (giving you as individual contributor a bit more security as well). It can take a while for this bot to find out about new filings, so if you just filed one or both of the above do not worry about this message!
Please let us know if you have any questions regarding the CLA.

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

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

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

Hi @Arnei
Thank you for contributing to the Opencast Editor.
We noticed that you have not yet filed an Individual Contributor License Agreement. Doing that (once) helps us to ensure that Opencast stays free for all. If you make your contribution on behalf of an institution, you might also want to file a Corporate Contributor License Agreement (giving you as individual contributor a bit more security as well). It can take a while for this bot to find out about new filings, so if you just filed one or both of the above do not worry about this message!
Please let us know if you have any questions regarding the CLA.

Type LifeCyclePolicy was missing on a union type.
Copy link
Contributor

This pull request is deployed at test.admin-interface.opencast.org/943/2024-10-14_07-37-26/ .
It might take a few minutes for it to become available.

@Arnei Arnei marked this pull request as ready for review November 4, 2024 08:07
Copy link
Contributor

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

Copy link
Contributor

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

Copy link
Contributor

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

Copy link
Contributor

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant