casa
casa copied to clipboard
[WIP] Update "3. Enter Contact Details" section on Case contact form
What github issue is this PR for, if any?
Resolves #5348
This PR is a work-in progress (waiting on some style changes: bold <> light labels and asterisk on next line <> same line
from #5366)
What changed, and why?
Updated UI changes for "3. Enter Contact Details" section as per Figma file and some other styles need to be applied.
- Update
3. Enter Contact Details
to3. Record contact details
and it's style - Update
a. Contact Made
toa. Was contact made?
- Update
b. Contact Medium
tob. How was contact made?
- Update
c. Occurred On
toc. Date of contact
- Update
d. Duration of Meeting
tod. Duration of contact
- Update date format for
c. Date of contact
fromyyyy/mm/dd
tomm/dd/yyyy
, and include a placeholder for the same. - Remove explicit hours and minutes text from
d. Duration of contact
's hour and minute field to have placeholder as0 hour(s)
and0 minute(s)
- Update contact medium texts and change formatting from
titleize
tocapitalize
How will this affect user permissions?
- Volunteer permissions:
- Supervisor permissions:
- Admin permissions:
How is this tested? (please write tests!) 💖💪
Screenshots please :)
hi @ahasunos do you mind providing some screenshots? 😁
hi @ahasunos do you mind providing some screenshots? 😁
It still is a wip, but I am getting there slowly.
I am fairly new to the rails environment. So, I am taking some time here.
Whenever I provide any input to the Miles driven field, I get the pop-up.
Any idea on this how to fix? This is happening for me even on the main branch
Whenever I provide any input to the Miles driven field, I get the pop-up. Any idea on this how to fix? This is happening for me even on the main branch
@ahasunos I believe this is intentional and has to do with the In Person medium not being checked. For the life of me, I cannot find the code that does this. Was thinking it was in app/javascript/src/case_contact.js, but can't find it.
@ahasunos It's in app/javascript/src/validated_form.js (line 315)
@ahasunos - As the #5366 has been merged, please rebase your branch with the latest main to get the required styling as per this. Thanks.
hi @ahasunos how are you coming along on this? :)
hi @bcastillo32 I have been offline for a while, will look back again!
hi @bcastillo32 I have been offline for a while, will look back again!
Ok great. Please do. This is a big focus for us and our end users. :) Let us know how we can be of help.
This PR has been open for a long time without any pushes or comments! What's up?
Hi @ahasunos Are you able to work on this? We are near completion of this refactor and would love for this to be complete :)
This PR is so old and so merge conflicted. I'm sorry we didn't get this over the line. I am going to close it for now because I want to not have old stale PRs on the dashboard. Feel free to pick it back up - maybe in smaller chunks?
@compwron Sorry about the incomplete work. Will try to pick back up in smaller chunks.