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

Disable statistics tab by default #660

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

lkiesow
Copy link
Member

@lkiesow lkiesow commented Jun 5, 2024

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 opencast/opencast#5909

This fixes #357

@lkiesow lkiesow added the bugbash label Jun 5, 2024
Copy link
Contributor

github-actions bot commented Jun 5, 2024

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.

Copy link
Contributor

github-actions bot commented Jun 5, 2024

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.

lkiesow added a commit to lkiesow/opencast that referenced this pull request Jun 5, 2024
@lkiesow lkiesow added type:bug Something isn't working and removed bugbash labels Jun 5, 2024
@lkiesow lkiesow changed the title Statistics tab enabled by default Disable statistics tab by default Jun 5, 2024
src/components/shared/MainNav.tsx Outdated Show resolved Hide resolved
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.

This fixes opencast#357
lkiesow added a commit to opencast/opencast that referenced this pull request Jun 11, 2024
This PR comments out a default that should have been commented out but
was left uncommented accidentally. Also fixed a spelling mistake I
missed with #5909 relating to opencast/opencast-admin-interface#660

TODO: There are a number of *other* defaults which are not commented
out...

### Your pull request should…

* [x] have a concise title
* [ ] ~[close an accompanying
issue](https://docs.opencast.org/develop/developer/#participate/development-process/#automatically-closing-issues-when-a-pr-is-merged)
if one exists~
* [x] [be against the correct
branch](https://docs.opencast.org/develop/developer/development-process#acceptance-criteria-for-patches-in-different-versions)
* [ ] ~include migration scripts and documentation, if appropriate~
* [x] pass automated tests
* [x] have a clean commit history
* [x] [have proper commit messages (title and body) for all
commits](https://medium.com/@steveamaza/e028865e5791)
@gregorydlogan gregorydlogan merged commit cd464b2 into opencast:main Jun 11, 2024
5 checks passed
@gregorydlogan gregorydlogan self-assigned this Jun 11, 2024
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.

Statistics tab enabled by default
2 participants