Skip to content

Stop filter dropdown from popping up on page reload#1525

Merged
gregorydlogan merged 1 commit intoopencast:r/19.xfrom
Arnei:filter-remains-on-page-reload
Mar 18, 2026
Merged

Stop filter dropdown from popping up on page reload#1525
gregorydlogan merged 1 commit intoopencast:r/19.xfrom
Arnei:filter-remains-on-page-reload

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Mar 16, 2026

Fixes #1079. Intends to supercede #1132.

If you had selected a filter, but no value for that filter yet, the dropdown for selected the value would keep popping up on page reload. This could confuse users.

This fixes that by moving the relevant state from redux into the component.

How to test this

Can be tested as is. Make sure the filter menu behaves as expected, even if the tab is changed or the page is reloaded partway through the process of selecting a filter.

If you had selected a filter, but no value for that filter yet,
the dropdown for selected the value would keep popping up
on page reload. This could confuse users.

This fixes that by moving the relevant state from redux
into the component.
@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-1525

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

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.

@Arnei Arnei added the type:bug Something isn't working label Mar 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This pull request is deployed at test.admin-interface.opencast.org/1525/2026-03-16_09-57-59/ .
It might take a few minutes for it to become available.

@gregorydlogan gregorydlogan self-assigned this Mar 18, 2026
@gregorydlogan gregorydlogan merged commit aabc507 into opencast:r/19.x Mar 18, 2026
8 of 9 checks passed
jduehring pushed a commit to jduehring/opencast-admin-interface that referenced this pull request Apr 16, 2026
…interface into r/19.x

Pull request opencast#1525
Fixes opencast#1079
  Stop filter dropdown from popping up on page reload
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.

2 participants