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

Use Fides String instead of TC String language #4267

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

pattisdr
Copy link
Contributor

@pattisdr pattisdr commented Oct 12, 2023

Closes https://github.com/ethyca/fidesplus/issues/1163

Description Of Changes

Use more generic "fides_string" instead of "tc_string" language in GET Experience and PATCH Privacy Preferences endpoints to pave the way for both a TC and AC string being combined in one string.

Code Changes

  • Updated request and response bodies for Getting Experiences and Saving Preferences related to TC strings

Steps to Confirm

Pre-Merge Checklist

…T Experience and PATCH Privacy Preferences endpoints to pave the way for both a TC and AC string being combined in one string.
@cypress
Copy link

cypress bot commented Oct 12, 2023

Passing run #4603 ↗︎

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 54591a0 into 44100e2...
Project: fides Commit: cd7c8ae89a ℹ️
Status: Passed Duration: 01:07 💡
Started: Oct 12, 2023 5:51 PM Ended: Oct 12, 2023 5:52 PM

Review all test suite changes for PR #4267 ↗︎

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (44100e2) 87.72% compared to head (54591a0) 87.72%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4267   +/-   ##
=======================================
  Coverage   87.72%   87.72%           
=======================================
  Files         331      331           
  Lines       20870    20870           
  Branches     2708     2708           
=======================================
  Hits        18309    18309           
  Misses       2094     2094           
  Partials      467      467           
Files Coverage Δ
...i/api/v1/endpoints/privacy_preference_endpoints.py 98.23% <100.00%> (ø)
src/fides/api/schemas/privacy_experience.py 100.00% <100.00%> (ø)
src/fides/api/schemas/privacy_preference.py 100.00% <100.00%> (ø)
src/fides/api/util/tcf/experience_meta.py 100.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@allisonking allisonking left a comment

Choose a reason for hiding this comment

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

"available options"
)
reject_all_tc_mobile_data: Optional[TCMobileData] = None
reject_all_fides_mobile_data: Optional[TCMobileData] = None
Copy link
Contributor

Choose a reason for hiding this comment

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

we'll need to update the TS types, but we can do that separately since nothing in the FE is using these yet 👍 I'll go and update all types in one sweep after this release

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK perfect thank you Allison. I'll merge this one to go out ahead in this release.

@pattisdr pattisdr merged commit 8d47825 into main Oct 13, 2023
46 checks passed
@pattisdr pattisdr deleted the fidesplus_1163_fides_string_PROD-1176 branch October 13, 2023 18:17
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