Skip to content

Conversation

@Arnei
Copy link
Member

@Arnei Arnei commented Dec 18, 2025

Fixes #1446.

Replaces our mui tooltip wrapper with react-tooltip. Also adds back tooltips that were commented out.

The reason for this change is that tooltips from react-tooltip are much more performant
when used in larger quantities. It will still add about ~100ms to the render time of events or series
tables with a 100 elements, which is not great but hardly noticable with our load times of over a second.

How to test this

Does not require any special set up for testing. Check that tooltips appear where you expect them and behave as you would expect them to.

@Arnei Arnei added type:enhancement New feature or request type:dependencies Pull requests that update a dependency file labels Dec 18, 2025
@github-actions
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-1485

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

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.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 18, 2025

This pull request is deployed at test.admin-interface.opencast.org/1485/2026-01-29_08-42-58/ .
It might take a few minutes for it to become available.

@github-actions
Copy link
Contributor

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

Replaces our mui tooltip wrapper with react-tooltip. Also adds back
tooltips that were commented out.

The reason for this change is that tooltips from react-tooltip are
much more performant
when used in larger quantities. It will still add about ~100ms to
the render time of events or series
tables with a 100 elements, which is not great but hardly noticable
with our load times of over a second.
@Arnei Arnei force-pushed the switch-to-react-tooltip branch from b68716d to 8bcd349 Compare January 29, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:dependencies Pull requests that update a dependency file type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace MUI Tooltips with something more performant

1 participant