Commit Graph

33 Commits

Author SHA1 Message Date
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