Commit Graph

257 Commits

Author SHA1 Message Date
Erik Tiekstra
1803e8e1fb fix(SW-159): renamed route to get instead of getHotel and changed getHotelId to function declaration 2024-08-30 07:55:49 +02:00
Erik Tiekstra
7fd2fd7ec6 feat(SW-159): merged contentstack and api requests for hotel query 2024-08-30 07:55:46 +02:00
Niclas Edenvin
f178f7fde0 Merged in feature/select-room-ux-one-page (pull request #523)
This updates the select room page according to the new UX. It has different sections on the same page, but with specific URLs per section. Since neither UX, UI nor API is completely done both design and data structures are a bit temporary.

Approved-by: Simon.Emanuelsson
2024-08-29 13:38:14 +00:00
Michael Zetterberg
46852a36a1 fix: default dob in zod schema 2024-08-29 09:42:05 +02:00
Simon Emanuelsson
93526ce693 fix: rename retried-wrapped fetch to make caching work again 2024-08-28 14:55:31 +02:00
Michael Zetterberg
ce3248562b feat: mask date of birth 2024-08-27 10:55:46 +02:00
Michael Zetterberg
68aa6e565d Merged in fix/profile-data-error-logging (pull request #513)
fix: log api response for profile data errors
2024-08-27 06:19:02 +00:00
Michael Zetterberg
2f628aa41f fix: log api response for profile data errors 2024-08-27 08:16:27 +02:00
Michael Zetterberg
2ea6a2d242 fix: allow any membership level 2024-08-27 07:41:59 +02:00
Michael Zetterberg
f8d60afb49 debug: debug profile calls 2024-08-26 15:30:50 +02:00
Arvid Norlin
b56069e009 fix: remove toString() in metric attributes to avooid silly data like Object: Object 2024-08-26 13:30:07 +02:00
Arvid Norlin
0b2936159f feat: add metrics 2024-08-26 11:50:35 +02:00
Arvid Norlin
fac0d7acdc fix: structure logged data 2024-08-26 11:50:35 +02:00
Arvid Norlin
e3ca26d0df feat: add metrics PoC counters to getHotel trpc query 2024-08-26 11:50:35 +02:00
Arvid Norlin
5b6295779d fix: add apiResponse.text() to logging 2024-08-26 11:50:35 +02:00
Simon.Emanuelsson
388060086e Merged in feat/masked-values (pull request #489)
feat: handle masked values only based on MFA

Approved-by: Michael Zetterberg
Approved-by: Arvid Norlin
2024-08-26 09:19:02 +00:00
Simon Emanuelsson
61b722d9ad feat: handle masked values only based on MFA 2024-08-26 11:06:01 +02:00
Christel Westerberg
231edbe944 fix: default language if missing in profile 2024-08-26 10:52:13 +02:00
Christel Westerberg
aefb44011f fix: add support for original_url in rte 2024-08-23 16:22:14 +02:00
Matilda Landström
f46207a308 feat: improve handling of stays 2024-08-23 15:45:15 +02:00
Tobias Johansson
b3ba4edd69 fix: revert back filtering of reward nights with operaId ORS 2024-08-23 12:49:59 +02:00
Arvid Norlin
9497e8eef3 fix: add apiResponse.text() to logging 2024-08-23 12:33:28 +02:00
Arvid Norlin
7cd6367c15 fix: change bad JSON.stringify:s 2024-08-23 09:47:45 +02:00
Arvid Norlin
8340f1ff6c fix: structure logged data 2024-08-23 09:47:43 +02:00
Arvid Norlin
d603f53240 fix: add improved logging for contentstack requests 2024-08-23 09:46:19 +02:00
Arvid Norlin
7de8a184b7 fix: improve logging for api requests 2024-08-23 09:46:17 +02:00
Christel Westerberg
ae123810a6 fix: handle pages without uid for metadata 2024-08-23 09:38:13 +02:00
Tobias Johansson
dbb55c3d33 Merged in feat/SW-165-fix (pull request #467)
fix(SW-165): fix issue with pagination now showing

Approved-by: Michael Zetterberg
2024-08-23 07:35:30 +00:00
Michael Zetterberg
149e97fa34 Merged in fix/headers-for-errors (pull request #466)
fix: send headers to error rewrites

Approved-by: Arvid Norlin
2024-08-23 07:35:09 +00:00
Michael Zetterberg
efd2e1730c fix: send headers to error rewrites 2024-08-23 09:34:17 +02:00
Simon Emanuelsson
2337d37f1a feat(SW-160): update profile 2024-08-23 09:09:55 +02:00
Tobias Johansson
88a23c590d fix(SW-165): fix issue with pagination now showing 2024-08-23 09:07:10 +02:00
Tobias Johansson
159114a082 Merged in feat/SW-165-fixes (pull request #460)
Feat/SW-165 fixes

* fix(SW-165): update translations for reward labels

* fix(SW-165): Fix sorting and filtering of transactions and hide fields when BALFWD

* fix(SW-165): update condition


Approved-by: Michael Zetterberg
2024-08-22 14:34:55 +00:00
Pontus Dreij
ecb3b78561 feat(SW-266): Replacing static metadata with data from Contentstack on Loyalty pages and Account Pages
Approved-by: Simon.Emanuelsson
2024-08-22 13:49:34 +00:00
Christel Westerberg
8b68b045eb fix: check if its a cs link before checking node 2024-08-22 14:56:13 +02:00
Pontus Dreij
5c81ff13f7 feat(SW-266): Added breadcrumbs to metadata fragment 2024-08-22 14:45:19 +02:00
Michael Zetterberg
a33a69fb58 fix: improve auth handling and logging 2024-08-22 14:07:36 +02:00
Christel Westerberg
56d374f019 fix: zod validate after cruching data 2024-08-22 11:40:40 +02:00
Pontus Dreij
ab3feb367b feat(SW-266): removed unused field 2024-08-22 11:16:17 +02:00
Erik Tiekstra
77bdaa1e5e fix(SW-190): removed console.log 2024-08-22 09:49:02 +02:00
Erik Tiekstra
b2b7f4f85a fix(SW-190): added cache for content page query and added breadcrumbs fetching for content page 2024-08-22 09:49:02 +02:00
Erik Tiekstra
56312335b2 fix(SW-190): added linkConnectionNode as variable for readability 2024-08-22 09:49:02 +02:00
Erik Tiekstra
771338cc80 fix(SW-190): added imageVaultAsset schema 2024-08-22 09:49:02 +02:00
Erik Tiekstra
33460d8e87 fix(SW-190): moved types from output to own file inside /types 2024-08-22 09:49:02 +02:00
Erik Tiekstra
a0053335a6 chore: cleanup 2024-08-22 09:49:02 +02:00
Arvid Norlin
a01aa10bf2 fix: add content-page handling in languageSwitcher query 2024-08-22 09:49:02 +02:00
Erik Tiekstra
8220a39a8f feat(SW-190): added hero to static content pages 2024-08-22 09:49:02 +02:00
Erik Tiekstra
f1ca9a0704 feat(SW-190): added hero to loyalty pages 2024-08-22 09:49:02 +02:00
Tobias Johansson
e9a6499086 feat(SW-245): Delete credit card 2024-08-21 16:24:39 +02:00
Tobias Johansson
1ec1033267 Merged in feat/SW-165-correct-labels (pull request #427)
Feat/SW-165 correct labels

* feat(SW-165): sort friend transactions and return additional properties

* feat(SW-165): Added points being calculated label

* feat(SW-165): added transactionDate for transactions without checkinDate

* feat(SW-165): Updated description copy for various reward types

* feat(SW-165): filter out expired transactions

* feat(SW-165): removed Mobile table and unified them into Table instead

* feat(SW-165): Added bookingUrl to friend transactions

* fix(SW-165): style fixes

* fix(SW-165): fix issues from merge

* fix(SW-165): remove comment

* fix(SW-165): fixed booking urls not being set and smaller fixes

* fix(SW-165): added comment regarding 'BALFWD'


Approved-by: Michael Zetterberg
Approved-by: Christel Westerberg
2024-08-21 13:54:55 +00:00