Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APS-1775: Update booking confirmation screen #2277

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

froddd
Copy link
Contributor

@froddd froddd commented Jan 9, 2025

Context

https://dsdmoj.atlassian.net/browse/APS-1775

Changes in this PR

Implements design and content updates to the 'Confirm booking' page.

Under the hood, this ensures the booking flow relies on the arrival and departure dates entered on the Occupancy view page, rather than recalculating those based on a start date and duration. The path for the confirmation screen has been rewritten to include the premises ID, which ensures a 404 is returned if this ID is invalid/doesn't exist.

The occupancy filter query parameters are carried over to the confirmation page to ensure the back link functions correctly.

The apType parameter is now removed, as it is no longer used beyond the initial suitability search.

Screenshots of UI changes

Before

Screenshot 2025-01-09 at 15 32 18

After

Screenshot 2025-01-09 at 15 29 25

@bobmeredith bobmeredith marked this pull request as ready for review January 9, 2025 13:40
@froddd froddd marked this pull request as draft January 9, 2025 13:55
@froddd froddd force-pushed the feature/APS-1775-confirm-space-booking branch from 424a3c7 to b6bf14f Compare January 9, 2025 13:59
This does a few things:
- Ensures the booking confirmation flow uses the arrival date and
  departure date submitted, rather than relying on filter start date and
  duration
- Removes the `apType` parameter as it is not used
- Updates the booking confirmation template to show relevent information
- Refactors a lot of the flow to present occupancy view with retained
  filters where relevant
@froddd froddd force-pushed the feature/APS-1775-confirm-space-booking branch from b6bf14f to 1947cf0 Compare January 9, 2025 15:07
@froddd froddd marked this pull request as ready for review January 9, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant