Skip to content

Use react-select for page size dropdown#1530

Open
Arnei wants to merge 1 commit intoopencast:developfrom
Arnei:a11y-page-size-select
Open

Use react-select for page size dropdown#1530
Arnei wants to merge 1 commit intoopencast:developfrom
Arnei:a11y-page-size-select

Conversation

@Arnei
Copy link
Member

@Arnei Arnei commented Mar 18, 2026

Fixes #1215.

We are currently using our own custom styled dropdown thingy for the page size selector. This patch instead uses "Select" from react-select for the page size selector. The goal is to get the accessibility features of using a proper select component "for free", instead of having to painstakingly code our own. Apart from that, the page size selector should work as before.

How to test this

Can be tested as is. The page size selector is the element at the bottom right of the page.

We are currently using our own custom styled dropdown
thingy for the page size selector. This patch instead uses "Select"
from react-select for the page size selector. The goal is to get the
accessibility features of using a proper select component
"for free", instead of having to painstakingly code our own.
Apart from that, the page size selector should work as before.
@Arnei Arnei added type:enhancement New feature or request type:usability Improves the UX labels Mar 18, 2026
@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-1530

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

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/1530/2026-03-18_11-29-33/ .
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:enhancement New feature or request type:usability Improves the UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pagination Items per Page cannot be operated via keyboard

1 participant