Files
web/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation
Anton Gunnarsson 4e1cb01b84 Merged in chore/cleanup-after-trpc-migration (pull request #2457)
Chore/cleanup after trpc migration

* Clean up TODOs

* Rename REDEMPTION constant to SEARCH_TYPE_REDEMPTION

* Update dependencies

Remove unused deps from scandic-web
Add missing deps to trpc package

* Update self-referencing imports

* Remove unused variables from scandic-web env

* Fix missing graphql-tag package

* Actually fix

* Remove unused env var


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-06-30 12:08:19 +00:00
..
2025-04-15 07:37:47 +00:00

Booking flow

The booking flow is the user journey of booking one or more rooms at our hotels. Everything from choosing the date to payment and confirmation is part of the booking flow.

Booking widget

On most of the pages on the website we have a booking widget. This is where the user starts the booking flow, by filling the form and submit. If they entered a city as the destination they will land on the select hotel page and if they entered a specific hotel they will land on the select rate page.

Select hotel

Lists available hotels based on the search criteria. When the user selects a hotel they land on the select rate page.

Select rate, room, breakfast etc

This is a page with an accordion like design, but every accordion is handled as its own page with its own URL.

State management

The state, like search parameters and selected alternatives, is kept throughout the booking flow in the URL.