casa icon indicating copy to clipboard operation
casa copied to clipboard

Case contact details ux improvements 5896

Open josephmsmith opened this issue 1 year ago • 2 comments

What github issue is this PR for, if any?

Resolves #5896

What changed, and why?

3 main changes were made to the UX around creating contact details in order to improve UX and create a better experience for recorder.

  • [x] Marked "Was contact made?" and "How was contact made?" as required by adding asterisks instead of marking "Record Contact Details" as mandatory. This ensures User knows what specific fields needed to be added to complete submission.
  • [x] Add server side validation NOT client side (required JavaScript) to the fields. Currently if there is an error it reloads the page and you must scroll all the way down. The scrolling feature was not modified.
  • [x] Contact Type Selection: Sort the options in the dropdown by recency where contact types that were never used remain at the bottom of the options.

How is this tested? (please write tests!) 💖💪

added rspec testing to case_contact_decorator spec to test new method

Screenshots please :)

Screenshot 2024-07-16 at 9 33 21 PM

Screenshot 2024-07-14 at 4 34 52 PM

Screenshot 2024-07-14 at 4 34 23 PM

josephmsmith avatar Jul 14 '24 22:07 josephmsmith

This PR has been open for a long time without any pushes or comments! What's up?

github-actions[bot] avatar Sep 16 '24 02:09 github-actions[bot]

Hi @FireLemons apologies for the delay here. Let's chat about this tomorrow during office hours and I can get this restarted!

josephmsmith avatar Sep 16 '24 14:09 josephmsmith

This PR has been open for a long time without any pushes or comments! What's up?

github-actions[bot] avatar Nov 21 '24 02:11 github-actions[bot]