human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

#3052 Confirmation page for partners requests

Open lokisk1155 opened this issue 2 years ago • 15 comments

Resolves #3052

What I did

I made confirmation pages for Essentials Requests for request types: quantity, child, and # of individuals

I followed a similar pattern for both individual and quantity requests using a link tag passing private params to make the request from the confirmation page

For family requests I had to create a hidden form to pass the the child_id's

new version

Screen Shot 2023-07-08 at 10 43 56 AM Screen Shot 2023-07-08 at 10 41 34 AM Screen Shot 2023-07-08 at 10 41 15 AM

previous version

Screen Shot 2023-06-27 at 3 07 17 PM Screen Shot 2023-06-27 at 3 06 56 PM Screen Shot 2023-06-27 at 3 06 41 PM

lokisk1155 avatar Jun 04 '23 02:06 lokisk1155

@dorner tests are failing for me since merging to main - going to take a deeper look but I made revisions to my code for you to take a look at

lokisk1155 avatar Jun 11 '23 20:06 lokisk1155

Still thinking on how to improve the ui/ux of these pages

They look awkward to me

edit: stand by on review Daniel Trejo is going to get back to me with some UI recommendations

lokisk1155 avatar Jun 28 '23 11:06 lokisk1155

@dorner Going to throw screenshots up shortly, made the UI have a better visual hierarchy from Daniel's advice

Left the screenshots of the original version up, let me know which one you like better

lokisk1155 avatar Jul 08 '23 14:07 lokisk1155

@cielf thoughts? Now that I look at it, I think the "are you sure?" question and the "please confirm this is what you meant to request" seem redundant.

dorner avatar Jul 09 '23 18:07 dorner

I agree that it's redundant. From the screenshots, I'd say to take out the "Please confirm...." I haven't kicked the tires yet.

cielf avatar Jul 29 '23 23:07 cielf

Screen Shot 2023-07-31 at 8 45 03 AM Ok I removed it, final version

lokisk1155 avatar Jul 31 '23 12:07 lokisk1155

@lokisk1155 See this screenshot, from quantity request. There should be a number in "You have requested a total of items".
Screenshot 2023-08-04 at 6 19 08 PM

cielf avatar Aug 04 '23 22:08 cielf

And when I hit "go back", it only showed the value that was entered for the first item, which -- and not the total values I entered for that (I had entered 5 L/XL, 15 premie, and an additional 20 L/XL).
Screenshot 2023-08-04 at 6 23 36 PM

The same problem happens on individual.

cielf avatar Aug 04 '23 22:08 cielf

For the child request, can we get the list in alpha order by child (last name, first name), then item name? Will be much easier to check for them Screenshot 2023-08-04 at 6 26 49 PM

cielf avatar Aug 04 '23 22:08 cielf

On Individual, at least, the totals aren't actually totalling, if I put two lines for the same item in.

cielf avatar Aug 04 '23 22:08 cielf

Screen Shot 2023-08-05 at 1 06 30 PM

@dorner @cielf I ended up refactoring how family_requests is working; I noticed that I was having issues requesting multiple items for the same child -> led to a hard refactor. / is this how it should actually work

Aside from that, I cleaned up a majority of the issues @cielf mentioned. Just need to fix the quantity and individual back button - taking a break but hopefully fixed today

lokisk1155 avatar Aug 05 '23 17:08 lokisk1155

@lokisk1155 Is this back ready for review? -- it's not 100% clear.

cielf avatar Jan 09 '24 19:01 cielf

@cielf no I don't think so I gotta get back on it

lokisk1155 avatar Jan 09 '24 23:01 lokisk1155

@lokisk1155 Please do -- we're going to be making a concentrated effort to get the pile of unresolved PRs resolved once the two big things we are working on at the moment are done -- at that point if there's no action within 2 weeks, we'll likely just take it over -- it'd be nice to have you see it through, though.

cielf avatar Jan 14 '24 14:01 cielf

@lokisk1155 can you confirm that you're not going to pick this one up?

dorner avatar Apr 05 '24 20:04 dorner

Completed with #3052 .

dorner avatar Aug 16 '24 19:08 dorner