Commit Graph

57 Commits

Author SHA1 Message Date
Bianca Widstam
a620be9331 Merged in fix/SW-1145-occupancy-room-api-change (pull request #1148)
Fix/SW-1145 occupancy room api change

* fix(SW-1145): change occupancy to min and max

* fix(SW-1145): small edit

* fix(SW-1145): refactor to transform total room occupancy

* fix(SW-1145): remove space

* fix(SW-1145): small fix

* fix(SW-1145): change to max for readability


Approved-by: Erik Tiekstra
Approved-by: Linus Flood
2025-01-08 14:22:01 +00:00
Bianca Widstam
97f11a2488 Merged in fix/SW-1329-SW-1122-select-room-card-alignment (pull request #1137)
fix(SW-1329)(SW-1122): remove min-height and set default height of price card to minimum of price cards

* fix(SW-1329)(SW-1122): remove min-height and set default height of price card to minimum of price cards


Approved-by: Niclas Edenvin
2025-01-07 09:45:50 +00:00
Christel Westerberg
1f516c7c20 fix: handle undefined values schemas 2025-01-02 13:46:51 +01:00
Bianca Widstam
92bbfcf533 Merged in fix/SW-1122-breakfast-text-equal-height (pull request #1098)
fix(SW-1122): fix equal breakfast text height for non availability cards

* fix(SW-1122): fix equal breakfast text height for non availability cards


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-12-17 12:35:10 +00:00
Christian Andolf
e08e960209 chore: add consistent type imports 2024-12-12 11:47:44 +01:00
Bianca Widstam
9e42cf0f37 Merged in fix/SW-1153-correct-breakfast-message (pull request #1060)
fix(SW-1153): fix breakfast message for ScandicGo hotels

Approved-by: Pontus Dreij
2024-12-10 08:13:13 +00:00
Bianca Widstam
5dec45474d fix(SW-1041): remove unused props 2024-12-04 14:09:16 +01:00
Hrishikesh Vaipurkar
830f8bf261 fix: SW-691 SW-1006 Removed rooms left label when no availability 2024-12-03 10:18:51 +01:00
Bianca Widstam
9fc65b6e53 Merged in fix/SW-998-select-room-change-lang-issues (pull request #977)
fix(SW-998): fix issues related to non-english languages

* fix(SW-998): reverse price logic


Approved-by: Niclas Edenvin
2024-11-26 09:00:15 +00:00
Joakim Jäderberg
dbb08960a5 Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/loading-rooms-separately 2024-11-20 14:33:05 +01:00
Joakim Jäderberg
d32a595e2e feat: contain logic for selecting price at the top level instead of on individual room card 2024-11-20 11:25:11 +01:00
Joakim Jäderberg
dfdbdb7621 feat: break apart loading of room availability and hotel card
feat: add skeletons
2024-11-20 10:17:55 +01:00
Pontus Dreij
14b1610d4c fix: removed unused code 2024-11-19 15:17:39 +01:00
Pontus Dreij
f1bec6619f fix: remove log 2024-11-19 15:11:55 +01:00
Pontus Dreij
ef2860dd8e fix: hide occupancy and roomSize if undefined 2024-11-19 15:11:13 +01:00
Pontus Dreij
62442646f0 feat(SW-589): updated breakfastIncluded 2024-11-18 16:55:17 +01:00
Pontus Dreij
d56d2f8472 feat(SW-589) updated getRateDefinitionForRate 2024-11-18 16:54:18 +01:00
Pontus Dreij
e7c7485ff8 feat(SW-589) Updated after comments 2024-11-18 16:41:02 +01:00
Pontus Dreij
800d40a606 feat(SW-589): Added correct breakfastMessage, also fixed some small issues 2024-11-18 15:22:13 +01:00
Pontus Dreij
2750a4f403 fix(SW-881) fixing data issues 2024-11-16 10:45:58 +01:00
Hrishikesh Vaipurkar
a17010a431 feat: SW-602 Implemented no availability states 2024-11-15 18:20:48 +01:00
Pontus Dreij
8aa615dfc7 feat(SW-892) Fixed bug with summary not adding pet charge on filter 2024-11-14 14:42:45 +01:00
Bianca Widstam
3e62df27cc fix/SW-674-rate-cards-vertically-aligned (pull request #858)
Fix/SW-674 rate cards vertically aligned

* fix(SW-674): fix cards aligned

* fix(SW-674): fix columns for smaller ipad/tablet

* fix(SW-674): fix height on flexibility options

* fix(SW-674): fix comments

* fix(SW-674): remove margin

* fix(SW-674): auto fill with columns


Approved-by: Simon.Emanuelsson
Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-11-14 10:31:11 +00:00
Erik Tiekstra
692320bd61 feat(SW-842): Some refactoring regarding room card 2024-11-14 07:53:39 +01:00
Pontus Dreij
60b6f0457b feat(SW-828): Moved placeholder image to ImageGallery 2024-11-13 14:18:33 +01:00
Pontus Dreij
d5efda747a feat(SW-828): Added placeholder image 2024-11-13 11:59:55 +01:00
Pontus Dreij
031c0f71b8 fix(SW-451): Fixed some of the ui comments 2024-11-09 10:38:45 +01:00
Niclas Edenvin
7bf89e80ff Update values for cancellation rule 2024-11-06 15:50:34 +01:00
Tobias Johansson
0cbffc7904 Merged in feat/SW-613-refactor-hotelreservation-sidepeek (pull request #805)
Feat/SW-613 refactor hotelreservation sidepeek

* feat(SW-613): move sidepeek paralell route to apply for all of hotelreservation

* feat(SW-613): refactor sidepeek logic to a unified approach for hotelreservation flow

* feat(SW-613): fix issue where room was not selected properly in sidepeek

* fix(SW-613): move back preload to layout

* fix(SW-613): move preload to dedicated file

* fix(SW-613): refactor sidepeek to work with hotel page

* feat(SW-613): added sidepeek button for room card


Approved-by: Simon.Emanuelsson
2024-11-06 12:09:27 +00:00
Pontus Dreij
5d88603de5 fix(SW-803): updated petRoomPackage logic 2024-11-06 09:08:08 +01:00
Pontus Dreij
3163bbff6b fix(SW-803): Check if Pet Room is selected 2024-11-06 08:47:26 +01:00
Pontus Dreij
7f9af6c12e feat(SW-697): Update package structure on price from API 2024-11-04 14:20:46 +01:00
Pontus Dreij
f79eb7d5a9 fix(sw-453): Correct view of cards and icons when filter 2024-11-01 10:58:11 +01:00
Fredrik Thorsson
a61460f6ea feat(SW-713): remove undefined check 2024-11-01 09:52:35 +01:00
Fredrik Thorsson
4106f9a91d feat(Sw-713): conditional rendering 2024-11-01 09:52:35 +01:00
Fredrik Thorsson
ddc190e0c8 feat(SW-713): add rooms sidepeek on hotelpage 2024-11-01 09:52:35 +01:00
Fredrik Thorsson
cddbbabe93 feat(SW-713): update folder structure 2024-11-01 09:52:35 +01:00
Pontus Dreij
62cf5dab80 feat(sw-453): fixed pr comments and default filter 2024-10-29 11:15:06 +01:00
Pontus Dreij
917f44f323 feat(sw-453): fixed mobile view and some improvements 2024-10-29 11:15:03 +01:00
Pontus Dreij
8da94fc259 feat(SW-453): Fixed new filter buttons and updated price in summary 2024-10-29 11:12:32 +01:00
Niclas Edenvin
0efa52ada5 Merged in feat/sw-587-sidepeek-for-room (pull request #767)
Create the sidepeek for a specific roomtype. This also changes the lightbox to use react-aria instead of radix-ui, so we use the same for the lightbox and the sidepeek. Works better together!


Approved-by: Bianca Widstam
2024-10-25 14:11:06 +00:00
Bianca Widstam
748021cdab Merged in feat/SW-673-galleryicon-hotel-lightbox (pull request #734)
Feat/SW-673 galleryicon hotel lightbox

* feat(SW-673): add galleryChip to trigger lightbox

* feat(SW-673): add updated design galleryIcon

* feat(SW-673): add first image from hotelContent and heroImages

* feat(SW-673): fix import type

* feat(SW-673): fix css variables

* feat(SW-673): change component to include image that trigger lightbox

* feat(SW-673): refactor name to imageGallery


Approved-by: Niclas Edenvin
2024-10-24 08:41:26 +00:00
Pontus Dreij
fd3cd053a2 feat(sw-452): Implement select room form submit 2024-10-15 15:48:23 +02:00
Pontus Dreij
72eca90d1b feat(SW-589): Room selection summary 2024-10-15 08:53:23 +02:00
Pontus Dreij
d97c869f40 feat(SW-415): Removed unused import 2024-10-11 15:34:44 +02:00
Pontus Dreij
5bf165866a feat(SW-415): Improvements 2024-10-11 15:30:59 +02:00
Pontus Dreij
f63cecc488 feat(SW-415): Added Image gallery 2024-10-11 14:45:52 +02:00
Pontus Dreij
c69b473de1 feat(SW-415): Normalize roomSchema 2024-10-10 14:10:03 +02:00
Pontus Dreij
9d106713a0 feat(SW-415): Update typings 2024-10-10 13:38:05 +02:00
Pontus Dreij
4c06a1b98d feat(SW-415): Added content from API 2024-10-10 10:48:02 +02:00