-
Notifications
You must be signed in to change notification settings - Fork 72
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
Support new Purpose header field in TCF Banner #5247
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
c2ba770
to
38f3e1c
Compare
@@ -162,7 +163,24 @@ export const getTranslationFormFields = ( | |||
modal_link_label: { included: true }, | |||
}; | |||
} | |||
// For TCF overlay / default | |||
|
|||
if (component === ComponentType.TCF_OVERLAY) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TCF is different enough from default now, that it felt warranted to create its own section like the ones above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense 👍
@@ -117,6 +118,7 @@ function extractMessagesFromExperienceConfig( | |||
const locale = experienceConfig.language || DEFAULT_LOCALE; | |||
const messages: Messages = {}; | |||
EXPERIENCE_TRANSLATION_FIELDS.forEach((key) => { | |||
// @ts-expect-error EXPERIENCE_TRANSLATION_FIELDS is a const array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated fix, just to get rid of the error message in VS Code.
fides Run #9776
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5247/merge
|
Run status |
Passed #9776
|
Run duration | 00m 36s |
Commit |
270456d9de ℹ️: Merge 4417a74c8f035cf58ebe6c85802fe6fd1766f0f7 into b7087620898c390a50e29cf7f052...
|
Committer | Jason Gill |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
38f3e1c
to
cdd15e4
Compare
@@ -162,7 +163,24 @@ export const getTranslationFormFields = ( | |||
modal_link_label: { included: true }, | |||
}; | |||
} | |||
// For TCF overlay / default | |||
|
|||
if (component === ComponentType.TCF_OVERLAY) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense 👍
Tested locally alongside https://github.com/ethyca/fidesplus/pull/1589, this is looking good.
|
fides Run #9778
Run Properties:
|
Project |
fides
|
Branch Review |
main
|
Run status |
Passed #9778
|
Run duration | 00m 39s |
Commit |
e9174b7711: Support new Purpose header field in TCF Banner (#5247)
|
Committer | Jason Gill |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
Closes PROD-2699
Description Of Changes
Code Changes
Steps to Confirm
http://localhost:3001/fides-js-demo.html?geolocation=eea
)Pre-Merge Checklist
NOTE: since this will be hotfixed in the current release, no separate entry in the CHANGELOG is needed.