Commit Graph

83 Commits

Author SHA1 Message Date
Simon Emanuelsson
a5400c1498 feat: guest information form enter details 2024-10-07 13:41:46 +02:00
Pontus Dreij
b83103cb54 feat(SW-350): removed dublicaded translation 2024-10-04 12:40:18 +02:00
Tobias Johansson
9b160c2222 Merged in feat/SW-431-payment-flow (pull request #635)
Feat/SW-431 payment flow

* feat(SW-431): Update mock hotel data

* feat(SW-431): Added route handler and trpc routes

* feat(SW-431): List payment methods and handle booking status and redirection

* feat(SW-431): Updated booking page to poll for booking status

* feat(SW-431): Updated create booking contract

* feat(SW-431): small fix

* fix(SW-431): Added intl string and sorted dictionaries

* fix(SW-431): Changes from PR

* fix(SW-431): fixes from PR

* fix(SW-431): add todo comments

* fix(SW-431): update schema prop

Approved-by: Simon.Emanuelsson
2024-10-04 12:38:49 +02:00
Pontus Dreij
dde7fb1fd8 feat(SW-350): Implemented tooltip and booking widget tablet design 2024-10-04 12:38:49 +02:00
Tobias Johansson
2ddc735ab5 Merged in feat/SW-431-payment-flow (pull request #635)
Feat/SW-431 payment flow

* feat(SW-431): Update mock hotel data

* feat(SW-431): Added route handler and trpc routes

* feat(SW-431): List payment methods and handle booking status and redirection

* feat(SW-431): Updated booking page to poll for booking status

* feat(SW-431): Updated create booking contract

* feat(SW-431): small fix

* fix(SW-431): Added intl string and sorted dictionaries

* fix(SW-431): Changes from PR

* fix(SW-431): fixes from PR

* fix(SW-431): add todo comments

* fix(SW-431): update schema prop

Approved-by: Simon.Emanuelsson
2024-10-04 12:38:49 +02:00
Tobias Johansson
d44451d2dc Merged in feat/SW-431-payment-flow (pull request #635)
Feat/SW-431 payment flow

* feat(SW-431): Update mock hotel data

* feat(SW-431): Added route handler and trpc routes

* feat(SW-431): List payment methods and handle booking status and redirection

* feat(SW-431): Updated booking page to poll for booking status

* feat(SW-431): Updated create booking contract

* feat(SW-431): small fix

* fix(SW-431): Added intl string and sorted dictionaries

* fix(SW-431): Changes from PR

* fix(SW-431): fixes from PR

* fix(SW-431): add todo comments

* fix(SW-431): update schema prop

Approved-by: Simon.Emanuelsson
2024-10-04 12:23:31 +02:00
Pontus Dreij
aee9e94f7a feat(SW-350): Implemented tooltip and booking widget tablet design 2024-10-04 10:00:52 +02:00
Simon Emanuelsson
1380dec6e3 feat: add mobile ui to calendar 2024-10-02 11:50:56 +02:00
Simon Emanuelsson
99b14304d4 feat: add desktop ui to calendar 2024-09-27 17:51:27 +02:00
Erik Tiekstra
e43c4ce9e8 feat(SW-325): added translations 2024-09-27 10:07:31 +02:00
Simon Emanuelsson
af850c90e7 feat(SW-66, SW-348): search functionality and ui 2024-09-24 09:47:31 +02:00
Erik Tiekstra
e79f413003 feat(SW-325): added pois to the list and dynamic map 2024-09-18 15:22:31 +02:00
Pontus Dreij
fd44b79883 Merged in fix/SW-378-footer-language-switcher (pull request #579)
fix(SW-378): Added close button to footer language switcher and made it slide up from below

Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2024-09-13 15:01:13 +00:00
Pontus Dreij
ca4521e4a1 feat(SW-378): Added close button to footer language switcher and made it slide up from below 2024-09-13 09:37:00 +02:00
Erik Tiekstra
21d8a5835a feat(SW-189): added translations and some minor changes 2024-09-12 15:14:15 +02:00
Erik Tiekstra
50d74648b5 feat(SW-189): added static map to hotel page 2024-09-12 10:12:43 +02:00
Pontus Dreij
428fb3df3f Merged in feat/sw-187-footer-content-stack (pull request #565)
Feat/sw 187 footer content stack

Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2024-09-12 07:11:25 +00:00
Chuma McPhoy
d92308b99d feat(SW-337): logic for accesible dialog title text for lightbox 2024-09-09 15:03:37 +02:00
Simon Emanuelsson
d46a7ecbf7 feat: add discard changes modal to profile edit 2024-09-09 10:27:38 +02:00
Pontus Dreij
144ab30bc6 feat(SW-187): Added social media data and copyright label 2024-09-06 13:53:17 +02:00
Erik Tiekstra
52fdc1daac feat(SW-186): implement cms data into new header 2024-09-06 09:00:07 +02:00
Fredrik Thorsson
412f27acaa feat(SW-176): sort translations 2024-09-04 09:50:25 +02:00
Fredrik Thorsson
e26a2aec85 feat(SW-176): add enum 2024-09-04 09:44:53 +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
f1242e69e3 fix(SW-184): added translations 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
a2e2cf575e feat(SW-184): implementing mobile design 2024-09-03 13:26:15 +02:00
Erik Tiekstra
c6ad5eecc5 feat(SW-184): added some translations 2024-09-03 13:26:15 +02:00
Erik Tiekstra
45095a27d4 feat(SW-184): added menu buttons and my pages menu 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
Tobias Johansson
c0b16e8dee Merged in feat/SW-212-copy-to-clipboard-feedback (pull request #548)
Feat/SW-212 copy to clipboard feedback

* feat(SW-212): Added toast to give feedback when copying member id

* feat(SW-212): Update copy

* feat(SW-212): Changed to use success toast and updated copy

* fix: update copy in toast for copying membership ID


Approved-by: Christel Westerberg
Approved-by: Matilda Landström
2024-09-02 13:49:10 +00:00
Chuma McPhoy
d77070a210 refactor(SW-96): unify lightbox to handle mobile and desktop 2024-08-30 08:53:34 +02:00
Fredrik Thorsson
ee879f60a3 feat(SW-252): translations 2024-08-29 16:07:29 +02:00
Fredrik Thorsson
9c8bb4a862 feat(SW-252): sort translations 2024-08-29 16:07:29 +02:00
Fredrik Thorsson
69ebf254d1 feat(SW-252): add new ux 2024-08-29 16:07:29 +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
Simon Emanuelsson
93526ce693 fix: rename retried-wrapped fetch to make caching work again 2024-08-28 14:55:31 +02:00
Matilda Landström
007b937695 chore(SW-288): update Finnish translations + date format 2024-08-28 09:54:16 +02:00
Simon Emanuelsson
2337d37f1a feat(SW-160): update profile 2024-08-23 09:09:55 +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
5c357bc88b feat(SW-243): add translations 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
56a85dcde7 feat(SW-243): refactor 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
65509622d2 feat(SW-243): add temp data 2024-08-21 15:32:53 +02:00
Fredrik Thorsson
bdafef492f feat(SW-243): implement mobile design 2024-08-21 15:32:53 +02:00
Arvid Norlin
8109148bc5 fix(SW287): update translation regarding current level 2024-08-21 14:29:51 +02:00
Chuma McPhoy
f4586ba35b fi(SW-188): implement PR feedback 2024-08-21 10:31:52 +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
8c339fa593 feat(SW-240): add basic styling 2024-08-19 15:49:59 +02:00