USe a placeholder in the CMS
Make it not show when we don't have the times available
Make sure it can pull fform in-shop or mobile only zips
Remove old unused header
New textLink component for "View more shops" button
Add in method which adds in new shops
New data member which tracks all providers
New data member which tracks if new shops are being loaded
Replace duplicated init-or-concat logic in handleRequestMoreDates with a
shared appendDays function. Add a comment clarifying that inshopTimeSlots_N
keys are safe to use by index because provider order is fixed after
beforeRouteEnter.
It wasn't possible to display 15 days that had no actual available dates
Changed initialization logic to no longer assume an empty availableDates meant we hadn't loaded yet
Updated unit tests
Fixed a styling bug for 2571
scheduling.vue:
- Colocate inshop providers and time slots into inShopProvidersAndTimeslots
array of { provider, timeSlots } objects, replacing two parallel arrays
- Combine mobileTimeSlots and mobileProviderNumber into a single
mobileProviderAndTimeSlot object
- Remove unused inShopProviderNumber state
- Extract SCHEDULE_FETCH_DAYS constant to replace magic number 14
- Add JSDoc to toDateString
date-picker:
- Move from src/ux-components/ to src/layouts/scheduling/ since it is
only used by scheduling.vue
- Replace inline SVGs with chevron-right-blue.svg and chevron-right-grey.svg
asset files, using CSS scaleX(-1) flip for left-pointing variants
- Import desktop breakpoint from new src/constants/breakpoints.js instead
of hardcoding 768
Refactor scheduling.vue state to colocate providers with their time slots
Replace parallel inShopProviders/inshopTimeSlots arrays with a single
inShopProvidersAndTimeslots array of { provider, timeSlots } objects, and
combine mobileTimeSlots/mobileProviderNumber into a single
mobileProviderAndTimeSlot object. Also extract SCHEDULE_FETCH_DAYS constant
to replace the magic number 14
add JSDoc to toDateString, and remove the
unused inShopProviderNumber state.