Skip to content

Add 'Your Privacy Choices' link to footer#10784

Open
chabiss wants to merge 2 commits intodevfrom
dev-chabiss-YourPrivacyChoices
Open

Add 'Your Privacy Choices' link to footer#10784
chabiss wants to merge 2 commits intodevfrom
dev-chabiss-YourPrivacyChoices

Conversation

@chabiss
Copy link
Copy Markdown
Collaborator

@chabiss chabiss commented Apr 15, 2026

Summary

Mandated link to be included in all Microsoft footer web sites.
image

Adds a Your Privacy Choices link with the standard opt-out SVG icon to the NuGet Gallery footer, placed between Terms of Use and Privacy Statement.

Changes

  • IAppConfiguration / AppConfiguration – New \ExternalYourPrivacyChoicesUrl\ config property
  • GalleryConfiguration (AccountDeleter) – Stubbed the new property
  • UrlHelperExtensions – Added \YourPrivacyChoices()\ helper that uses the external URL when configured
  • Footer.cshtml – Inserted the link with SVG icon in both footer paths (external branding & .NET Foundation)
  • Web.config – Default value: \https://aka.ms/yourcaliforniaprivacychoices\

Testing

  • Verified the link renders at 16px font size with the opt-out icon inline

chabiss and others added 2 commits April 15, 2026 11:27
Add a configurable 'Your Privacy Choices' link with opt-out SVG icon
between 'Terms of Use' and 'Privacy Statement' in the site footer.

- Add ExternalYourPrivacyChoicesUrl to IAppConfiguration/AppConfiguration
- Add YourPrivacyChoices() URL helper extension method
- Insert link with icon in both footer code paths (external branding and .NET Foundation)
- Default URL: https://aka.ms/yourcaliforniaprivacychoices

Co-authored-by: Copilot <[email protected]>
@chabiss
Copy link
Copy Markdown
Collaborator Author

chabiss commented Apr 15, 2026

See https://github.com/NuGet/Engineering/issues/6309 for more info

@chabiss chabiss marked this pull request as ready for review April 15, 2026 19:05
@chabiss chabiss requested a review from a team as a code owner April 15, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant