feat: implement hx-boost for reliable loading indication
This commit is contained in:
1 parent
f0b84c9943
commit
21600dc2d6
32 files changed
+163
-271
No files matched your search
@@ -103,7 +103,7 @@ class Step3Controller extends AbstractController
|
||||
|
||||
$this->addFlash('info', $message);
|
||||
|
||||
return $this->hxRedirect($request, $this->generateUrl('app_booking_create_step_4'));
|
||||
return $this->redirectToRoute('app_booking_create_step_4');
|
||||
}
|
||||
|
||||
// Not a fallback scenario - show validation error
|
||||
@@ -153,7 +153,7 @@ class Step3Controller extends AbstractController
|
||||
$this->addFlash('info', $inquiryResponse->message);
|
||||
}
|
||||
|
||||
return $this->hxRedirect($request, $this->generateUrl('app_booking_create_step_4'));
|
||||
return $this->redirectToRoute('app_booking_create_step_4');
|
||||
} catch (TimeoutException $e) {
|
||||
return $this->handleApiError(
|
||||
'Booking inquiry timeout',
|
||||
|
||||
Reference in new issue
Block a user