-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3093: Programme Finder > FULL/PART-TIME toggle + Add 'ALL' option (#…
…1016) * Update the ToggleSwitch component to use checkboxes instead of a switch * Rename file and classes, Update study mode widget * Update UI, remove handleToggle * Fix handling of checkboxes * Fix FE code and add 'full-time' to known query params * Code cleanup, fix FE linting errors * Make checkboxes ticked by default * Rename css file for StudyModeCheckbox * Cleanup debug logs * Put back _toggle-switch.scss for pattern library * Make category chooser appear on results * Resolve console errors with types * Hide inactive categories on ProgrammesResults * Fix rendering of filter of mobile * Fix eslint errors * Make isFullTime and isPartTime checked by default * Add checkbox validation error message * Move ModeCheckbox component * Fix mobile view * Move ModeCheckbox component * Fix programmes results view * Put study mode variables in context, avoid prop drilling * Fix eslint errors * Cleanup * Return empty list when there both full-time and part-time are unselected * Cleanup * add borders around toggles * match status text colour line and font size * remove unused grid rules * make sure error text doesn't sit on top of the checkboxes * lint * make sure that grid lines can't be seen underneath the programme finder toggles * tidy up checkbox spacing * remove css already in toggle-switch.scss * lint spacing * reduce font size for subject on mobile * Update error wording --------- Co-authored-by: Chris Lawton <[email protected]> Co-authored-by: Simon Evans <[email protected]>
- Loading branch information
1 parent
a163dfd
commit 004fd59
Showing
21 changed files
with
461 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.