PublicDataWorks / complaint-manager

Apache License 2.0
5 stars 0 forks source link

Replace address with facility field #546

Open rnair-tw opened 7 months ago

rnair-tw commented 7 months ago

User Story

As a user in Hawaii I want to see the "Facility" field in the system in places where "Incident Location" is shown So that I can use the system more effectively according to my business needs

Business Context:

Since the system is modified from NOIPM's use case, it does not fully fit Hawaii's needs. Therefore they would like us to remove the address from the "Incident Location" page and replace it w/ the Facility (since the incident would mainly occur in a Facility). From what we understand, the "Incident Location" does not appear in the actual letter. It is only seen when you edit or view the "Incident Details".

In Scope

  1. Replace "Incident Location" with "Facility".
  2. The dropdown for "Facility" should be what is currently shown when we search for a person in custody (only difference is that we remove "Any Facility" and include "Other")
  3. Ensure anywhere that shows "Incident Location" in the system always displays "Facility".
  4. Facility field defaults to "N/A"
  5. When "Other" is selected, the text "Other" is displayed on Incident Details and the field is tied back to the database.

Out of Scope

  1. Anything related to letter generation

Open Questions

Mockups

https://www.figma.com/file/3XcaCKS0xC3U0mo98B8eTV/Features-Complaint-Manager?type=design&node-id=614-3638&mode=design

Image

Image

Acceptance Criteria

  1. Scenario: Given I am in Hawaii mode When I am in the Incident Details screen Or in the Edit Incident Details screen Then I see Facility where address used to be And can scroll through a list of Facilities + "Other"

  2. Scenario: Given I am in New Orleans mode When I am in any screen in the system Then I not see the facilities field anywhere

Notes

Checklist

Kickoff

Deskcheck

rnair-tw commented 7 months ago

Make a new card to standardize the length of input fields

heliofreitastw commented 6 months ago

look into the feature flag called policeIncidentDetails. We can use this to toggle this feature.

thoughtworks-vwong commented 5 months ago

Verified address is changed to Facility field in Hawaii and defaults to N/A

https://github.com/PublicDataWorks/complaint-manager/assets/134408135/873cf040-b7a3-418c-b1b9-65ad011f3407

Verified Incident Location field remains on NOIPM

https://github.com/PublicDataWorks/complaint-manager/assets/134408135/82e34a77-f4e2-44ab-b9f8-faed8fd3511b