Commit Graph

82 Commits

Author SHA1 Message Date
Niclas Edenvin 6e6d14875d Merged in feat/SW-454-select-room-api (pull request #648)
Feat/SW-454 Create select rate page foundation

* Extract select-rate page to its own, fixed route

* Rename availability to hotelsAvailability

* Update availability hotels response

* Number to string


Approved-by: Pontus Dreij
2024-10-08 09:10:06 +00:00
Matilda Landström 0fa8251cd3 refactor(SW-302 2024-10-08 08:53:41 +02:00
Matilda Landström 22f3656b92 refactor(SW-296) 2024-10-08 08:53:41 +02:00
Matilda Landström 1d8319bfcb fix(SW-302): fixes after rebase 2024-10-08 08:53:41 +02:00
Matilda Landström a12eea5493 refactor(SW-302): split upp function into two 2024-10-08 08:53:41 +02:00
Matilda Landström 72c961eabf refactor(SW-302): code cleanup 2024-10-08 08:53:41 +02:00
Matilda Landström 02cb03f154 refactor(SW-302): update naming 2024-10-08 08:53:41 +02:00
Matilda Landström 86dd3c04ed feat(SW-302): switch out mock data for facility cards 2024-10-08 08:53:41 +02:00
Tobias Johansson 4103e3fb37 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 09:37:09 +00:00
Tobias Johansson 869c9b67b8 Merged in feat/SW-475-enter-details-header (pull request #630)
Feat/SW-475 enter details header

* feat(SW-475): updated hotel mock data to reflect api

* feat(SW-475): Added hotel selection header with sidepeek buttons

* fix(SW-475): fixes from PR

* fix(SW-475): changed intl string


Approved-by: Arvid Norlin
2024-10-03 07:42:26 +00:00
Arvid Norlin 724f429696 feat(SW-341): add hotels listing sidepeeks 2024-10-02 08:55:05 +02:00
Niclas Edenvin 2d25496d79 Update availability endpoint to v1 2024-09-27 14:23:49 +02:00
Erik Tiekstra fe607f640c feat(SW-325): added additional poi groups 2024-09-27 10:07:31 +02:00
Fredrik Thorsson 3a88b35a77 fix/add filter 2024-09-26 15:52:10 +02:00
Fredrik Thorsson af47e9eb18 fix/update hotel data output 2024-09-26 15:36:07 +02:00
Christel Westerberg 56cd02f90b feat(SW-353): dynamic rewards 2024-09-26 11:52:07 +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
Fredrik Thorsson 21ff8f8b5d feat(SW-251): update logging texts 2024-09-12 16:55:36 +02:00
Fredrik Thorsson 7eeafd2a20 feat(SW-251): use response to render filters 2024-09-12 16:55:36 +02:00
Fredrik Thorsson 8c530658c5 feat(SW-251): use availability to get hotel 2024-09-12 16:52:44 +02:00
Fredrik Thorsson 024a095dc6 feat(SW-251): check for undefined 2024-09-12 16:52:44 +02:00
Fredrik Thorsson 6089af764a feat(SW-251): filter request 2024-09-12 16:52:44 +02:00
Fredrik Thorsson 3f6e2ca06e feat(SW-251): set up filter route 2024-09-12 16:52:43 +02:00
Erik Tiekstra 50d74648b5 feat(SW-189): added static map to hotel page 2024-09-12 10:12:43 +02:00
Matilda Landström 86e9cf1177 refactor(SW-303): add typing 2024-09-10 16:10:01 +02:00
Matilda Landström f3a455926e refactor(SW-303): refactoring 2024-09-10 16:10:01 +02:00
Matilda Landström 84d37e58ef chore(SW-303): fetch activity card from CS 2024-09-10 16:10:01 +02:00
Matilda Landström 72c8246384 Revert "chore(SW-303): fetch activity card from CS"
This reverts commit dde9ca190a.
2024-09-09 08:46:31 +02:00
Matilda Landström dde9ca190a chore(SW-303): fetch activity card from CS 2024-09-09 08:44:12 +02:00
Fredrik Thorsson 70460e5aba feat(SW-176): add default values 2024-09-04 09:44:54 +02:00
Fredrik Thorsson a3e540baa6 feat(SW-176): filter in route 2024-09-04 09:44:54 +02:00
Fredrik Thorsson 87de043598 feat(SW-176): add optional inputs 2024-09-04 09:44:54 +02:00
Fredrik Thorsson e26a2aec85 feat(SW-176): add enum 2024-09-04 09:44:53 +02:00
Fredrik Thorsson fa6108d718 feat(SW-176): use temp data for hotel 2024-09-04 09:44:03 +02:00
Fredrik Thorsson 3c82a8b4b5 feat(SW-176): use the availability endpoint 2024-09-04 09:44:03 +02:00
Fredrik Thorsson d11554168f feat(SW-176): refactor 2024-09-04 09:44:03 +02:00
Fredrik Thorsson 864f3cdaf2 feat(SW-176): rebase 2024-09-04 09:44:03 +02:00
Fredrik Thorsson 9112941026 feat(SW-176): set up route 2024-09-04 09:44:03 +02:00
Fredrik Thorsson deb3151edc feat(SW-176): add schemas 2024-09-04 09:44:03 +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
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
Simon Emanuelsson 93526ce693 fix: rename retried-wrapped fetch to make caching work again 2024-08-28 14:55:31 +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 9497e8eef3 fix: add apiResponse.text() to logging 2024-08-23 12:33:28 +02:00