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

Fides Experience form fixes #5123

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

gilluminate
Copy link
Contributor

@gilluminate gilluminate commented Jul 22, 2024

Closes PROD-2008

Description Of Changes

Backend defaults weren't reflected in the Frontend. These fields weren't being passed at all if not set, which caused the backend to apply its defaults. Since backend defaults are set to "true" on both of these fields, it was a mismatched experience.

Setting these to default to "true" on the Frontend now to match BE defaults. User can turn them off without issue during initial save.

Code Changes

  • Set defaults to true for the 2 fields causing problems

Steps to Confirm

  1. log in to fides plus
  2. click on the experiences
  3. click on create new experience
  4. complete the following fields
    • name
    • experience type (banner and modal)
    • add a privacy notice (data sales and sharing)
    • note that "allow users to dismiss" and "auto detect language" are now on by default.
  5. click save
    • user is now at the main experience screen showing all experiences
  6. click the newly created experience to edit it

observe that the "allow users to dismiss" and "auto detect language" are in the correct state. Repeating the steps above and opting to turn off those 2 should reflect them as off here as well.

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Issue Requirements are Met
  • Update CHANGELOG.md

Copy link

vercel bot commented Jul 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fides-plus-nightly ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2024 11:21pm

Copy link

cypress bot commented Jul 22, 2024

Passing run #9087 ↗︎

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 966b667 into dd69a98...
Project: fides Commit: eaee5f1a9a ℹ️
Status: Passed Duration: 00:34 💡
Started: Jul 22, 2024 11:27 PM Ended: Jul 22, 2024 11:28 PM

Review all test suite changes for PR #5123 ↗︎

@Kelsey-Ethyca
Copy link
Contributor

UAT ✅

Screen.Recording.2024-07-22.at.4.37.59.PM.mov

@gilluminate gilluminate merged commit 2a64050 into main Jul 22, 2024
13 checks passed
@gilluminate gilluminate deleted the gill/PROD-2008_allow-users-to-dismiss-and branch July 22, 2024 23:40
Copy link

cypress bot commented Jul 22, 2024

Passing run #9090 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Fides Experience form fixes (#5123)
Project: fides Commit: 2a640507bb
Status: Passed Duration: 00:33 💡
Started: Jul 22, 2024 11:50 PM Ended: Jul 22, 2024 11:51 PM

Review all test suite changes for PR #5123 ↗︎

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