From fd8a778f45761f9c8ca0b874cdc44bfb200902f8 Mon Sep 17 00:00:00 2001 From: cwhel2026 Date: Tue, 1 Dec 2026 19:41:39 +0000 Subject: [PATCH 1/4] Compact confirmation screen with reassuring repair wording and photo handoff --- .../web/src/components/quote/quote-wizard.tsx | 103 +++++++----------- 1 file changed, 39 insertions(+), 64 deletions(-) diff --git a/apps/web/src/components/quote/quote-wizard.tsx b/apps/web/src/components/quote/quote-wizard.tsx index fef0e60..178017e 100644 --- a/apps/web/src/components/quote/quote-wizard.tsx +++ b/apps/web/src/components/quote/quote-wizard.tsx @@ -367,11 +367,12 @@ export function QuoteWizard() { await calculateProvisional(); } + useEffect(() => { if (saved) window.scrollTo({ top: 0, behavior: "instant" }); }, [saved]); if (measuringVisit) return setMeasuringVisit(false)} />; return (
-

Instant estimate

+ {!saved && <>

Instant quotation

Your instant estimate

Get an instant provisional price. If repairs are needed, we'll confirm the final price with you before booking. @@ -401,7 +402,8 @@ export function QuoteWizard() {

-
+ } +
{step === 0 && ( }

{repairs ? "Let's confirm your repairs" : "Ready to transform your driveway?"}

-

{repairs ? "Your quotation includes a repair allowance. Send us your details and photographs so we can confirm your final price." : "Send us your details and we'll be in touch to arrange your restoration."}

+

{repairs ? "Your quotation includes a repair allowance. Send us your details and photographs so we can confirm whether any additional repair costs are necessary." : "Send us your details and we'll be in touch to arrange your restoration."}

{result.requires_review && !repairs &&

Our team will review your quotation before confirming your booking.

}
@@ -804,57 +806,30 @@ function StepContact({ (state.intention !== "callback_requested" || state.callback_preferred_time.trim().length >= 2); if (saved) { - const steps = - saved.next_step_items && saved.next_step_items.length > 0 - ? saved.next_step_items - : [ - "Our team reviews your enquiry and may request photographs of any damage.", - "We contact you to agree a visit.", - "Nothing is booked until we confirm it with you.", - ]; + const repairs = Number(saved.repair_allowance_gbp ?? 0) > 0; + const photoHandoff = ["ready_to_book", "repair_review_requested", "flexible_booking"].includes(state.intention); return ( -
-

SurfaceCoat

-

- {saved.confirmation_heading || "Thank you for choosing SurfaceCoat"} -

-

{saved.next_steps}

-
-
-
Estimated price
- {Number(saved.discount_percent ?? 0) > 0 && ( -
£{Number(saved.original_total_gbp).toFixed(2)}
- )} -
£{Number(saved.total_gbp).toFixed(2)}
- {Number(saved.discount_percent ?? 0) > 0 && ( -

{Number(saved.discount_percent)}% volume discount · You saved £{Number(saved.discount_saving_gbp).toFixed(2)}

- )} -
-
-
Quotation reference
-
{saved.reference}
-
-
- {["ready_to_book", "repair_review_requested", "flexible_booking"].includes(state.intention) && ( - - )} -

What happens next

-
    - {steps.map((item, index) => ( -
  1. - - {index + 1} - - {item} -
  2. - ))} -
-

-

{saved.email_status === "sent" ? "We've emailed your request details to you." : saved.email_status === "queued" ? "An email with your estimate and next steps is queued for delivery. Your request is saved." : "Your request is saved. If an email does not arrive, our team can check it for you."}

- {state.intention === "repair_review_requested" - ? "This is an estimated quotation request, not a confirmed booking. We'll agree your final price before arranging any visit." - : "This is a booking request. Your visit is not booked until we agree it with you."} -

+
+
+ ✓ +

Thank you for choosing SurfaceCoat

+

Your request has been received.

+

£{Number(saved.total_gbp).toFixed(2)}

+

{repairs ? "Quotation including repair allowance" : "Your restoration quotation"}{saved.vat_applied ? " including VAT" : ""}

+ {Number(saved.discount_percent ?? 0) > 0 &&

{Number(saved.discount_percent)}% volume discount · You saved £{Number(saved.discount_saving_gbp).toFixed(2)}

} +

Reference: {saved.reference}

+
+ {photoHandoff && } +
+

What happens next?

+ {state.intention === "estimate_requested" ?

Keep your quotation for your records and contact us when you are ready.

: state.intention === "callback_requested" ?

Our team will contact you to discuss your quotation.

:
    + {repairs && <>
  1. We review your photographs.
  2. We confirm whether any additional repair costs are necessary.
  3. } + {state.intention === "flexible_booking" &&
  4. We discuss available dates and any additional saving.
  5. } +
  6. We contact you to arrange your restoration.
  7. +
} +
+

{saved.email_status === "sent" ? "Your quotation has been emailed to you." : saved.email_status === "queued" ? "Your quotation will also be sent by email." : "Our team can help if you need a copy of your quotation."}

+ {state.intention !== "estimate_requested" &&

No appointment is confirmed until we agree a date with you.

}
); } @@ -879,7 +854,7 @@ function StepContact({ {[state.address_line1, state.town, state.postcode].filter(Boolean).join(", ") || state.postcode}

{state.intention === "repair_review_requested" && ( -

Our team will review your enquiry, discuss any repairs and may ask for photographs to confirm your final price. No booking or fixed price is confirmed yet.

+

Your quotation includes a repair allowance. We will review photographs to confirm whether any additional repair costs are necessary.

)}
:

Our team will contact you to arrange photo review.

} + ; } From fc72f1093b820b8f5800b726c043453973a03178 Mon Sep 17 00:00:00 2001 From: cwhel2026 Date: Tue, 1 Dec 2026 19:41:50 +0000 Subject: [PATCH 2/4] Align customer repair wording and confirmation regression checks --- apps/api/app/services/quote_conversion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/app/services/quote_conversion.py b/apps/api/app/services/quote_conversion.py index 814b97a..2f2b4ad 100644 --- a/apps/api/app/services/quote_conversion.py +++ b/apps/api/app/services/quote_conversion.py @@ -102,7 +102,7 @@ def customer_next_steps( ) -> str: del windows, photos_attached, repair_review if enquiry.intention == REPAIR_REVIEW_REQUESTED: - return "Thank you for your enquiry. If you are happy with your estimated price, our team will contact you to discuss any repairs and may request photographs. We will confirm your final quotation before arranging a booking." + return "Thank you for your enquiry. Your quotation includes a repair allowance. We will review photographs and confirm whether any additional repair costs are necessary." if enquiry.intention == FLEXIBLE_BOOKING: return "We have received your flexible booking request. Our team will contact you to agree your discounted price and dates when we are working in your area." if enquiry.intention == READY_TO_BOOK: @@ -124,7 +124,7 @@ def confirmation_steps(enquiry: Enquiry) -> list[str]: return [ "We review your enquiry and contact you personally.", "We may request photographs to assess any damage.", - "We agree your final repair price before arranging a booking.", + "We confirm whether any additional repair costs are necessary.", ] if enquiry.intention == FLEXIBLE_BOOKING: return ["We check dates when we are working in your area.", "We contact you to agree your discounted price and dates.", "Nothing is booked until we confirm it with you."] From bba953a79c41c37655ceae87005a2c98552516d2 Mon Sep 17 00:00:00 2001 From: cwhel2026 Date: Tue, 1 Dec 2026 19:41:53 +0000 Subject: [PATCH 3/4] Align customer repair wording and confirmation regression checks --- apps/api/app/services/notifications/customer_requests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/api/app/services/notifications/customer_requests.py b/apps/api/app/services/notifications/customer_requests.py index 787f3d5..90f996b 100644 --- a/apps/api/app/services/notifications/customer_requests.py +++ b/apps/api/app/services/notifications/customer_requests.py @@ -12,7 +12,7 @@ def acknowledgement_text(*, name, reference, postcode, service, area, total, bre "ready_to_book": "We've received your booking request. Our team will contact you to agree the final details and arrange a suitable date.", "callback_requested": "We've received your request for a call. Our team will contact you to discuss your estimate and next steps.", "flexible_booking": "We've received your flexible booking request. We'll contact you to discuss dates when we're working in your area and agree any additional saving.", - "repair_review_requested": "We've received your repair quotation request. We'll discuss the damage with you and may request photographs before confirming a fixed quotation.", + "repair_review_requested": "We've received your repair review request. Your quotation already includes a repair allowance. We'll review photographs and confirm whether any additional repair costs are necessary.", "estimate_requested": "Thank you for requesting your SurfaceCoat estimate. Here is a copy for your records.", }[intention] photo_guidance = [] @@ -27,10 +27,10 @@ def acknowledgement_text(*, name, reference, postcode, service, area, total, bre f"Area discount: {discount['percent']}% (saving £{Decimal(str(discount.get('saving_gbp', 0))):,.2f})", f"Discounted restoration: £{Decimal(str(discount['final_gbp'])):,.2f}"] if Decimal(str(repair.get("provisional_gbp", 0))) > 0: - lines += [f"Provisional repair allowance: £{Decimal(str(repair['provisional_gbp'])):,.2f}"] - lines += [f"Total estimated price: £{Decimal(str(total)):,.2f}", "", + lines += [f"Included repair allowance (subject to review): £{Decimal(str(repair['provisional_gbp'])):,.2f}"] + lines += [f"Total quotation: £{Decimal(str(total)):,.2f}", "", "This email acknowledges your request. It is not a confirmed appointment or a fixed repair quotation.", - "Any repairs, changes to the work and final price will be agreed with you before booking. Coating dates depend on suitable weather and surface conditions.", + "Any additional repair costs will be discussed and agreed with you before booking. Coating dates depend on suitable weather and surface conditions.", "", "You can reply to this email with any questions.", "", "SurfaceCoat Ltd", "Restore. Protect. Transform."] lines[-3:-3] = photo_guidance return "\n".join(lines) From 78895133fa794db1042ed9db5da1e4407144d0c6 Mon Sep 17 00:00:00 2001 From: cwhel2026 Date: Tue, 1 Dec 2026 19:41:56 +0000 Subject: [PATCH 4/4] Align customer repair wording and confirmation regression checks --- apps/web/e2e/public-quote-real.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/e2e/public-quote-real.spec.ts b/apps/web/e2e/public-quote-real.spec.ts index 12ee397..e2f772d 100644 --- a/apps/web/e2e/public-quote-real.spec.ts +++ b/apps/web/e2e/public-quote-real.spec.ts @@ -40,7 +40,7 @@ test("undamaged tarmac retains the existing booking request journey without phot const heading = page.getByRole("heading", { name: "Thank you for choosing SurfaceCoat" }); await expect(heading.or(problem)).toBeVisible({ timeout: 30_000 }); if (await problem.isVisible()) throw new Error(await problem.innerText()); - await expect(page.getByText(/This is a booking request/)).toBeVisible(); + await expect(page.getByText(/No appointment is confirmed/)).toBeVisible(); await expect(page.getByRole("link", { name: "Add photographs later" })).toHaveCount(0); }); @@ -59,7 +59,7 @@ test("minor tarmac damage receives separate provisional repair estimate and huma const heading = page.getByRole("heading", { name: "Thank you for choosing SurfaceCoat" }); await expect(heading.or(problem)).toBeVisible({ timeout: 30_000 }); if (await problem.isVisible()) throw new Error(await problem.innerText()); - await expect(page.getByText(/We may request photographs to assess any damage/i)).toBeVisible(); - await expect(page.getByText(/agree your final repair price/i)).toBeVisible(); + await expect(page.getByText(/We review your photographs/i)).toBeVisible(); + await expect(page.getByText(/confirm whether any additional repair costs are necessary/i)).toBeVisible(); await expect(page.getByRole("link", { name: "Add photographs later" })).toHaveCount(0); });