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

[R20-1666] add non-pii form data to submission events #972

Merged
merged 4 commits into from
Jan 8, 2024

Conversation

lambry
Copy link
Contributor

@lambry lambry commented Dec 27, 2023

Issue: https://digital-vic.atlassian.net/browse/R20-1666

What I did

  • Adds non-pii form data to submission events/update events

Right now all editable fields are treated as potentially containing pii. So things like radio buttons, checkboxes and selects are marked as non-pii in the webform mapping. If the backend adds support for pii we can set the pii state on a field by field basis.

Screenshot 2023-12-27 at 10 53 52 am

How to test

  • Submit a webform with and without validation errors and check the dataLayer events

Checklist

For all PR's

  • I've added relevant changes to the project Readme if needed.
  • I've updated the documentation site as needed.
  • I have added unit tests to cover my changes (if not applicable, please state why in a comment)

For new components only

  • I have added a story covering all variants
  • I have checked a11y tab in storybook passes
  • Any events are emitted on the event bus

@lambry lambry self-assigned this Dec 27, 2023
Copy link

netlify bot commented Dec 27, 2023

Deploy Preview for ripple-docs canceled.

Name Link
🔨 Latest commit 1c6cdd8
🔍 Latest deploy log https://app.netlify.com/sites/ripple-docs/deploys/659c85917a5d790008346651

@lambry lambry marked this pull request as ready for review January 2, 2024 05:09
Copy link

cypress bot commented Jan 2, 2024

Passing run #1094 ↗︎

0 109 0 0 Flakiness 0

Details:

Merge branch 'develop' into feature/R20-1666-form-submission-event-data
Project: ripple-framework Commit: 1c6cdd85c5
Status: Passed Duration: 05:43 💡
Started: Jan 8, 2024 11:33 PM Ended: Jan 8, 2024 11:39 PM

Review all test suite changes for PR #972 ↗︎

# Conflicts:
#	packages/ripple-ui-forms/src/inputs/dropdown.ts
@lambry lambry added this pull request to the merge queue Jan 8, 2024
Merged via the queue into develop with commit 4e512ca Jan 8, 2024
15 of 16 checks passed
@lambry lambry deleted the feature/R20-1666-form-submission-event-data branch January 8, 2024 23:47
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.

3 participants