casa icon indicating copy to clipboard operation
casa copied to clipboard

Uncap submissions for Additional Expenses and improve UX

Open elasticspoon opened this issue 8 months ago • 3 comments

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.

Image

Currently there is a cap of 10 expenses. When you hit 10 the button remains but you cannot add any more.

Image

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:

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.

elasticspoon avatar May 27 '24 18:05 elasticspoon