Commit Graph

31 Commits

Author SHA1 Message Date
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
Rasmus Langvad
d0546926a9 Merged in fix/3697-prettier-configs (pull request #3396)
fix(SW-3691): Setup one prettier config for whole repo

* Setup prettierrc in root and remove other configs


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2026-01-07 12:45:50 +00:00
Joakim Jäderberg
f5dd6740d0 Merged in chore/upgrade-vitest4 (pull request #3253)
chore: upgrade to vitest@4

* chore: upgrade to vitest@4


Approved-by: Anton Gunnarsson
2025-12-01 12:41:12 +00:00
Joakim Jäderberg
bf6ed7778e Merged in feat/syncDefaultMessage (pull request #3022)
Sync defaultMessage from lokalise

* Enhance translation sync functionality and tests

- Added logging for found component files during sync.
- Introduced tests for handling complex components with replacements.
- Updated regex in syncIntlFormatMessage to support optional second arguments.
- Removed unused test files.

* feat(syncDefaultMessage): add script for syncing default message with lokalise

* feat(syncDefaultMessage): add script for syncing default message with lokalise


Approved-by: Matilda Landström
2025-10-30 08:38:50 +00:00
Joakim Jäderberg
b5817c5dcd Merged in fix/allow-double-locales (pull request #2977)
Fix/allow double locales

* allow double locales for now

* update redirects


Approved-by: Linus Flood
2025-10-16 07:59:42 +00:00
Joakim Jäderberg
5c96f98e2e Merged in chore/redirect-update (pull request #2939)
* Update redirects

* Merge

* Update redirects and handle empty entries


Approved-by: Linus Flood
2025-10-10 08:21:49 +00:00
Joakim Jäderberg
f3f75e8ece Merged in feature/BOOK-401-handle-new-redirects-part-2 (pull request #2944)
feat(BOOK-401): Add support for new-url -> new-url in the redirect-service

* Switch to typescript

* add new dependencies for tests and typescript

* Switch to typescript

* add new dependencies for tests and typescript

* rewrite to typescript and include tests

* rewrite to typescript and include tests

* refactor: update README and scripts for CSV handling; rename update script to generate

* include csv-data folder

* feat(BOOK-401): Add support for new-url -> new-url in the redirect-service

* Add errors when given unsupported URLs

* merge


Approved-by: Linus Flood
2025-10-10 07:51:47 +00:00
Joakim Jäderberg
eba6319ebe Merged in feature/BOOK-401-handle-new-redirects (pull request #2942)
feat(BOOK-401): redirect-service with tests and typings

* Switch to typescript

* add new dependencies for tests and typescript

* Switch to typescript

* add new dependencies for tests and typescript

* rewrite to typescript and include tests

* rewrite to typescript and include tests

* refactor: update README and scripts for CSV handling; rename update script to generate

* include csv-data folder


Approved-by: Linus Flood
2025-10-10 07:32:32 +00:00
Joakim Jäderberg
a0580de52f Merged in redirect-update-2025-08-29 (pull request #2733)
* rerun update


Approved-by: Anton Gunnarsson
2025-08-29 09:47:05 +00:00
Joakim Jäderberg
784c353b1e Merged in update-redirects-2025-08-28 (pull request #2723)
* update redirects
* format redirect-json to allow new lines

Approved-by: Bianca Widstam
2025-08-28 11:52:32 +00:00
Linus Flood
b2148cd12e Merged in fix/branch-sync-4 (pull request #2650)
Fix/branch sync 4

* Test ignore script

* Test

* Fixed ignore script
2025-08-14 05:53:32 +00:00
Linus Flood
ddaa2a0e20 Merged in fix/branch-sync-2 (pull request #2643)
Fix/branch sync 2

* feat(branch sync)-fixed ignore script

* feat(branch sync)-fixed ignore script

* merge master

* Merge branch 'master' into fix/branch-sync-2

* Revert branch sync

* Ignore ignore script

* Merge branch 'master' into fix/branch-sync-2
2025-08-13 12:31:28 +00:00
Linus Flood
2bf1d8e22b Merged in fix/branch-sync-2 (pull request #2642)
Fix/branch sync 2

* feat(branch sync)-fixed ignore script

* feat(branch sync)-fixed ignore script

* merge master

* Merge branch 'master' into fix/branch-sync-2

* Revert branch sync
2025-08-13 12:19:56 +00:00
Linus Flood
83256695db Merged in fix/branch-sync-2 (pull request #2640)
Fix/branch sync 2

* feat(branch sync)-fixed ignore script

* feat(branch sync)-fixed ignore script

* merge master
2025-08-13 11:59:28 +00:00
Linus Flood
cf4a9bfa84 Merged in fix/branch-sync-2 (pull request #2639)
feat(branch sync)-fixed ignore script

* feat(branch sync)-fixed ignore script
2025-08-13 11:42:54 +00:00
Linus Flood
9362d09730 Merged in fix/branch-sync (pull request #2625)
fix(branch sync): check if cached commit ref exists before ignoring builds

* fix(branch sync): check if cached commit ref exists before ignoring builds


Approved-by: Joakim Jäderberg
2025-08-12 11:56:17 +00:00
Linus Flood
6f96698082 Merged in feat/update-redirects-250704 (pull request #2520)
Updated redirects

* Updated redirects


Approved-by: Joakim Jäderberg
2025-07-04 06:04:33 +00:00
Anton Gunnarsson
157c0415e5 Merged in fix/add-netlify-build-ignore (pull request #2366)
chore: Add ignore to build config

* Add ignore to build config

* Add missing package to ignore

* Add build filter for partner-sas site


Approved-by: Linus Flood
2025-06-27 09:48:03 +00:00
Michael Zetterberg
4a00527d1d fix: synced redirects 2025-06-19 09:46:33 +00:00
Michael Zetterberg
c52da4bec6 feat: add redirect processing script 2025-06-12 07:03:07 +00:00
Michael Zetterberg
3fa35fef63 Merged in fix/sync-redirects (pull request #2176)
fix: synced redirects

* fix: synced redirects


Approved-by: Linus Flood
2025-05-21 08:26:01 +00:00
Arvid Norlin
805c8a6cef Merged in fix/updated-redirects-3 (pull request #2109)
fix: fixed redirects

* fix: fixed redirects


Approved-by: Joakim Jäderberg
2025-05-15 12:19:10 +00:00
Arvid Norlin
22a9202e7b Merged in feat/redirect-add-logging (pull request #2105)
feat: add scandic-redirect logging

* feat: add scandic-redirect logging


Approved-by: Michael Zetterberg
2025-05-15 09:21:51 +00:00
Arvid Norlin
d0a3d0c228 Merged in fix/updated-redirects (pull request #2098)
fix: updated redirects again

* fix: updated redirects again


Approved-by: Joakim Jäderberg
2025-05-15 04:03:15 +00:00
Arvid Norlin
4f7edf6ad2 Merged in feat/redirect-list-update (pull request #2088)
feat: update redirect lists

* feat: update redirect lists


Approved-by: Joakim Jäderberg
2025-05-14 09:30:12 +00:00
Arvid Norlin
c22cd62d21 feat: add trailingSlash middleware 2025-05-13 11:34:26 +00:00
Arvid Norlin
44613624e5 Merged in fix/correct-redirect-jsons (pull request #2021)
fix: correct sv and fi jsons

* fix: correct sv and fi jsons


Approved-by: Joakim Jäderberg
2025-05-09 08:10:31 +00:00
Arvid Norlin
058f6e8c93 Merged in fix/SW-2431-updated-redirects (pull request #1992)
fix(SW-2431): update redirect lists

* fix(SW-2431): update redirect lists


Approved-by: Michael Zetterberg
2025-05-07 11:01:09 +00:00
Arvid Norlin
79a009fd4b feat: add final url lists 2025-05-03 20:00:14 +00:00
Joakim Jäderberg
213bd2c561 Merged in fix/SW-2427-floating-booking-widget-fullwidth (pull request #1826)
fix: when floating booking widget is sticky let it have white background all the way out. SW-2427

* fix: when floating booking widget is sticky let it have white background all the way out.
Resolves SW-2427

* pr: move styling variants to it's own file


Approved-by: Christian Andolf
2025-04-17 08:56:24 +00:00
Arvid Norlin
33065be565 Merged in feat/SW-2111 (pull request #1761)
feat(SW-2111): add initial scandic-redirect

* feat(SW-2111): add initial scandic-redirect

* feat(SW-2112): add scandic-redirect call to middleware

* chore: add redirect jsons per lang

* fix: handle incorrect contentTypes

* fix: handle lang

* refactor: add json streaming

* refactor: wrap redirect call in cacheOrGet

* refactor: review


Approved-by: Michael Zetterberg
2025-04-16 06:29:32 +00:00