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.

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

This pull request is deployed at test.admin-interface.opencast.org/1485/2025-12-18_11-27-10/ .
It might take a few minutes for it to become available.

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