-
Notifications
You must be signed in to change notification settings - Fork 73
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
Basic consent reporting UI #4488
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Passing run #5553 ↗︎
Details:
Review all test suite changes for PR #4488 ↗︎ |
@simon-keane This is available for review. |
…b.com/ethyca/fides into jpople/prod-1434/consent-reporting-ui
return { | ||
url: "plus/consent_reporting", | ||
params, | ||
responseHandler: "content-type", |
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.
Error results are JSON objects with a detail
field, whereas successful results are just the text of the CSV; this makes Redux parse the result out from either.
"A problem occurred while generating your consent report. Please try again." | ||
); | ||
toast({ status: "error", description: message }); | ||
} else { |
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.
The actual download had to be moved out of the slice file to be able to handle errors.
Closes #PROD-1434
Description Of Changes
Adds a basic consent reporting UI, from which you can download a CSV consent report from within a date range.
Steps to Confirm
First, populate the
privacypreferencehistory
table with some requests (instructions courtesy of Adam):Then, in admin UI:
Pre-Merge Checklist
CHANGELOG.md