Uncap submissions for Additional Expenses and improve UX
Closed this issue · 6 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.
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:
- volunteer1@example.com view site as a volunteer
- supervisor1@example.com view site as a supervisor
- casa_admin1@example.com view site as an admin
- all_casa_admin1@example.com 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.
I would like to work on this!
This issue has been inactive for 240 hours (10.00 days) and will be unassigned after 120 more hours (5.00 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
This issue has been inactive for 240 hours (10.00 days) and will be unassigned after 120 more hours (5.00 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
Still working on this!
This issue has been inactive for 262 hours (10.92 days) and will be unassigned after 98 more hours (4.08 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
This issue has been inactive for 382 hours (15.92 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.You’ve just been unassigned from this ticket due to inactivity – but feel free to pick it back up (or a new one!) in the future! Thank you again for your contribution to this project.
pr for this has updated changes: https://github.com/rubyforgood/casa/pull/5908/files