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

feat: CE-936 Add privacy indication field to complaint #647

Merged
merged 47 commits into from
Sep 24, 2024

Conversation

marqueone-ps
Copy link
Contributor

@marqueone-ps marqueone-ps commented Sep 17, 2024

Description

Adds a new checkbox field to the create and edit complaint forms. This new value also needs to be made available in the exported complaint.

Story # CE-936

Acceptance Criteria

  • update model:
    • drop privacy_request_ind
    • add privacy_request
  • update interfaces to add new privacy property
  • update redux to use new privacy property
  • Add privacy request dropdown to create complaint
  • Add privacy request dropdown to edit complaint
  • make new privacy filed available for only ceeb
  • update export complaint template to use new field

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Further comments


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

dmitri-korin-bcps and others added 30 commits August 26, 2024 07:56
…orcement-Complaint (#596)

Co-authored-by: Barrett Falk <[email protected]>
Co-authored-by: gregorylavery <[email protected]>
Co-authored-by: Scarlett <[email protected]>
Co-authored-by: Mike <[email protected]>
Co-authored-by: Mike Sears <[email protected]>
…etails do not appear in NatCom (#598)

Co-authored-by: Barrett Falk <[email protected]>
Co-authored-by: gregorylavery <[email protected]>
Co-authored-by: Scarlett <[email protected]>
Co-authored-by: dmitri-korin-bcps <[email protected]>
Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: Barrett Falk <[email protected]>
Co-authored-by: Scarlett <[email protected]>
Co-authored-by: Mike <[email protected]>
Co-authored-by: dmitri-korin-bcps <[email protected]>
Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: gregorylavery <[email protected]>
Co-authored-by: barrfalk <[email protected]>
Co-authored-by: Barrett Falk <[email protected]>
Co-authored-by: gregorylavery <[email protected]>
Co-authored-by: Mike <[email protected]>
Co-authored-by: dmitri-korin-bcps <[email protected]>
Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afwilcox <[email protected]>
Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: Barrett Falk <[email protected]>
Co-authored-by: afwilcox <[email protected]>
#623)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afwilcox <[email protected]>
Co-authored-by: afwilcox <[email protected]>
Co-authored-by: Scarlett <[email protected]>
Co-authored-by: Barrett Falk <[email protected]>
Co-authored-by: Scarlett <[email protected]>
Co-authored-by: afwilcox <[email protected]>
…lds - incorrect toast (#629)

Co-authored-by: Mike Sears <[email protected]>
Co-authored-by: afwilcox <[email protected]>
@marqueone-ps marqueone-ps changed the base branch from main to release/lewis-moon-snail September 17, 2024 21:57
added new privacy field to create and edit complaint components, updated complaint service to handle new privacy property, and updated models and mapping
@barrfalk barrfalk changed the base branch from release/lewis-moon-snail to release/orca September 19, 2024 19:26
@marqueone-ps marqueone-ps marked this pull request as ready for review September 23, 2024 17:36
Copy link
Collaborator

@afwilcox afwilcox left a comment

Choose a reason for hiding this comment

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

No functional issues but please see comments on specific code items.

backend/src/v1/complaint/complaint.service.ts Outdated Show resolved Hide resolved
migrations/migrations/R__0.28.0_insert-privacy-feature.sql Outdated Show resolved Hide resolved
migrations/migrations/V0.28.0__CE-936.sql Outdated Show resolved Hide resolved
Copy link
Collaborator

@afwilcox afwilcox left a comment

Choose a reason for hiding this comment

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

Changes all look good but there is something not working on the display (and maybe the export I didn't test that)

@marqueone-ps
Copy link
Contributor Author

Changes all look good but there is something not working on the display (and maybe the export I didn't test that)

export is working, but the thing that was off was the when I changed the name of the property vscode didn't change it everywhere, so it wasn't showing up in the ux. I've updated the interfaces to force this change back to working again.

Copy link

sonarcloud bot commented Sep 24, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
90.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@afwilcox afwilcox merged commit c05bd2d into release/orca Sep 24, 2024
14 of 15 checks passed
@afwilcox afwilcox deleted the feat/CE-936 branch September 24, 2024 23:03
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.

7 participants