-
Notifications
You must be signed in to change notification settings - Fork 9
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
Improve filters - add secondary filter - within filter search functionality #4790
Improve filters - add secondary filter - within filter search functionality #4790
Conversation
Trello: https://trello.com/c/hnmuEiq8/53-improve-filters-add-secondary-filter (the Github integration is not working) |
d5587b5
to
06a0685
Compare
Added the test for the secondary filters
Within the secondary filters we will allow the option search so if someone searches within the filter for "Bio" they will see only "Biology" option. Add the js and the stimulus and a start to switch to stimulus bit by bit.
Enabling in QA. The reason of the change is because Selenium doesn't play well with basic authentication Fix standard js errors
06a0685
to
9eb9d6f
Compare
<%= form.govuk_check_box :subjects, | ||
subject.subject_code, | ||
label: { text: subject.subject_name } %> | ||
<% end %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The govuk_collection_check_boxes with fieldset creates two classses govuk-checkboxes
and create more divs and form groups which makes the JS not work as expected. (i would have to call children many times in the JS controller). So I changed to loop through the secondary subjets.
80f9b4d
to
2b9da08
Compare
Revert "Add playwright instead of selenium" This reverts commit 4a51dd3. Remove system specs from the build (for now) We are struggling with chromium and alpine
2b9da08
to
829ca1d
Compare
67ca68e
to
8351bb2
Compare
Context
This PR adds the "Search" within the filter.
After talking with the tech lead we decide to add Stimulus only for this component and gradually switch over Stimulus.
Changes proposed in this pull request
Guidance to review
config/settings/development.local.yml
has:/v2/results