casa
casa copied to clipboard
Uncap submissions for Additional Expenses and improve UX
What type(s) of user does this feature affect?
- supervisors
- admins
- volunteers
Description
If an org has enabled additional expenses the last step of the case contact form (case_contacts/:id/form/expenses
) allows the volunteer to add additional expenses.
Currently there is a cap of 10 expenses. When you hit 10 the button remains but you cannot add any more.
We have https://www.stimulus-components.com/docs/stimulus-rails-nested-form/ in the application. It could potentially be of use (unless needed I would suggest using the non-extended version of the stimulus controller).
Completion Criteria:
- [ ] Use some javascript to uncap the amount of expenses
- [ ] Add a way to remove expenses.
How to access the QA site
Login Details:
Link to QA site
Login Emails:
- [email protected] view site as a volunteer
- [email protected] view site as a supervisor
- [email protected] view site as an admin
- [email protected] view site as an all casa admin
- go to
/all_casa_admins/sign_in
- go to
password for all users: 12345678
Questions? Join Slack!
We highly recommend that you join us in slack #casa channel to ask questions quickly. And discord for office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.