-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sample app resources, copy, CSS, and other misc fixes! (#1659)
* Don't insert an example privacy request when loading example data * Use a new set of sample systems/datasets to match cookie house * Fix font on purchase modal * Remove phone from sample privacy center (distracting) * Remove quotes from landing page username/password * Fix landing image header * Fix linting error * Add background gradient to landing * Add phone back to privacy center * Remove quotes from username/password * print instead of echo_red no matching versions Co-authored-by: Thomas <[email protected]>
- Loading branch information
1 parent
7df519a
commit 7ab1449
Showing
12 changed files
with
649 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,4 @@ | |
auth_header=auth_header, | ||
) | ||
|
||
# Run an example privacy request | ||
create_privacy_request(user_email="[email protected]") | ||
|
||
print("Examples loaded successfully!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.06 MB
src/fides/data/sample_project/cookie_house/public/landing-box-transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
289 changes: 289 additions & 0 deletions
289
src/fides/data/sample_project/sample_resources/mongo_example_test_dataset.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,289 @@ | ||
dataset: | ||
- fides_key: mongo_test | ||
name: Mongo Example Test Dataset | ||
description: Example of a Mongo dataset that contains 'details' about customers defined in the 'postgres_example_test_dataset' | ||
collections: | ||
- name: customer_details | ||
fields: | ||
- name: _id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
primary_key: True | ||
- name: customer_id | ||
data_categories: [user.unique_id] | ||
fidesops_meta: | ||
references: | ||
- dataset: postgres_example_test_dataset | ||
field: customer.id | ||
direction: from | ||
- name: gender | ||
data_categories: [user.gender] | ||
fidesops_meta: | ||
data_type: string | ||
- name: birthday | ||
data_categories: [user.date_of_birth] | ||
fidesops_meta: | ||
data_type: string | ||
- name: workplace_info | ||
fidesops_meta: | ||
data_type: object | ||
fields: | ||
- name: employer | ||
fidesops_meta: | ||
data_type: string | ||
- name: position | ||
data_categories: [user.job_title] | ||
fidesops_meta: | ||
data_type: string | ||
- name: direct_reports | ||
data_categories: [user.name] | ||
fidesops_meta: | ||
data_type: string[] | ||
- name: emergency_contacts | ||
fidesops_meta: | ||
data_type: object[] | ||
fields: | ||
- name: name | ||
data_categories: [user.name] | ||
fidesops_meta: | ||
data_type: string | ||
- name: relationship | ||
fidesops_meta: | ||
data_type: string | ||
- name: phone | ||
data_categories: [user.contact.phone_number] | ||
fidesops_meta: | ||
data_type: string | ||
- name: children | ||
data_categories: [user.childrens] | ||
fidesops_meta: | ||
data_type: string[] | ||
- name: travel_identifiers | ||
fidesops_meta: | ||
data_type: string[] | ||
data_categories: [system.operations] | ||
- name: comments | ||
fidesops_meta: | ||
data_type: object[] | ||
fields: | ||
- name: comment_id | ||
fidesops_meta: | ||
data_type: string | ||
references: | ||
- dataset: mongo_test | ||
field: conversations.thread.comment | ||
direction: to | ||
- name: internal_customer_profile | ||
fields: | ||
- name: _id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
primary_key: True | ||
data_type: object_id | ||
- name: customer_identifiers | ||
fields: | ||
- name: internal_id | ||
fidesops_meta: | ||
data_type: string | ||
references: | ||
- dataset: mongo_test | ||
field: customer_feedback.customer_information.internal_customer_id | ||
direction: from | ||
- name: derived_emails | ||
data_categories: [user] | ||
fidesops_meta: | ||
data_type: string[] | ||
identity: email | ||
- name: derived_phone | ||
data_categories: [user] | ||
fidesops_meta: | ||
data_type: string[] | ||
return_all_elements: true | ||
identity: phone_number | ||
- name: derived_interests | ||
data_categories: [user] | ||
fidesops_meta: | ||
data_type: string[] | ||
- name: customer_feedback | ||
fields: | ||
- name: _id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
primary_key: True | ||
data_type: object_id | ||
- name: customer_information | ||
fields: | ||
- name: email | ||
fidesops_meta: | ||
identity: email | ||
data_type: string | ||
- name: phone | ||
data_categories: [user.contact.phone_number] | ||
fidesops_meta: | ||
data_type: string | ||
- name: internal_customer_id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
data_type: string | ||
- name: rating | ||
data_categories: [user] | ||
fidesops_meta: | ||
data_type: integer | ||
- name: date | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
data_type: string | ||
- name: message | ||
data_categories: [user] | ||
fidesops_meta: | ||
data_type: string | ||
- name: flights | ||
fields: | ||
- name: _id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
primary_key: True | ||
data_type: object_id | ||
- name: passenger_information | ||
fields: | ||
- name: passenger_ids | ||
fidesops_meta: | ||
data_type: string[] | ||
references: | ||
- dataset: mongo_test | ||
field: customer_details.travel_identifiers | ||
direction: from | ||
- name: full_name | ||
data_categories: [user.name] | ||
fidesops_meta: | ||
data_type: string | ||
- name: flight_no | ||
- name: date | ||
- name: pilots | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
data_type: string[] | ||
- name: plane | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
data_type: integer | ||
- name: conversations | ||
fields: | ||
- name: _id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
primary_key: True | ||
data_type: object_id | ||
- name: thread | ||
fidesops_meta: | ||
data_type: object[] | ||
fields: | ||
- name: comment | ||
fidesops_meta: | ||
data_type: string | ||
- name: message | ||
fidesops_meta: | ||
data_type: string | ||
- name: chat_name | ||
data_categories: [user.name] | ||
fidesops_meta: | ||
data_type: string | ||
- name: ccn | ||
data_categories: [user.financial.account_number] | ||
fidesops_meta: | ||
data_type: string | ||
- name: employee | ||
fields: | ||
- name: _id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
primary_key: True | ||
data_type: object_id | ||
- name: email | ||
data_categories: [user.contact.email] | ||
fidesops_meta: | ||
identity: email | ||
data_type: string | ||
- name: id | ||
data_categories: [user.unique_id] | ||
fidesops_meta: | ||
primary_key: True | ||
references: | ||
- dataset: mongo_test | ||
field: flights.pilots | ||
direction: from | ||
- name: name | ||
data_categories: [user.name] | ||
fidesops_meta: | ||
data_type: string | ||
- name: aircraft | ||
fields: | ||
- name: _id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
primary_key: True | ||
data_type: object_id | ||
- name: planes | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
data_type: string[] | ||
references: | ||
- dataset: mongo_test | ||
field: flights.plane | ||
direction: from | ||
- name: model | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
data_type: string | ||
- name: payment_card | ||
fields: | ||
- name: _id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
primary_key: True | ||
data_type: object_id | ||
- name: billing_address_id | ||
data_categories: [system.operations] | ||
- name: ccn | ||
data_categories: [user.financial.account_number] | ||
fidesops_meta: | ||
references: | ||
- dataset: mongo_test | ||
field: conversations.thread.ccn | ||
direction: from | ||
- name: code | ||
data_categories: [user.financial] | ||
- name: customer_id | ||
data_categories: [user.unique_id] | ||
- name: id | ||
data_categories: [system.operations] | ||
fidesops_meta: | ||
primary_key: True | ||
- name: name | ||
data_categories: [user.financial] | ||
- name: preferred | ||
data_categories: [user] | ||
- name: rewards | ||
fields: | ||
- name: _id | ||
fidesops_meta: | ||
primary_key: True | ||
data_type: object_id | ||
- name: owner | ||
fidesops_meta: | ||
data_type: object[] | ||
return_all_elements: true | ||
fields: | ||
- name: phone | ||
data_categories: [user.contact.phone_number] | ||
fidesops_meta: | ||
data_type: string | ||
references: | ||
- dataset: mongo_test | ||
field: internal_customer_profile.customer_identifiers.derived_phone | ||
direction: from | ||
- name: shopper_name | ||
- name: points | ||
fidesops_meta: | ||
data_type: integer | ||
- name: expiration_date |
Oops, something went wrong.