Commit Graph

4064 Commits

Author SHA1 Message Date
Michael Zetterberg
af65fbf7f4 fix: rename trpc route for get booking 2025-04-15 05:20:24 +00:00
Christian Andolf
8a0b917824 Merged in fix/find-booking-fixes (pull request #1792)
fix: add title to find booking page

Approved-by: Erik Tiekstra
Approved-by: Chuma Mcphoy (We Ahead)
2025-04-14 14:21:48 +00:00
Christian Andolf
d00e8f09a6 fix: add title to find booking page
add email type to email field
2025-04-14 16:14:52 +02:00
Anton Gunnarsson
3449ccec52 Merged in feat/sw-2232-sas-api-updates (pull request #1786)
SW-2232 Adapt SAS router to API changes

* Adapt sas procedures to api changes

* Remove debug logs

* Capture performLevelUpgrade error

* More sentry logging

* Merge branch 'master' into feat/sw-2232-sas-api-updates


Approved-by: Joakim Jäderberg
2025-04-14 13:42:58 +00:00
Anton Gunnarsson
f87ea51b11 Merged in feature/sw-1881-boosted-by-scandic (pull request #1780)
Show boosted by scandic in SAS Linked Accounts

* Add boostedByScandic property to SAS membership

* Use get profile with extended partner data

* Display correct tier when EB is boosted by SF


Approved-by: Joakim Jäderberg
2025-04-14 13:14:01 +00:00
Michael Zetterberg
c2f98b85dc fix: add jiti for design system 2025-04-14 12:43:44 +00:00
Simon Emanuelsson
67e094f316 fix: redemptions did not show properly 2025-04-14 13:46:33 +02:00
Michael Zetterberg
37ac9f607c feat(SW-706): load .env.local for download and upload 2025-04-14 11:30:07 +00:00
Michael Zetterberg
7de46cafa8 feat(SW-706): add diff tooling 2025-04-14 11:30:07 +00:00
Michael Zetterberg
35862d03f0 feat(SW-706): fix the build
The pinned version of @formatjs/swc-plugin-experimental has a bug in it that
doesn't allow it to parse ’. But we can't upgrade to the new version due to
incompatibilities between SWC and Next. We can upgrade once we move to Next 15.
2025-04-14 11:30:07 +00:00
Michael Zetterberg
5860377774 feat(SW-706): enable lint rules for intl 2025-04-14 11:30:07 +00:00
Michael Zetterberg
65932ddfd3 feat(SW-706): use Lokalise 2025-04-14 11:30:06 +00:00
Michael Zetterberg
440e1f92df feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass 2025-04-14 11:30:06 +00:00
Michael Zetterberg
e22fc1f3c8 feat(SW-706): add Lokalise tooling and codemod 2025-04-14 11:30:05 +00:00
Hrishikesh Vaipurkar
1c5b116ed8 Merged in feat/SW-1355-reward-night-booking-tracking (pull request #1758)
feat: SW-1355 Tracking implementation reward night booking

* feat: SW-1355 Tracking implementation reward night booking

* feat: SW-1355 Updated checks and optional params

* feat: SW-1355 Typings updated

* feat: SW-1355 Removed undefined check

* feat: SW-1355 optimized code


Approved-by: Christian Andolf
2025-04-14 11:10:03 +00:00
Matilda Landström
51a0855fc1 Merged in feat/SW-2181-adapt-map-zooming (pull request #1781)
fix(SW-2181): use fitted bounds to adapt the zooming of the map

* fix(SW-2181): use fitted bounds to adapt the zooming of the map


Approved-by: Michael Zetterberg
2025-04-14 07:48:38 +00:00
Hrishikesh Vaipurkar
e372b91356 Merged in feat/SW-1517-booking-codes-tracking (pull request #1745)
Feat/SW-1517 booking codes tracking

* feat: SW-1517 Updated tracking to inlcude booking code info

* feat: SW-1517 Tracking booking codes

* feat: SW-1517 booking code multiroom tracking

* feat: SW-1517 booking code tracking select-hotel map view

* feat: SW-1517 Updated to optional param

* feat: SW-1517 Optimized with map

* feat: SW-1517 Typings update

* feat: SW-1517 Replaced reduce with map and join

* feat: SW-1517 Updated typings


Approved-by: Christian Andolf
2025-04-14 07:17:40 +00:00
Christian Andolf
cc7aa6e317 Merged in fix/nullable-redeem-description (pull request #1777)
fix: set redeem description nullable in order to handle the transition from string to RTE

Approved-by: Linus Flood
2025-04-14 07:06:26 +00:00
Christian Andolf
80a738af7b fix: set redeem description nullable in order to handle the transition from string to RTE 2025-04-14 08:57:56 +02:00
Michael Zetterberg
543ea3e5a3 fix(SW-2336): remove text on hotelreservation landing page 2025-04-14 06:55:57 +00:00
Simon Emanuelsson
d72c84d949 feat: filters work together 2025-04-14 06:51:44 +00:00
Chuma Mcphoy (We Ahead)
31370fe711 Merged in fix/SW-2197-dont-show-benefits-not-applied-text (pull request #1776)
fix(SW-2197): remove no membership benefits message

* fix(SW-2197): remove no membership benefits message


Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-04-14 06:40:40 +00:00
Linus Flood
40f18c915b Merged in fix/hide-bookingwidget-flag (pull request #1764)
fix: bookingwidget - hide BW if either pageSettings or siteConfig wants to hide it

* fix: bookingwidget - hide BW if either pageSettings or siteConfig wants to hide it

* Refactor


Approved-by: Michael Zetterberg
2025-04-14 05:37:46 +00:00
Simon Emanuelsson
afb37d0cc5 feat: bedtypes is selectable again 2025-04-12 08:32:42 +00:00
Erik Tiekstra
f62723c6e5 feat(SW-2178): Changed to new buttons for summary inside enter details
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-11 15:13:37 +00:00
Hrishikesh Vaipurkar
8961cbd9d5 Merged in feat/SW-2322-update-booking-status-polling- (pull request #1778)
feat: SW-2322 Added handling of confirmed booking in polling

* feat: SW-2322 Added handling of confirmed booking in polling

* feat: SW-2322 Removed unnecessary startTransition


Approved-by: Michael Zetterberg
2025-04-11 13:41:19 +00:00
Tobias Johansson
0b1625b678 Merged in feat/SW-1526-select-room-rate-focus (pull request #1732)
fix(SW-1526): adjusted scroll position when selecting a rate

* fix: adjusted scroll position when selecting a rate

* fix


Approved-by: Michael Zetterberg
2025-04-11 10:45:07 +00:00
Christian Andolf
d409b4e6fa Merged in feat/SW-1509-new-select-component (pull request #1766)
Feat/SW-1509 new select component

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-11 10:44:27 +00:00
Bianca Widstam
696197906b Merged in fix/SW-2254-disable-download-invoice-if-flex (pull request #1775)
fix(SW-2254): disable download invoice if the booking is flex

* fix(SW-2254): disable download invoice if the booking is flex


Approved-by: Simon.Emanuelsson
2025-04-11 09:17:48 +00:00
Christian Andolf
515885ecbf fix(SW-1509): remove default max width 2025-04-11 09:24:45 +02:00
Christian Andolf
c39a18ab58 fix(SW-1509): fix typing for supporting on selection change prop to be aligned between the two versions 2025-04-11 08:58:01 +02:00
Christian Andolf
a93ed00ee5 fix(SW-1509): removed support for plain array items in order to handle proper props extending
various fixes for supporting default selected
2025-04-10 14:37:52 +02:00
Christian Andolf
2b6fe17c32 fix(SW-1509): add support for default selected key
fixed padding per list item
2025-04-10 13:30:49 +02:00
Hrishikesh Vaipurkar
2b08f257f5 Merged in fix/SW-2079-update-confirmation-page-summ (pull request #1774)
fix: SW-2079 Fixed regular room price display confirmation page

* fix: SW-2079 Fixed regular room price display confirmation page


Approved-by: Simon.Emanuelsson
2025-04-10 11:02:17 +00:00
Christian Andolf
cb344c7bcf fix(SW-1509): additional stories 2025-04-10 10:32:57 +02:00
Christian Andolf
9ef292709b feat(SW-1509): enable support for more react aria props
fix invalid border

corrected default border
2025-04-10 10:32:57 +02:00
Christian Andolf
158c2501a5 feat(SW-1509): add select to exports 2025-04-10 10:32:57 +02:00
Christian Andolf
bacd57a735 fix(SW-1509): new select filter props interface 2025-04-10 10:32:56 +02:00
Christian Andolf
bc7cec215c feat(SW-1509): enable filtering select 2025-04-10 10:32:56 +02:00
Christian Andolf
77e4e9d203 feat(SW-1509): new select component in design-system 2025-04-10 10:32:56 +02:00
Joakim Jäderberg
eb46f08ef1 Merged in fix/sitemap-use-dt-over-dayjs-directly (pull request #1773)
fix: use dt() over dayjs when creating sitemap

* fix: use dt() over dayjs when creating sitemap


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-04-10 07:42:16 +00:00
Bianca Widstam
77c03905e4 Merged in fix/hide-payment-if-only-points (pull request #1741)
Feat(SW-1943): add new design for pay ancillaries with points

* fix: hide card and payment info if only quantity with points is selected

* feat(SW-1943): add new design for pay ancillaries with points

* feat(SW-1943): add missing translation

* feat(SW-1943): fix rebase

* feat(SW-1943): remove console log


Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-04-10 06:18:02 +00:00
Christian Andolf
8f4834a6ef Merged in fix/consolidate-media-queries (pull request #1769)
fix: consolidate media queries to be consistent with ranges

Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-04-09 14:38:05 +00:00
Christian Andolf
ee72f58c33 fix: consolidate media queries to be consistent with ranges 2025-04-09 16:30:12 +02:00
Bianca Widstam
e6aa177e6f Merged in fix/SW-2236-remove-modify-for-save (pull request #1771)
fix(SW-2236): show modify by only if changable

* fix(SW-2236): show modify by only if changable


Approved-by: Niclas Edenvin
2025-04-09 14:09:23 +00:00
Matilda Landström
6bbe80526e Merged in feat/SW-2238-icons (pull request #1767)
Feat/SW-2238: Fix swapped icons, add missing translation

* fix(SW-2238): switch swapped icons

* fix: add missing translation


Approved-by: Christian Andolf
2025-04-09 12:58:48 +00:00
Chuma Mcphoy (We Ahead)
e6a7e921bb Merged in fix/SW-2243-RateCard-Icon-UI (pull request #1770)
fix(SW-2243): update RateCard checkIcon UI

* fix(SW-2243): update RateCard checkIcon UI


Approved-by: Christian Andolf
2025-04-09 12:38:19 +00:00
Anton Gunnarsson
32ac7c8a3d Merged in fix/sw-2174-enter-click-should-select-radiocard (pull request #1768)
SW-2174 Handle Enter press on RadioCard label

* Handle Enter click on RadioCard label


Approved-by: Linus Flood
2025-04-09 12:13:18 +00:00
Joakim Jäderberg
da07e8a458 Merged in feature/autocomplete-search (pull request #1725)
Feature/autocomplete search

* wip autocomplete search

* add skeletons to loading

* Using aumlauts/accents when searching will still give results
remove unused reducer
sort autocomplete results

* remove testcode

* Add tests for autocomplete

* cleanup tests

* use node@20

* use node 22

* use node22

* merge
fix: search button outside of viewport

* merge

* remove more unused code

* fix: error message when empty search field in booking widget

* fix: don't display empty white box when search field is empty and no searchHistory is present

* merge

* fix: set height of shimmer for search skeleton

* rename autocomplete trpc -> destinationsAutocomplete

* more accute cache key naming

* fix: able to control wether bookingwidget is visible on startPage
fix: sticky booking widget under alert

* remove unused code

* fix: skeletons
fix: error overlay on search startpage

* remove extra .nvmrc

* merge


Approved-by: Linus Flood
2025-04-09 10:43:08 +00:00
Chuma Mcphoy (We Ahead)
7e6abe1f03 Merged in fix/SW-2166-fix-filtercheckbox-focus-state (pull request #1765)
fix(SW-2166): enhance FilterCheckbox accessibility

* fix(SW-2166): enhance FilterCheckbox accessibility

- Added cursor pointer to the checkbox container.
- Introduced focus outline for when the checkbox is focused.
- Wrapped checkbox name in Typography component.


Approved-by: Christian Andolf
2025-04-09 09:52:56 +00:00