casa icon indicating copy to clipboard operation
casa copied to clipboard

Combine Volunteers Tab into Cases Tab

Open CovenantHuman opened this issue 3 years ago • 14 comments

What type(s) of user does this feature affect?

  • supervisors
  • admins

Description Currently on the left side of the screen for supervisors and admins there are two separate tabs, one for cases and one for volunteers.

We would like to combine these into one tab called Volunteers, which has the following columns from left to right: Case Number, Case Status (labelled as Status),
Transition Aged Youth, Assigned To, Supervisor (this column should default to not displaying, but should be available to be selected), and Last Attempted Contact.

These tabs should be taken directly from the two currently existing pages.

Also, in keeping with the currently existing pages, which columns to display should remain selectable with the Pick Displayed Columns button, and the filters for Case Status (labelled as Status), Assigned to Volunteer, Assigned to More than 1 Volunteer, Assigned to Transition Aged Youth, Casa Case Prefix, and Supervisor should still be present and usable.

Further, in keeping with the current pages the tables should be fully searchable. Finally, we would also like new case and new volunteer buttons at the top of this new page the same way they are currently at the top of their respective pages.

Follow mock-up in link below:

  • https://www.figma.com/proto/HBcfH4G9W2pD8psX67orhg/CASA-Redesigns?page-id=14%3A10&node-id=21%3A85&viewport=345%2C48%2C0.5&scaling=min-zoom&starting-point-node-id=21%3A85&show-proto-sidebar=1

Screenshots of current behavior, if any
The Current Case Page with Desired Columns Displayed (note: edit is not desired, but is currently not deselectable): Desired Cases Columns

The Current Volunteer Page with Desired Columns Displayed: Desired Volunteer Columns

QA Login Details:
Link to QA site

Login Emails:

password for all users: 12345678

CovenantHuman avatar Oct 05 '21 02:10 CovenantHuman

Hey! Do you mind if I touch this up a bit and prioritize it for the team?

DirkCionci avatar Oct 14 '21 13:10 DirkCionci

Sounds great, do it!

compwron avatar Oct 14 '21 13:10 compwron

The current search feature is part of the datatables library. There isn't a clean way to pull it out of the table without doing something hacky and weird. I would say in order to combine the cases and volunteers page I would recommend getting away from datatables and do this using ActiveRecord instead for more flexibility.

nehaabraham avatar Oct 14 '21 15:10 nehaabraham

I think we can stay with datatables and just provide different data to the library, no hacky needed :)

compwron avatar Oct 19 '21 01:10 compwron

This issue has been inactive for 262 hours (10.92 days) and will be automatically unassigned after 98 more hours (4.08 days).

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

I am working on this. I’m still familiarizing my self with the models and associations as well as the DataTables functionality. Also family and day job and all that.

If anyone with more knowledge or time wants to work on this feel free. Otherwise I’ll keep chipping away at it.

ludamillion avatar Nov 11 '21 00:11 ludamillion

@ludamillion Sounds great! We appreciate your help, and we look forward to seeing what you come up with. We highly recommend that you join us in slack https://rubyforgood.herokuapp.com/ #casa channel to ask questions quickly and hear about office hours (currently Wednesday 6-8pm Pacific), stakeholder news, and upcoming new issues.

CovenantHuman avatar Nov 16 '21 03:11 CovenantHuman

This issue has been inactive for 260 hours (10.83 days) and will be automatically unassigned after 100 more hours (4.17 days).

github-actions[bot] avatar Nov 27 '21 00:11 github-actions[bot]

This issue has been inactive for 380 hours (15.83 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Dec 02 '21 00:12 github-actions[bot]

Hoping not to tred on anyone's toes, but I'm looking at this one

Craggar avatar Dec 10 '21 16:12 Craggar

No worries at all. I thought I’d have time for it but a whole lot of stuff hit the fan right after I picked it up. Looking forward to seeing what you come up with.

ludamillion avatar Dec 10 '21 16:12 ludamillion

This issue has been inactive for 247 hours (10.29 days) and will be automatically unassigned after 113 more hours (4.71 days).

github-actions[bot] avatar Dec 21 '21 00:12 github-actions[bot]

This issue has been inactive for 367 hours (15.29 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Dec 26 '21 00:12 github-actions[bot]

This issue has been inactive for 374 hours (15.58 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Feb 06 '22 00:02 github-actions[bot]

I think we've already done this

FireLemons avatar Oct 03 '22 20:10 FireLemons

@FireLemons from reading the issue description, it sounds like the goals of this issue were

  1. Combine the Cases and Volunteers tabs; and
  2. Combine the Cases and Volunteers table into a single table.

Neither of these seems to be done yet based on a fresh pull of main. Is there no longer a desire to combine these two pages?

aedwardg avatar Oct 08 '22 18:10 aedwardg