Commit graph

22 commits

Author SHA1 Message Date
Chloe Herd
23d3ccddcc Add mobile scheduling component 2026-06-08 13:40:14 -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
c0fb3e026c CASH-2571 | Fix page pre-reqs, remove hardcoding 2026-05-28 09:44:28 -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
scottkiener-at-safelite
bf38d11bca Final review of Scheduling Page
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.
2026-05-06 12:45:48 -04:00
scottkiener-at-safelite
9dbcf1c93d Styling updates and multi location time slot retrieval
Added back and forward arrow SVGs
Now we call for all timeslots of three closest stores and mobile if a provider is available
2026-05-06 10:23:01 -04:00
scottkiener-at-safelite
5ec56b11d6 Wire in providerData call 2026-05-04 16:13:01 -04:00
scottkiener-at-safelite
cd94b853ee Wire in in-shop timeslots call and map the dates 2026-05-04 15:12:22 -04:00
scottkiener-at-safelite
0af5ca7fcb Fix styling 2026-04-30 12:17:33 -04:00
scottkiener-at-safelite
fec5db0c9f CASH-2572 | Date-Picker for new schedule page
Full functionality
Haven't checked styling
Includes mocking data inside scheduling.vue
2026-04-30 12:08:23 -04:00
scottkiener-at-safelite
ec3323cf08 CASH-2571 | Scheduling Page
Created new page
Added routing data
Added experiment flag (doesn't exist in framework yet) - hardcoded to true
Header, Footer, Subheader, H5 added
2026-04-30 11:30:14 -04:00