Skip to content

ENG-3590: Resurface behaviors for TCf#8079

Merged
tvandort merged 3 commits into
mainfrom
ENG-3590
May 4, 2026
Merged

ENG-3590: Resurface behaviors for TCf#8079
tvandort merged 3 commits into
mainfrom
ENG-3590

Conversation

@tvandort
Copy link
Copy Markdown
Contributor

@tvandort tvandort commented Apr 30, 2026

Ticket ENG-3590

Sibling PR: https://github.com/ethyca/fidesplus/pull/3500

Description Of Changes

TCF doesn't resurface when it is configured to resurface on dismiss or reject. This change fixes that.

There is a matching backend change for this code as the minimal TCF endpoint also needs to return the behavior array.

Steps to Confirm

  1. Configure a TCF experience
  2. dismiss the TCF banner
  3. check that the banner resurfaces on page reload
  4. do 2-3 but with reject configured
  5. do 2-3 but with no behavior's checked off
  6. observe that the banner does not resurface

Pre-Merge Checklist

  • Issue requirements met
  • All CI pipelines succeeded
  • CHANGELOG.md updated
    • Add a db-migration This indicates that a change includes a database migration label to the entry if your change includes a DB migration
    • Add a high-risk This issue suggests changes that have a high-probability of breaking existing code label to the entry if your change includes a high-risk change (i.e. potential for performance impact or unexpected regression) that should be flagged
    • Updates unreleased work already in Changelog, no new entry necessary
  • UX feedback:
    • All UX related changes have been reviewed by a designer
    • No UX review needed
  • Followup issues:
    • Followup issues created
    • No followup issues
  • Database migrations:
    • Ensure that your downrev is up to date with the latest revision on main
    • Ensure that your downgrade() migration is correct and works
      • If a downgrade migration is not possible for this change, please call this out in the PR description!
    • No migrations
  • Documentation:
    • Documentation complete, PR opened in fidesdocs
    • Documentation issue created in fidesdocs
    • If there are any new client scopes created as part of the pull request, remember to update public-facing documentation that references our scope registry
    • No documentation updates required

@tvandort tvandort requested a review from a team as a code owner April 30, 2026 19:50
@tvandort tvandort requested review from gilluminate and removed request for a team April 30, 2026 19:50
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
fides-plus-nightly Ignored Ignored Preview May 1, 2026 6:15pm
fides-privacy-center Ignored Ignored May 1, 2026 6:15pm

Request Review

return experience.meta.version_hash !== cookie.tcf_version_hash;
return (
experience.meta.version_hash !== cookie.tcf_version_hash ||
shouldResurfaceBasedOnConfiguration
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is a little buried in the logic tree. Not sure if there's a cleaner solution but maybe consider breaking out as its own if statement (if possible)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

Title Lines Statements Branches Functions
admin-ui Coverage: 8%
6.28% (2830/45011) 5.53% (1427/25779) 4.42% (588/13285)
fides-js Coverage: 78%
79.43% (2013/2534) 66.13% (1244/1881) 73.09% (345/472)
privacy-center Coverage: 88%
85.97% (331/385) 81.36% (179/220) 78.87% (56/71)

@tvandort tvandort added this pull request to the merge queue May 4, 2026
Merged via the queue into main with commit 6c66d3d May 4, 2026
44 of 45 checks passed
@tvandort tvandort deleted the ENG-3590 branch May 4, 2026 18:45
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