Commit graph

16 commits

Author SHA1 Message Date
scottkiener-at-safelite
edff5b7528 Remove unused class 2026-06-25 11:07:18 -04:00
scottkiener-at-safelite
d9b8c0906e CASH-2880 | Make the loader show upon page load & Add loader to datepick
Reduce time that the spinner shows upon page load
Add a loading animation to date-picker
2026-06-24 15:52:11 -04:00
scottkiener-at-safelite
5d8c5b44f5 CASH-2880 | Add loader to date-picker for scheduling 2026-06-24 10:42:36 -04:00
scottkiener-at-safelite
85e28701f3 CASH-2572 | Add in empty dates logic
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
2026-06-05 10:19:31 -04:00
scottkiener-at-safelite
b1cdb3be87 Fix initialization logic 2026-05-29 12:17:47 -04:00
scottkiener-at-safelite
0bed421da3 Increase readability 2026-05-29 11:39:55 -04:00
scottkiener-at-safelite
7fd7362982 Logic refactoring of date-picker 2026-05-29 11:23:10 -04:00
scottkiener-at-safelite
8a472aa335 CASH-2572 | Add in auto-select functionality 2026-05-29 10:34:45 -04:00
scottkiener-at-safelite
5c10137df1 Disable date-picker advance after 180 days have been loaded
Unit tests to confirm functonality
2026-05-28 16:33:11 -04:00
scottkiener-at-safelite
6c4ea262b1 Styling updates 2026-05-28 16:07:41 -04:00
scottkiener-at-safelite
890f50c18e Formatting 2026-05-28 12:30:19 -04:00
scottkiener-at-safelite
85b8789bca CASH-2572 | Update logic and unit tests
No dates should display if any of the props are missing
2026-05-28 11:14:28 -04:00
scottkiener-at-safelite
83f4c1dd4b CASH-2572 | Unit test and logic updates 2026-05-28 11:00:00 -04:00
scottkiener-at-safelite
44821ce536 Formatting and remove a console log 2026-05-28 10:30:07 -04:00
scottkiener-at-safelite
5da7971eb2 Styling updates 2026-05-08 10:18:28 -04:00
scottkiener-at-safelite
00611a599c Refactor scheduling page and date-picker component
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
2026-05-06 15:19:19 -04:00