From 6b9ed59cfcadfab39c8377b1a3292a97e5e9eb07 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Mon, 12 Jan 2026 14:35:24 -0500 Subject: [PATCH 01/10] initial check in for schedule page --- src/assets/img/icons/icon-ablue-next.png | Bin 0 -> 494 bytes src/assets/img/icons/icon-ablue-previous.png | Bin 0 -> 510 bytes src/constants/error-messages.js | 3 +- .../date-picker/date-picker.vue | 1124 ++++++++--------- src/helpers/date-helper.js | 17 + .../schedule-page/schedule-page.spec.js | 21 - src/layouts/schedule-page/schedule-page.vue | 166 +-- src/router/index.js | 2 + 8 files changed, 572 insertions(+), 761 deletions(-) create mode 100644 src/assets/img/icons/icon-ablue-next.png create mode 100644 src/assets/img/icons/icon-ablue-previous.png diff --git a/src/assets/img/icons/icon-ablue-next.png b/src/assets/img/icons/icon-ablue-next.png new file mode 100644 index 0000000000000000000000000000000000000000..ff8ec863ba182bb7d92944fc4b9f92953b2772c0 GIT binary patch literal 494 zcmVPx$s7XXYR5%f1WIzMj4f}cC{(YP9|39Pue+C9^M#lfbK=xZk28OFZ_C{f5;RRP4 z9KRrI1Ii(QMD6;p|Ns9@`p@uR93hIzVq{=^$;il*_o6v)6-_h>uZge-sW5>95la|2s){pMDT*?zNwj6)=U~NZ2*_fPekM>XU{jI2`~<_fC+`^a zqy+IB1k}$2ibiaPeE#`|A#A~6f(C)~Gl9|pHbX#SFoPbv`vP{+>cCQwSmkbw$>8ptv9`5Q9;^)qCyImNK@{6h?- zApIckY{ZZO3IyuPFiZ?I0ZZkrJI%1+@)K;z7(n`&KzRWa-{>lGY}FY+&Me$;mSGJR zZ-CT;^g;9kIoMLH3_llxswgkR{yP}v!|j8oSeOVXF8~uy8;nng2D+l^WlL~7NFC6@ k2taNwMll3r9699)0D{EF4a9P?QUCw|07*qoM6N<$f(<;@TmS$7 literal 0 HcmV?d00001 diff --git a/src/assets/img/icons/icon-ablue-previous.png b/src/assets/img/icons/icon-ablue-previous.png new file mode 100644 index 0000000000000000000000000000000000000000..ebac34a235693e208cc43ec570971c5e43ae8c5d GIT binary patch literal 510 zcmVPx$xJg7oR5%f>R8J^_VHp3t?SUbAL^yaa_pO#jT zkzdB+o0w(~$Y7z{g}RbLxXV9p6MdNUoKC@D|B>hh)wVqBUIo!JyY&?fq~~;uDykZI zeH#eBL{(ZmCq1WoprSJ!HJ}d8gAsgZKswUXax~RsY3~xTm_Tt}HkzGw6*lCgH<|0( z8)daL71_TD;ZzI5Q)NeEr41JkPdEsKQYnd8p3t@_r@@;m*X2o6KZ3*CM=6fL-6~}jBT!o$uMu{7% zSLrRt%QLR$Kh3g>!N6GC1o8gm6&p;*^)LUEH^3&-ctN(XC;$Ke07*qoM6N<$f@i<$ AqW}N^ literal 0 HcmV?d00001 diff --git a/src/constants/error-messages.js b/src/constants/error-messages.js index e1d23731..cc4bd3b2 100644 --- a/src/constants/error-messages.js +++ b/src/constants/error-messages.js @@ -58,7 +58,8 @@ const errorMessages = Object.freeze({ MODEL_REQUIRED: 'Vehicle model is required.', STYLE_REQUIRED: 'Vehicle style is required.', MOBILE_LOCATION_REQUIRED: 'Please enter your service address', - DATE_REQUIRED: 'Please select a date' + DATE_REQUIRED: 'Please select a date', + TIME_REQUIRED: 'Please select an appointment time.' }); export default errorMessages; diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index 954451f6..76e87f44 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.vue @@ -2,108 +2,109 @@
-
+
- Select a day and time + When would you like service? +
+ When would you like service? +
+
+ Your service will take approximately {{ appointmentEstimate }} +
-
- {{ month.monthLabel }} {{ month.yearNum?.toString() }} + class="appointment-date-picker-container" + :class="isMobileView ? 'mobile' : 'desktop'"> +
+ + Left arrow icon + Previous +
-
- = Available +
+ {{ headerDateString }}
-
-
@@ -111,24 +112,21 @@