Skip to content

Fix entering single date in date range picker#1119

Merged
gregorydlogan merged 1 commit intoopencast:mainfrom
Arnei:enter-single-startdate-in-daterangepicker
Mar 7, 2025
Merged

Fix entering single date in date range picker#1119
gregorydlogan merged 1 commit intoopencast:mainfrom
Arnei:enter-single-startdate-in-daterangepicker

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Feb 25, 2025

When filtering by start date and entering the date by hand, pressing enter after writing only a single date should still result in a filter for that day.
For example, 01/01/2025 results in a range of 01/01/2025 - 01/01/2025. This fixes that.

How to test this

Can be tested as usual. Test if all input methods for the datepicker still work (both mouse and keyboard). Ideally also test other datepickers beside the start date filter, e.g. the one for scheduling events.

When filtering by start date and entering the date by hand,
pressing enter after writing only a single date should still result
in a filter for that day.
For example, 01/01/2025 results in a range of 01/01/2025 - 01/01/2025.
This fixes that.
@Arnei Arnei added the type:bug Something isn't working label Feb 25, 2025
@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-1119

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

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
Copy Markdown
Contributor

This pull request is deployed at test.admin-interface.opencast.org/1119/2025-02-25_08-03-04/ .
It might take a few minutes for it to become available.

@gregorydlogan gregorydlogan self-assigned this Mar 7, 2025
@gregorydlogan gregorydlogan merged commit 8709a86 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.

2 participants