Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accurately check checkboxes on /events filter #4482

Merged

Conversation

ivarnakken
Copy link
Member

Description

The default checked value of these checkboxes when visiting /events would be incorrect if you visit with query params, e.g. through the links on the frontpage "Bedpres og kurs" and "Arrangementer".

Result

  • Changes look good on both light and dark theme.
  • Changes look good with different viewports (mobile, tablet, etc.).
  • Changes look good with slower Internet connections.
Screen.Recording.2024-02-23.at.12.38.35.mov

Testing

  • I have thoroughly tested my changes.

The checkboxes are now given default values when visiting the page with query params.

The default checked value of these checkboxers
when visiting /events would be incorrect if you
visit with query paramaters, e.g. through the
links on the frontpage "Bedpres og kurs" and
"Arrangementer".
@ivarnakken ivarnakken added review-needed Pull requests that need review bug-fix Pull requests that fix a bug labels Feb 23, 2024
@ivarnakken ivarnakken requested a review from a team February 23, 2024 11:40
@ivarnakken ivarnakken self-assigned this Feb 23, 2024
Copy link

linear bot commented Feb 23, 2024

Copy link
Contributor

@itsisak itsisak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!!

@ivarnakken ivarnakken added the approved Pull requests that have been approved label Feb 23, 2024
Copy link
Contributor

@Bestem0r Bestem0r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@ivarnakken ivarnakken merged commit 9182e56 into master Feb 23, 2024
4 checks passed
@ivarnakken ivarnakken deleted the ivarnakken/aba-845-correctly-check-checkboxes-on-events branch February 23, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Pull requests that have been approved bug-fix Pull requests that fix a bug review-needed Pull requests that need review
Projects
None yet
3 participants