Commit Graph

199 Commits

Author SHA1 Message Date
Linus Flood
dfa7395aa4 Merged in fix/null-check-valid-session (pull request #1153)
fix: added null check on session

* fix: added null check on session

* fix: added null check on session
2025-01-08 15:11:01 +00:00
Linus Flood
894e607c5e Merged master into feat/check-session-fix 2025-01-08 14:44:05 +00:00
Linus Flood
8308d00464 fix: valid session check in rooms container 2025-01-08 15:24:20 +01:00
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
a056b36443 Merged in fix/SW-1330-filter-tooltip-mobile (pull request #1146)
fix(SW-1330): add space and fix touchable tooltip for ipad

* fix(SW-1330): add space and fix touchable tooltip for ipad


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2025-01-08 12:05:15 +00:00
Bianca Widstam
93e1c740a1 Merged in fix/SW-1334-filter-option-navigation (pull request #1144)
fix(SW-1334): filter option saved when navigation back

* fix(SW-1334): filter option saved when navigation back


Approved-by: Niclas Edenvin
2025-01-08 07:47:06 +00:00
Christel Westerberg
5901cab440 fix: refactor breadcrumbs to take page type variants to better match margins 2025-01-07 11:41:39 +01:00
Niclas Edenvin
053ef4a1c9 Merged in fix/sw-1120-pet-costs (pull request #1125)
fix(sw-1120): include pet cost in total

* fix(sw-1120): include pet cost in total


Approved-by: Bianca Widstam
2025-01-07 10:39:28 +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
Niclas Edenvin
b5b59329f4 Merged in fix/sw-1248-sort-unavailable-rooms (pull request #1126)
fix(SW-1248): show unavailable rooms last

* fix(SW-1248): show unavailable rooms last


Approved-by: Hrishikesh Vaipurkar
2025-01-07 08:35:42 +00:00
Christel Westerberg
1f516c7c20 fix: handle undefined values schemas 2025-01-02 13:46:51 +01:00
Christel Westerberg
139accb8ed fix: align price formatting 2025-01-02 13:46:51 +01:00
Niclas Edenvin
fb20138dd5 Merged in fix/sw-1144-prefill-rate (pull request #1121)
fix(SW-1144): preselect room and rate from URL

* fix(SW-1144): preselect room and rate from URL

* Add brackets
2024-12-27 14:58:27 +01:00
Erik Tiekstra
05006506f0 feat(SW-1012): Added possibility for multiple include params for hotels 2024-12-17 14:12:37 +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
Bianca Widstam
ec0c6234ef Merged in fix/SW-1119-select-room-same-currency (pull request #1075)
fix(SW-1119): remove approx currency if same and synchronize price option height

* fix(SW-1119): remove approx currency if same and synchronize price option height

* fix(SW-1119): use debounce and observer for performance

* fix(SW-1119): export selector variable to utils


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2024-12-13 10:21:59 +00:00
Christian Andolf
e08e960209 chore: add consistent type imports 2024-12-12 11:47:44 +01:00
Niclas Edenvin
f98b07ab22 Merged in fix/sw-1144-prefill-filters (pull request #1049)
fix(SW-1144): preselect room features from URL

* fix(SW-1144): preselect room features from URL


Approved-by: Bianca Widstam
Approved-by: Pontus Dreij
2024-12-10 12:50:15 +00: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
Arvid Norlin
083ba28f9e feat: add SignupPromo component 2024-12-05 15:33:25 +01:00
Bianca Widstam
a0c2d0bef7 fix(SW-1042): fix comment 2024-12-04 14:09:16 +01:00
Bianca Widstam
5dec45474d fix(SW-1041): remove unused props 2024-12-04 14:09:16 +01:00
Bianca Widstam
61f9290487 fix(SW-1042)(SW-1114)(SW-1123): fix select room bugs 2024-12-04 14:09:16 +01:00
Hrishikesh Vaipurkar
562b186d40 fix: SW-1139 Fixed hydration error 2024-12-04 09:34:25 +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
Pontus Dreij
684fb0c4d3 fix(SW-1003): Moved tooltip on mobile and fixed bug with touch/click 2024-12-02 13:00:52 +01:00
Linus Flood
267a47c61a Merge branch 'master' into feat/sw-929-release-preps 2024-11-27 19:13:21 +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
Christel Westerberg
8bfc4065ed fix: add wrapper function for caching 2024-11-26 08:48:19 +01:00
Christel Westerberg
317731c24d fix: handle no children 2024-11-25 15:08:12 +01:00
Hrishikesh Vaipurkar
21f9719050 fix: SW-981 Rounded to single decimal as current web 2024-11-25 11:52:43 +01:00
Hrishikesh Vaipurkar
bd6fd62d5c fix: SW-981 Fixed distance to center value 2024-11-25 11:52:43 +01:00
Linus Flood
de22d873a1 Refactor 2024-11-22 13:25:57 +01:00
Joakim Jäderberg
a1c5ae95be fix: skeletons wasn't center aligned 2024-11-22 11:19:17 +01:00
Joakim Jäderberg
2ba25a70ba fix: filtering rooms should remove them instead of displaying as not available 2024-11-22 10:46:30 +01:00
Joakim Jäderberg
079ad45ded fix: move date logic to its own file with tests
fix: missing packages should not prevent render
fix: display nothing if roomavailability returns nothing
2024-11-22 10:29:59 +01:00
Joakim Jäderberg
10bd915217 merge 2024-11-21 12:43:25 +01:00
Christel Westerberg
3a6cfcfe5c fix: avoid sending query params to planet 2024-11-21 10:18:36 +01:00
Tobias Johansson
7221e77fa0 Merged in fix/SW-933-incorrect-ratecode (pull request #947)
Fix/SW-933 incorrect ratecode when creating booking as a member

* fix(SW-933): Added check if member to select correct rate code in create booking

* fix(SW-933): set member price in summary when "join" is true

* fix(SW-933): change "price" -> "amount" and fix bool expression

* fix(SW-933): added check for membership number in summary


Approved-by: Christel Westerberg
2024-11-21 09:00:06 +00:00
Bianca Widstam
55bf718045 Merged in fix/add-translation-no-prices-available (pull request #949)
fix: add translation for no prices available

* fix: add translation for no prices available


Approved-by: Pontus Dreij
Approved-by: Christian Andolf
2024-11-20 15:09:24 +00:00
Pontus Dreij
a12fad1a45 fix(SW-925) remove log 2024-11-20 14:41:48 +01:00
Pontus Dreij
f2de6f103e fix(SW-925) remove log 2024-11-20 14:41:48 +01:00
Pontus Dreij
f5a215b27f fix(SW-925) Removed adding of rooms not in filter 2024-11-20 14:41:48 +01:00
Pontus Dreij
37098d23cf fix(SW-925) disable filter if there are no availablePackages 2024-11-20 14:41:48 +01:00
Pontus Dreij
10d2e094e4 fix(SW-925) Fix default packages 2024-11-20 14:41:48 +01: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
0d739ff81d fix: remove console.log and unused variable 2024-11-20 14:31:53 +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