Skip to content

Conversation

asgeija
Copy link
Member

@asgeija asgeija commented Nov 5, 2026

Closes #139, Closes #140

What

  • Typing a date in From and To no longer makes the
    field jump or clear. The field only updates the filters once the date
    is complete.
  • Clicking anywhere in a search or filter box, including
    the label and the padding, now focuses the field and opens it.
  • The boxes get a subtle tint and a pointer cursor on hover.

Typing in the From and To fields made them jump or clear. While a
date is half typed the browser reports an empty value, and a year
like "0002" counts as a valid date. Both went into the URL state
and back into the controlled input, which rewrote the field.

Add a DateInput that is uncontrolled and only passes a complete
date (four-digit year) or a real clear on to the filters. It still
syncs when a filter chip or "Clear filters" changes the value.

Closes #139
Only the row with the value reacted to clicks. The padding around
it did nothing, and the label only focused the field without
opening the dropdown or date picker.

Stretch the field over the whole box and move the padding onto it,
with the label in the same grid cell underneath. Add a subtle
background tint and a pointer cursor on hover, so it is clear the
whole box can be clicked. The tint also works on wide screens,
where the joined bar keeps the border color.

Closes #140
@asgeija asgeija added bug Something isn't working frontend labels Nov 5, 2026
@asgeija asgeija added this to the Partial submission 4 milestone Nov 5, 2026
@asgeija asgeija requested a review from a team as a code owner November 5, 2026 09:47
@asgeija asgeija linked an issue Nov 5, 2026 that may be closed by this pull request
The merge from main left countryName unused, since the filters now use
formatCountry. Remove it so lint passes.
@thortve thortve merged commit b187604 into main Nov 5, 2026
2 checks passed
Sign in to join this conversation on GitHub.
Labels
bug Something isn't working frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not the whole filter field can be clicked Typing a date in the date filters is glitchy
2 participants