Commit Graph

89 Commits

Author SHA1 Message Date
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
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
Simon Emanuelsson
2337d37f1a feat(SW-160): update profile 2024-08-23 09:09:55 +02:00
Chuma McPhoy
f4586ba35b fi(SW-188): implement PR feedback 2024-08-21 10:31:52 +02:00
Chuma McPhoy
f3d32033a5 fix(SW-188): remove use of getHotel endpoint in components meant to use other endpoints 2024-08-21 10:31:52 +02:00
Chuma McPhoy
172802af2f fix(SW-188): remove refine and validate on transform for hotel schema 2024-08-21 10:31:52 +02:00
Chuma McPhoy
16e0165a6e fix(SW-188): use camelCase for schemas 2024-08-21 10:31:52 +02:00
Chuma McPhoy
aa38e82698 refactor: add hotel scope to service token fetch & enable hotel API 2024-08-21 10:31:52 +02:00
Chuma McPhoy
2407f40b75 fix(SW-188): replace formatMessage destructuring in hotel related components 2024-08-21 10:31:52 +02:00
Chuma McPhoy
96d3f68ad3 fix(SW-188): more semantic name for tolang transformer function 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
bd5e754d8a fix(SW-188): forAllergics typo 2024-08-21 10:31:52 +02:00
Chuma McPhoy
3a2a58a9ca fix(SW-188): improve semantics, use hotel instead of attribute naming 2024-08-21 10:31:52 +02:00
Chuma McPhoy
ed379202c8 refactor(SW-188): replace anon or auth procedure with serviceProcedure 2024-08-21 10:31:52 +02:00
Chuma McPhoy
5d6fac63c1 chore: remove temp hotel data json 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
Fredrik Thorsson
75011dffe5 feat: schema change 2024-08-06 13:12:22 +02:00
Fredrik Thorsson
798d19d3c8 feat: filter route changes 2024-08-06 13:12:22 +02:00
Fredrik Thorsson
c7bef7d1cf feat: css and syntax changes 2024-08-06 13:12:22 +02:00
Fredrik Thorsson
a48019a6a0 feat: pass filters as prop 2024-08-06 13:12:22 +02:00
Fredrik Thorsson
ebfe4d45dc feat: add router for filters 2024-08-06 13:12:22 +02:00
Michael Zetterberg
71dcf30719 fix: make sure all logged errors are preceeded with a message
Just logging an error makes it difficult to relate the error log to code in the
codebase. Error logging a message right before the error itself makes it easier
to search the codebase for that error log.
2024-07-24 11:32:15 +02:00
Chuma McPhoy
0697c8d9ef feat: add included param to hotel call, fetch room data, setup schema, use in hotelpage 2024-07-10 18:55:22 +02:00
Niclas Edenvin
722bab97ad feat(SW-70): Create TRPC route to get rates 2024-07-09 13:25:26 +02:00
Chuma McPhoy
57b424819a fix: return attributes from hotel router 2024-07-08 12:53:12 +02:00
Chuma McPhoy
bfcef5b832 chore: create a utils/languages file 2024-07-04 15:19:17 +02:00
Chuma McPhoy
f89d17cd7f chore: move toApiLang util to hotel trpc folder 2024-07-04 15:05:02 +02:00
Chuma McPhoy
2cf77af0c3 chore: remove console logs 2024-07-02 15:39:08 +02:00
Chuma McPhoy
0d5b775c24 feat: Add TRPC procedure for hotel API, schemas, and use in hotel content page 2024-07-02 15:27:07 +02:00
Chuma McPhoy
9413739f17 feat: Add Hotel endpoint and TRPC query 2024-07-01 13:53:07 +02:00