Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new option for disabling notices-served api in FidesJS #4965

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

gilluminate
Copy link
Contributor

@gilluminate gilluminate commented Jun 7, 2024

Closes PROD-2160

Description Of Changes

Adds a new configuration option for Fides.js that disables the saving of notices-served, so this request can be turned off independently of privacy-preferences.

Code Changes

  • added fides_disable_notices_served_api as a window or query param option
  • added FIDES_DISABLE_NOTICES_SERVED_API as an env var option
  • updated Cypress tests

Steps to Confirm

  • Run the Cookie House demo locally with ?fides_disable_notices_served_api=true as a query param
  • Check the network tab and observe that notices-served is not called, but privacy-preferences still is.

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Documentation
  • Issue Requirements are Met
  • Update CHANGELOG.md

Copy link

vercel bot commented Jun 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
fides-plus-nightly ⬜️ Ignored (Inspect) Visit Preview Jun 10, 2024 3:20pm

@gilluminate gilluminate force-pushed the gill/PROD-2160_fides-js-configuration-to branch 2 times, most recently from 03c9660 to 5f6b4fd Compare June 7, 2024 22:15
@gilluminate gilluminate marked this pull request as ready for review June 7, 2024 22:25
Copy link

cypress bot commented Jun 7, 2024

Passing run #8209 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge 245e50d into fdce1f8...
Project: fides Commit: 0005d23de2 ℹ️
Status: Passed Duration: 00:40 💡
Started: Jun 10, 2024 3:33 PM Ended: Jun 10, 2024 3:34 PM

Review all test suite changes for PR #4965 ↗︎

@gilluminate gilluminate force-pushed the gill/PROD-2160_fides-js-configuration-to branch from d52e6e7 to 245e50d Compare June 10, 2024 15:20
@gilluminate gilluminate changed the title Add new option for disabling notices-saved api in FidesJS Add new option for disabling notices-served api in FidesJS Jun 10, 2024
Copy link
Contributor

@eastandwestwind eastandwestwind left a comment

Choose a reason for hiding this comment

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

looks good to me!

@gilluminate gilluminate merged commit 5c8f0b3 into main Jun 10, 2024
13 checks passed
@gilluminate gilluminate deleted the gill/PROD-2160_fides-js-configuration-to branch June 10, 2024 18:54
Copy link

cypress bot commented Jun 10, 2024

Passing run #8216 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Add new option for disabling notices-served api in FidesJS (#4965)
Project: fides Commit: 5c8f0b3a36
Status: Passed Duration: 00:35 💡
Started: Jun 10, 2024 7:05 PM Ended: Jun 10, 2024 7:06 PM

Review all test suite changes for PR #4965 ↗︎

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.

2 participants