From 461f195dd428d0fcb4d7f8a03e316c6edb0e48d2 Mon Sep 17 00:00:00 2001 From: ahmedomosanya Date: Fri, 19 Dec 2025 15:43:04 +0100 Subject: [PATCH] feat: update lfx-ui-core to v0.1.0 and add cookie consent to footer - Update @linuxfoundation/lfx-ui-core from 0.0.19 to 0.1.0 - Add cookie-tracking attribute to lfx-footer component for cookie consent integration - Cookie consent uses base Osano script URL without variant parameter Addresses: UIARCH-106 --- .cursor/commands/update-lfx-ui-core.md | 7 +++++++ package.json | 5 +++-- src/app/components/cla-footer/cla-footer.component.html | 1 + yarn.lock | 8 ++++---- 4 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 .cursor/commands/update-lfx-ui-core.md diff --git a/.cursor/commands/update-lfx-ui-core.md b/.cursor/commands/update-lfx-ui-core.md new file mode 100644 index 0000000..4e50b04 --- /dev/null +++ b/.cursor/commands/update-lfx-ui-core.md @@ -0,0 +1,7 @@ +# Update LFX UI Core + +Update @linuxfoundation/lfx-ui-core to the latest version due to a change in the cookie consent configuration. + +Update the shared component to include the cookie consent attribute without a variant. + +https://github.com/linuxfoundation/lfx-ui/blob/main/docs/footer.md#cookie-consent-integration \ No newline at end of file diff --git a/package.json b/package.json index 32b5dcd..16c68d2 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@angular/platform-browser-dynamic": "^15.1.2", "@angular/router": "^15.1.2", "@auth0/auth0-spa-js": "^1.12.1", - "@linuxfoundation/lfx-ui-core": "^0.0.19", + "@linuxfoundation/lfx-ui-core": "^0.1.0", "@ng-bootstrap/ng-bootstrap": "^14.0.1", "@types/auth0-js": "^8.11.7", "@types/node": "^12.11.1", @@ -98,5 +98,6 @@ "minimatch": "^3.0.5", "node-forge": "^1.3.0", "terser": "^5.14.2" - } + }, + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" } diff --git a/src/app/components/cla-footer/cla-footer.component.html b/src/app/components/cla-footer/cla-footer.component.html index 8e299c7..a1a6c01 100644 --- a/src/app/components/cla-footer/cla-footer.component.html +++ b/src/app/components/cla-footer/cla-footer.component.html @@ -2,3 +2,4 @@ ~ Copyright The Linux Foundation and each contributor to CommunityBridge. ~ SPDX-License-Identifier: MIT --> + diff --git a/yarn.lock b/yarn.lock index 7007cf8..f0707a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1587,10 +1587,10 @@ resolved "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz" integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== -"@linuxfoundation/lfx-ui-core@^0.0.19": - version "0.0.19" - resolved "https://registry.yarnpkg.com/@linuxfoundation/lfx-ui-core/-/lfx-ui-core-0.0.19.tgz#7ceee1cd6e13ea61ff0b96360225d157c8795de7" - integrity sha512-dcD81lhVj0epDXLRXiEY9oLnDoWunFDnj/1Q3jD0zNiSGAvXTHZpAnvzFHG2rm/01iTYjfv2yG6mFsgxQWD4xw== +"@linuxfoundation/lfx-ui-core@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@linuxfoundation/lfx-ui-core/-/lfx-ui-core-0.1.0.tgz#0e19eab55bdf89f6cd96d2770d519f2b7bff3022" + integrity sha512-ydeTkbMROdzdhvpNbRGDQFleZsuXehQ2b9gW0ryoULCeBv7NB5h4KNe3rDGiBMdIXAB60470NzisLsC8c9Yn5Q== "@ng-bootstrap/ng-bootstrap@^14.0.1": version "14.0.1"