-
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
base: main
Are you sure you want to change the base?
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.
9eb9d6f
to
65d212e
Compare
70c1b80
to
97bf609
Compare
7e4ea6e
to
48a1dde
Compare
And add logs for the sake of investigating
Chromium requires a virtual display in headless environments.
48a1dde
to
21e9dbc
Compare
21e9dbc
to
e8435ef
Compare
e8435ef
to
c793a13
Compare
8e7dcea
to
3b94be5
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