Commit Graph

16 Commits

Author SHA1 Message Date
Tobias Johansson
b394d54c3f Merged in feat/enter-details-multiroom (pull request #1280)
feat(SW-1259): Enter details multiroom

* refactor: remove per-step URLs

* WIP: map multiroom data

* fix: lint errors in details page

* fix: made useEnterDetailsStore tests pass

* fix: WIP refactor enter details store

* fix: WIP enter details store update

* fix: added room index to select correct room

* fix: added logic for navigating between steps and rooms

* fix: update summary to work with store changes

* fix: added room and total price calculation

* fix: removed unused code and added test for breakfast included

* refactor: move store selectors into helpers

* refactor: session storage state for multiroom booking

* feat: update enter details accordion navigation

* fix: added room index to each form component so they select correct room

* fix: added unique id to input to handle case when multiple inputs have same name

* fix: update payment step with store changes

* fix: rebase issues

* fix: now you should only be able to go to a step if previous room is completed

* refactor: cleanup

* fix: if no availability just skip that room for now

* fix: add select-rate Summary and adjust typings


Approved-by: Arvid Norlin
2025-02-11 14:24:24 +00:00
Christel Westerberg
ed3879f6d2 fix: update design for select component and remove placeholders 2024-12-17 09:44:58 +00:00
Arvid Norlin
d67a2919bf fix: limit first/lastname inputs to 30 characters 2024-12-10 10:30:55 +01:00
Tobias Johansson
f7cf1e9a2b fix(SW-1043): styling fixes 2024-12-06 09:12:13 +01:00
Chuma McPhoy
3967ec6040 chore(SW-360): proper formatting of AriaInputWithLabel 2024-11-26 10:30:24 +01:00
Simon Emanuelsson
451d461c7f feat: guest information form enter details 2024-10-07 08:12:07 +02:00
Christel Westerberg
19bfdf67f3 fix: animation on inputs 2024-07-10 16:01:28 +02:00
Simon Emanuelsson
56bfbc3b71 feat(WEB-163): edit profile field validation 2024-07-01 15:38:50 +02:00
Simon Emanuelsson
d84efcbb0f feat(WEB-162): final design edit profile page 2024-06-19 14:51:00 +02:00
Simon Emanuelsson
5f3e417593 feat(WEB-162): final design for my profile page 2024-06-19 14:51:00 +02:00
Simon Emanuelsson
aca9221ea6 feat: loosen up the zod validations and return null instead of throwing 2024-06-18 12:28:05 +02:00
Simon Emanuelsson
7c4b8401e9 feat(WEB-304): remaning UI from design system primitives 2024-06-13 10:00:16 +02:00
Simon Emanuelsson
00f99912fc feat(WEB-249): first iteration design system primitives (typography, grid) 2024-05-30 18:17:03 +02:00
Michael Zetterberg
14e93eba7c chore: lint fix 2024-04-23 14:43:17 +02:00
Simon Emanuelsson
4ee4570373 fix: aria-label warnings for edit profile form 2024-04-16 13:28:28 +02:00
Simon Emanuelsson
9396b2c3d5 feat(WEB-170): edit profile view 2024-04-16 09:24:31 +02:00