Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .cursor/commands/update-lfx-ui-core.md
Original file line number Diff line number Diff line change
@@ -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 <lfx-footer></lfx-footer> 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
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -98,5 +98,6 @@
"minimatch": "^3.0.5",
"node-forge": "^1.3.0",
"terser": "^5.14.2"
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
1 change: 1 addition & 0 deletions src/app/components/cla-footer/cla-footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
~ Copyright The Linux Foundation and each contributor to CommunityBridge.
~ SPDX-License-Identifier: MIT
-->
<lfx-footer cookie-tracking></lfx-footer>
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cookie-tracking attribute is used inconsistently across the application. In app.component.html, it's set as cookie-tracking="true" (with an explicit value), while here it's used as a boolean attribute without a value. For consistency and clarity, these should use the same format throughout the codebase. Consider using cookie-tracking="true" to match the existing usage in app.component.html.

Suggested change
<lfx-footer cookie-tracking></lfx-footer>
<lfx-footer cookie-tracking="true"></lfx-footer>

Copilot uses AI. Check for mistakes.
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading