Commit Graph

153 Commits

Author SHA1 Message Date
Linus Flood
5f55687239 Merged in feat/lokalise-sync-020226 (pull request #3525)
Lokalise sync

* Lokalise sync
2026-02-02 10:35:04 +00:00
Anton Gunnarsson
f79ff9b570 Merged in chore/cleanup-unused (pull request #3461)
chore: Cleanup unused vars, exports, types

* Cleanup some unused exports

* Remove more

* Readd CampaignPageIncludedHotelsRef

* Add alias comment to procedure exports

* Remove unused exports


Approved-by: Linus Flood
2026-01-22 12:34:07 +00:00
Matilda Landström
b9d134bca6 Merged in fix/-Lokalise-fetch-14012026 (pull request #3440)
fetch from Lokalise 14/1-26

* fetch from Lokalise 14/1-26


Approved-by: Linus Flood
2026-01-15 13:08:55 +00:00
Linus Flood
3d62c16899 Merged in feat/lokalise-sync-260105 (pull request #3387)
feat(lokalise): fixed correct message and sync

* feat(lokalise): fixed correct message and sync
2026-01-05 11:33:08 +00:00
Joakim Jäderberg
7eb74ea239 Merged in chore/replace-deprecated-body (pull request #3300)
Replace deprecated <Body> with <Typography>

* chore: replace deprecated body component

* refactor: replace Body component with Typography across various components

* merge


Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-12-09 12:45:34 +00:00
Matilda Landström
359f034041 Merged in feat/Lokalise-fetch-9.12.25 (pull request #3318)
Fetch from Lokalise 9.12.25

* Fetch from Lokalise 9.12.25


Approved-by: Bianca Widstam
2025-12-09 10:16:44 +00:00
Linus Flood
3e7e0b1d7d Merged in feat/lokalise-sync-011225 (pull request #3258)
feat(lokalise): sync 1/12

* feat(lokalise): sync 1/12
2025-12-01 08:14:23 +00:00
Matilda Landström
86e15a58c6 Merged in lokalise-profiling-consent (pull request #3242)
chore: fetch from Lokalise

* chore: fetch from Lokalise

* fix: change to correct label


Approved-by: Linus Flood
2025-11-27 12:52:32 +00:00
Matilda Landström
1dabd3cdc7 Merged in chore/Lokalise-update-20251127 (pull request #3241)
chore: fetch from Lokalise

* chore: fetch from Lokalise


Approved-by: Linus Flood
2025-11-27 08:34:18 +00:00
Linus Flood
4c4957be41 Merged in feat/lokalise-sync-181125 (pull request #3166)
feat(lokalise): sync 18/11-25

* feat(lokalise): sync 18/11-25


Approved-by: Matilda Landström
2025-11-19 07:13:39 +00:00
Linus Flood
966429313b Merged in feat/lokalise-sync-131125 (pull request #3157)
feat(lokalise): sync 13/11-25

* feat(lokalise): sync 13/11-25


Approved-by: Matilda Landström
2025-11-13 15:38:31 +00:00
Linus Flood
ad85c5900b Merged in feat/lokalise-pull-051125 (pull request #3083)
feat(lokalise): downloaded latest translations

* feat(lokalise): downloaded latest translations


Approved-by: Joakim Jäderberg
2025-11-05 13:28:01 +00:00
Joakim Jäderberg
47210491c3 Merged in sync-lokalise-2025-10-30 (pull request #3038)
* sync lokalise

* sync defaultMessage


Approved-by: Anton Gunnarsson
2025-10-30 08:47:44 +00:00
Bianca Widstam
bfe5c5f8bb Merged in lokalize/sync (pull request #3024)
lokalise sync

* lokalise sync

* lokalise sync and remove duplicate id


Approved-by: Joakim Jäderberg
Approved-by: Anton Gunnarsson
2025-10-28 10:26:47 +00:00
Anton Gunnarsson
642f032512 Merged in fix/update-sas-join-card-text (pull request #2998)
fix: Update SAS join card text and size

* Update SAS join card text and size


Approved-by: Joakim Jäderberg
2025-10-28 08:17:04 +00:00
Matilda Landström
649c85e6f5 Merged in feat/Lokalise-fetch (pull request #3021)
Update from Lokalise 27/10-25

* Update from Lokalise 27/10-25


Approved-by: Chuma Mcphoy (We Ahead)
2025-10-27 16:00:35 +00:00
Joakim Jäderberg
aafad9781f Merged in feat/lokalise-rebuild (pull request #2993)
Feat/lokalise rebuild

* chore(lokalise): update translation ids

* chore(lokalise): easier to switch between projects

* chore(lokalise): update translation ids

* .

* .

* .

* .

* .

* .

* chore(lokalise): update translation ids

* chore(lokalise): update translation ids

* .

* .

* .

* chore(lokalise): update translation ids

* chore(lokalise): update translation ids

* .

* .

* chore(lokalise): update translation ids

* chore(lokalise): update translation ids

* chore(lokalise): new translations

* merge

* switch to errors for missing id's

* merge

* sync translations


Approved-by: Linus Flood
2025-10-22 11:00:03 +00:00
Linus Flood
d82bd7d804 Merged in feat/lokalise-sync-151025 (pull request #2966)
feat(lokalise): sync 15 oct

* feat(lokalise): sync 15 oct
2025-10-15 07:21:56 +00:00
Linus Flood
7b6c869f4e Merged in feat/lokalise-sync-131025 (pull request #2958)
feat(lokalise): sync 13 oct

* feat(lokalise): sync 13 oct
2025-10-13 11:53:17 +00:00
Linus Flood
040de50c0e Merged in feat/lokalise-sync-091025 (pull request #2935)
feat(lokalise): sync lokalise

* feat(lokalise): sync lokalise


Approved-by: Matilda Landström
2025-10-09 13:11:34 +00:00
Joakim Jäderberg
e4c5363fe9 Merged in fix/BOOK-399-default-language (pull request #2877)
fix(BOOK-399): Default language to 'en' when we've ended up in a invalid state

* fix(BOOK-399): Default language to 'en' when we've ended up in a invalid state

* PR fixes: reuse types and include local dev error message


Approved-by: Anton Gunnarsson
Approved-by: Linus Flood
2025-09-29 14:18:27 +00:00
Matilda Landström
e8968a9eaf Merged in fix/Lokalise (pull request #2851)
fix label typo

* fix label typo


Approved-by: Bianca Widstam
2025-09-23 11:25:53 +00:00
Bianca Widstam
56764f8720 Merged in sync/Localize (pull request #2850)
sync to localize

* sync to localize


Approved-by: Anton Gunnarsson
2025-09-23 09:37:15 +00:00
Matilda Landström
e6d5c45ca7 Merged in fix/Lokalise-update (pull request #2807)
Fix/Lokalise update

* chore: update English keys

* fix: update from Lokalise


Approved-by: Linus Flood
2025-09-16 11:46:31 +00:00
Matilda Landström
70f3b8f016 Merged in feat/Lokalise-update-080925 (pull request #2771)
feat: Update from Lokalise 080925

* feat: Update from Lokalise 080925


Approved-by: Anton Gunnarsson
2025-09-09 06:41:29 +00:00
Anton Gunnarsson
ca408bbbb5 Merged in chore/update-readmes (pull request #2751)
chore: Update README

* Update readme


Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Joakim Jäderberg
2025-09-03 08:54:50 +00:00
Bianca Widstam
5af320eb92 Merged in localize/sync (pull request #2722)
Localize/sync

* sync/localize

* localize


Approved-by: Anton Gunnarsson
2025-08-28 09:15:04 +00:00
Linus Flood
d16c6b8082 Merged in feat/lokalise-sync-220825 (pull request #2690)
Lokalise sync

* Lokalise sync


Approved-by: Joakim Jäderberg
2025-08-22 13:10:47 +00:00
Linus Flood
985d47d7b3 Merged in feat/lokalise-sync-140825 (pull request #2652)
Lokalise sync 14-08-25

* Lokalise sync 14-08-25


Approved-by: Joakim Jäderberg
2025-08-14 06:27:35 +00:00
Linus Flood
011f191c65 Merged in feat/lokalise-sync-120825 (pull request #2620)
Lokalise sync 12-08-25

* Lokalise sync 12-08-25


Approved-by: Anton Gunnarsson
2025-08-12 08:37:42 +00:00
Anton Gunnarsson
3922ade199 Merged in chore/update-translations-2025-07-31 (pull request #2585)
Update translations

* Update translations


Approved-by: Matilda Landström
2025-07-31 11:59:08 +00:00
Anton Gunnarsson
ab233fb1c0 Merged in chore/synk-lokalise-25-07-11 (pull request #2551)
chore: Sync with Lokalise

* Run i18n:sync


Approved-by: Matilda Landström
2025-07-11 07:55:11 +00:00
Anton Gunnarsson
233c685e52 Merged in feat/sw-2333-package-and-sas-i18n (pull request #2538)
feat(SW-2333): I18n for multiple apps and packages

* Set upp i18n in partner-sas

* Adapt lokalise workflow to monorepo

* Fix layout props


Approved-by: Linus Flood
2025-07-10 07:00:03 +00:00
Joakim Jäderberg
daf765f3d5 Merged in feature/wrap-logging (pull request #2511)
Feature/wrap logging

* feat: change all logging to go through our own logger function so that we can control log levels

* move packages/trpc to using our own logger

* merge


Approved-by: Linus Flood
2025-07-03 12:37:04 +00:00
Anton Gunnarsson
6eeaa1cd40 Merged in feat/sw-2872-dependency-inject-app-context-in-trpc-package (pull request #2478)
feat(SW-2872) Dependency inject app context in trpc package

* Move appRouter to trpc package

* WIP Move serverClient to trpc package

Doesn't handle errors yet

* Don't use global

* Use trpc everywhere


Approved-by: Linus Flood
2025-07-01 08:49:33 +00:00
Linus Flood
5ba31f6afe Merged in feat/lokalise-sync-250701 (pull request #2486)
Lokalise sync

* Lokalise sync
2025-07-01 06:04:59 +00:00
Linus Flood
a8a11cca25 Merged in fix/lokalise-sync-250630 (pull request #2474)
Sync lokalise

* Sync lokalise


Approved-by: Bianca Widstam
2025-06-30 11:26:14 +00:00
Anton Gunnarsson
002d093af4 Merged in feat/sw-2863-move-contentstack-router-to-trpc-package (pull request #2389)
feat(SW-2863): Move contentstack router to trpc package

* Add exports to packages and lint rule to prevent relative imports

* Add env to trpc package

* Add eslint to trpc package

* Apply lint rules

* Use direct imports from trpc package

* Add lint-staged config to trpc

* Move lang enum to common

* Restructure trpc package folder structure

* WIP first step

* update internal imports in trpc

* Fix most errors in scandic-web

Just 100 left...

* Move Props type out of trpc

* Fix CategorizedFilters types

* Move more schemas in hotel router

* Fix deps

* fix getNonContentstackUrls

* Fix import error

* Fix entry error handling

* Fix generateMetadata metrics

* Fix alertType enum

* Fix duplicated types

* lint:fix

* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package

* Fix broken imports

* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package


Approved-by: Linus Flood
2025-06-26 07:53:01 +00:00
Michael Zetterberg
db0e92ff12 feat: sync labels 2025-06-18 13:30:42 +00:00
Anton Gunnarsson
846fd904a6 Merged in feat/sw-2859-set-up-shared-trpc-package (pull request #2319)
feat(SW-2859): Create trpc package

* Add isEdge, safeTry and dataCache to new common package

* Add eslint and move prettier config

* Clean up tests

* Create trpc package and move initialization

* Move errors and a few procedures

* Move telemetry to common package

* Move tokenManager to common package

* Add Sentry to procedures

* Clean up procedures

* Fix self-referencing imports

* Add exports to packages and lint rule to prevent relative imports

* Add env to trpc package

* Add eslint to trpc package

* Apply lint rules

* Use direct imports from trpc package

* Add lint-staged config to trpc

* Move lang enum to common

* Restructure trpc package folder structure

* Fix lang imports


Approved-by: Linus Flood
2025-06-18 12:14:20 +00:00
Michael Zetterberg
5826901c0e feat: include hidden labels + sync 2025-06-13 12:01:54 +00:00
Michael Zetterberg
2c9f3c4c5e feat: lokalise clean 2025-06-12 08:56:10 +00:00
Michael Zetterberg
925890dc71 feat: sync labels 2025-06-09 08:55:41 +00:00
Anton Gunnarsson
cbf9e7b7c2 Merged in chore/next15 (pull request #1999)
chore (SW-834): Upgrade to Next 15

* wip: apply codemod and upgrade swc plugin

* wip: design-system to react 19, fix issues from async (search)params

* wip: fix remaining issues from codemod

serverClient is now async because context use headers()
getLang is now async because it uses headers()

* Minor cleanup

* Inline react-material-symbols package

Package is seemingly not maintained any more and doesn't support
React 19. This copies the package source into `design-system`,
makes the necessary changes for 19 and export it for others to use.

* Fix missing awaits

* Disable modal exit animations

Enabling modal exit animations via isExiting prop is causing
modals to be rendered in "hidden" state and never unmount.
Seems to be an issue with react-aria-components,
see https://github.com/adobe/react-spectrum/issues/7563.
Can probably be fixed by rewriting to a solution similar to
https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html

* Remove unstable cache implementation and use in memory cache locally

* Fix ref type in SelectFilter

* Use cloneElement to add key prop to element


Approved-by: Linus Flood
2025-06-02 11:11:50 +00:00
Michael Zetterberg
8d5fc6e678 fix: sync from Lokalise 2025-05-28 2025-06-02 10:07:43 +00:00
Michael Zetterberg
db93cc7d0e fix: sync from Lokalise 2025-05-27 06:24:20 +00:00
Michael Zetterberg
b5b4a61c41 feat: add support for hidden labels when diffing Lokalise labels 2025-05-23 07:07:03 +00:00
Anton Gunnarsson
e4ad0d3466 Update typescript 2025-05-22 14:00:38 +02:00
Michael Zetterberg
f3936f41d8 Merged in fix/label-sync (pull request #2163)
fix: english label sync

* fix: english label sync

* fix: sync from Lokalise


Approved-by: Linus Flood
2025-05-21 04:11:22 +00:00
Joakim Jäderberg
cbbde963dc Merged in fix/my-pages-menu-not-translated (pull request #2045)
fix: my pages menu not translated

* fix: my pages menu not translated
fix: able to pass lang to getIntl()


Approved-by: Michael Zetterberg
2025-05-12 07:57:11 +00:00