Commit Graph

673 Commits

Author SHA1 Message Date
Erik Tiekstra 84985737b6 fix(SW-184): using more variables and removed variants from navigation menu after PR 2024-09-03 13:26:16 +02:00
Erik Tiekstra 79b4c3fe12 fix(SW-184): added membership level and points to menu 2024-09-03 13:26:15 +02:00
Erik Tiekstra d1a2175804 chore: cleanup 2024-09-03 13:26:15 +02:00
Erik Tiekstra a02dcd3428 fix(SW-184): fixed implementation of useTrapFocus 2024-09-03 13:26:15 +02:00
Erik Tiekstra bdec054ecd feat(SW-184): my pages menu mobile/desktop functionality 2024-09-03 13:26:15 +02:00
Erik Tiekstra 7ef7b4a544 feat(SW-184): language switcher mobile/desktop functionality 2024-09-03 13:26:15 +02:00
Erik Tiekstra a2e2cf575e feat(SW-184): implementing mobile design 2024-09-03 13:26:15 +02:00
Erik Tiekstra 0dcb5a796a chore: cleanup 2024-09-03 13:26:15 +02:00
Erik Tiekstra 08cde7ae2f feat(SW-184): added main components for new header 2024-09-03 13:26:15 +02:00
Tobias Johansson bc3233ff64 Merged in feat/SW-196-design-fixes (pull request #547)
Feat/SW-196 design fixes

* feat(SW-196): Updated copy My credit cards -> My payment cards

* fix: update design system version

* feat(SW-196): Update Header component to use Preamble instead of Subtitle

* feat(SW-196): Minor design fixes


Approved-by: Christel Westerberg
2024-09-03 08:43:13 +00:00
Niclas Edenvin 0ab825278c feat: SW-280 implement basic details component 2024-09-02 09:01:21 +02:00
Chuma McPhoy 985e3c45c5 fix(SW-96): import type 2024-08-30 08:53:34 +02:00
Chuma McPhoy 7d47994539 refactor(SW-96): use images from API & reduce data returned in getHotel 2024-08-30 08:53:34 +02:00
Chuma McPhoy 76e0fb5697 fix(SW-96): use input props for preview images 2024-08-30 08:53:34 +02:00
Chuma McPhoy d77070a210 refactor(SW-96): unify lightbox to handle mobile and desktop 2024-08-30 08:53:34 +02:00
Chuma McPhoy 59615cef94 feat(SW-96): Ship reusable desktop lightbox 2024-08-30 08:53:34 +02:00
Pontus Dreij 4274bdc220 Merged in feat/SW-185-implement-footer-navigation (pull request #437)
Feat/SW-185 implement footer navigation

Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
Approved-by: Simon.Emanuelsson
2024-08-30 06:36:31 +00:00
Matilda Landström 93e54b4ca1 feat(SW-93): add mocked facility cards 2024-08-29 16:51:19 +02:00
Matilda Landström 8da332dcc3 feat(SW-312): fix "2-for-1-breakfast" only unlocked for level 5 2024-08-29 15:46:53 +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
Pontus Dreij b86d799fb1 feat(SW-185): Moved types to types folder 2024-08-28 08:58:04 +02:00
Pontus Dreij cce5af83a4 feat(SW-185): fix typo and updated with aria-label 2024-08-28 08:52:59 +02:00
Pontus Dreij 07b564c8a4 feat(SW-185): Fixed app download images 2024-08-26 11:06:03 +02:00
Pontus Dreij df0a9d661b feat(SW-185): Refactor mocked data 2024-08-26 11:05:48 +02:00
Pontus Dreij 6f28aee349 feat(SW-185): Fixing comments 2024-08-26 11:05:48 +02:00
Pontus Dreij b5dddfcd8b feat(SW-185): Footer mobile adjustments 2024-08-26 11:05:48 +02:00
Christel Westerberg aefb44011f fix: add support for original_url in rte 2024-08-23 16:22:14 +02:00
Simon Emanuelsson 2337d37f1a feat(SW-160): update profile 2024-08-23 09:09:55 +02: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
Erik Tiekstra 8c76cf62c7 fix(SW-190): reverted changes in MaxWidth 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
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
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
Fredrik Thorsson 65509622d2 feat(SW-243): add temp data 2024-08-21 15:32:53 +02:00
Michael Zetterberg 63ce8a2dfb fix(SW-104): use relative url for initiation 2024-08-21 15:25:37 +02:00
Pontus Dreij b3bccc51d7 Merge branch 'develop' into feat/SW-266-seo-loyalty-pages 2024-08-21 14:11:53 +02:00
Chuma McPhoy 16e0165a6e fix(SW-188): use camelCase for schemas 2024-08-21 10:31:52 +02:00
Chuma McPhoy 400c0b48e4 refactor(SW-188): reintroduce tempHotelData 2024-08-21 10:31:52 +02:00
Chuma McPhoy 1ff6cd267d feat: update getHotel to use real hotel api endpoint, support for service tokens, type modifications 2024-08-21 10:31:52 +02:00
Arvid Norlin 7e719bc475 chore: move typings 2024-08-21 09:44:28 +02:00
Arvid Norlin 8c75b9bcd7 wip: initial stab trpc pagination 2024-08-21 09:44:25 +02:00
Arvid Norlin 6f293be3a7 feat(SW-164): Add pagination for friendship transactions 2024-08-21 09:43:51 +02:00
Tobias Johansson 84f5e74f00 Merged in feat/SW-104-add-card (pull request #410)
Feat/SW-104 add card

* feat: add api endpoints for adding and removing credit card

* feat(SW-104): Added Sonner toast lib

* feat(SW-104): Add route handlers for add card flow

* feat(SW-104): Added link to route handler and trigger toast when query params from callback is set

* feat(SW-104): Added translations for add card success toast

* feat(SW-104): Refactored to use client request for initiate save card

* fix(SW-104): Return proper status codes when initiating save card fails

* fix(SW-104): remove delete card endpoint because it was added in SW-245

* fix(SW-104): remove console.log

* fix(SW-104): Use api.post for save card request

* fix(SW-104): move function declaration above export

* fix(SW-104): handle response of save card and use Lang enum

* fix(SW-104): added comment for why setTimeout is needed for toast and also removed lang prop

* fix(SW-104): added type for AddCreditCardButton props

* feat: add toasts

* fix(SW-104): start using toasts from ToastHandler and fix problem with duplicate toasts

* fix(SW-104): remove unnecessary wrapping div


Approved-by: Michael Zetterberg
2024-08-20 15:04:02 +00:00
Fredrik Thorsson 00a5465485 feat(SW-240): refactor booking widget 2024-08-19 15:49:59 +02:00
Pontus Dreij 6b2a78b71c Merged develop into feat/SW-266-seo-loyalty-pages 2024-08-19 11:08:33 +00:00
Pontus Dreij c730fa7035 feat(SW-266): Replacing static metadata with data from Contentstack on Loyalty pages and Account Pages 2024-08-19 13:03:46 +02:00
Hrishikesh Vaipurkar cdd83a4346 feat: SW-158 Tracking support 2024-08-19 12:02:06 +02:00