Skip to content

Fix rendering of mean times#1086

Merged
gregorydlogan merged 1 commit intoopencast:mainfrom
Arnei:render-mean-times-as-duration
Mar 7, 2025
Merged

Fix rendering of mean times#1086
gregorydlogan merged 1 commit intoopencast:mainfrom
Arnei:render-mean-times-as-duration

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Jan 28, 2025

Fixes #923.

The "mean run time" and the "mean queue time" in the services table could show as timestamps instead of durations. This patch should fix that.

How to test this

Can be tested as usual, ideally on a server where not all mean times are 0. The issue occurs for at least "English (US)" and does not occur for "Deutsch".

Fixes opencast#923.

The "mean run time" and the "mean queue time" in the services table
could show as timestamps instead of durations. This patch
should fix that.
@Arnei Arnei added the type:bug Something isn't working label Jan 28, 2025
@github-actions
Copy link
Copy Markdown
Contributor

This pull request is deployed at test.admin-interface.opencast.org/1086/2025-01-28_09-34-57/ .
It might take a few minutes for it to become available.

@github-actions
Copy link
Copy Markdown
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-1086

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

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.

@gregorydlogan gregorydlogan self-assigned this Mar 7, 2025
@gregorydlogan gregorydlogan merged commit 6e281a6 into opencast:main Mar 7, 2025
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.

Services page, columns "mean run time" and "mean queue time" vs am/pm

2 participants