opencast / opencast-admin-interface

A modern admin user interface for Opencast
https://admin-interface.opencast.org
Educational Community License v2.0
1 stars 22 forks source link

Disable statistics tab by default #660

Closed lkiesow closed 3 weeks ago

lkiesow commented 3 weeks ago

By default the statistics view is broken and you need additional configuration. Therefor, it should be disabled by default in the admin interface.

Unlike the old interface, this patch does not read the actual data from statistics providers, but uses a configuration option to determine if the statistics feature should be an option in the UI.

The configuration and documentation is added in pull request https://github.com/opencast/opencast/pull/5909

This fixes #357

github-actions[bot] commented 3 weeks ago

This pull request is deployed at test.admin-interface.opencast.org/660/2024-06-11_16-39-13/ . It might take a few minutes for it to become available.

github-actions[bot] commented 3 weeks ago

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

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

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.