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

Dashboard!

Open awwaiid opened this issue 2 years ago • 35 comments

This is an epic feature branch that moves more historic-reporting-oriented blocks off of the dashboard and adds some action-oriented blocks in. We'll review and merge it as a slate!

awwaiid avatar Jul 29 '23 18:07 awwaiid

@awwaiid Not a formal review, but I'll be adding my impressions here. 1/ Let's remove the Items on hand / make a transfer / make an adjustment. Transfers and adjustments are hopefully really rare, and the items on hand total is not part of the in-your-face gotta-take-care-of-this-today nature of the new dashboard

cielf avatar Jan 23 '24 20:01 cielf

2/ I think we should consider extracting the Audit from the list and giving it's own space. A potential problem with that, though, is that the left hand menu is going to be longer than most screens (is it now?)

cielf avatar Jan 23 '24 20:01 cielf

3/ We do have to reorder the reports, though (the current order is kind of random). Assuming that we're keeping the audit in that list, I've got a couple of possible orders to put forth:

Candidate 1 -- in roughly the same order as we have the items at the top of the lhm.

Inventory Audit Product Drives Summary Donations Summary Itemized Donations Manufacturers Donations Purchases Summary Distributions Summary Itemized Distributions Distributions by County Annual Survey Activity Graph

Candidate 2: Audit, then Alphabetical, but with some renaming

Inventory Audit Activity Graph Annual Survey Distributions Summary Distributions - Itemized Distributions by County Donations Summary Donations - Itemized Donations - Manufacturers Product Drives Summary Purchases Summary

What do you think?

cielf avatar Jan 23 '24 21:01 cielf

4/ Something I noticed, and it's legacy, so if you want it to be a separate issue, that's cool -- the period text (i.e. during the period 01 Jan to 31 Dec) isn't handling years other than the current one in a good way -- that is, it is not showing the year.

cielf avatar Jan 23 '24 21:01 cielf

I like the second set. You're right that the menu is getting long; this ordering does keep Audit at the top so maybe that'll be fine?

awwaiid avatar Jan 23 '24 21:01 awwaiid

5/ Just noting that there is an inventory level on Itemized donations and itemized distributions -- with the moving parts we'll need to remember to check that with event source.

cielf avatar Jan 23 '24 21:01 cielf

6/ Note - possibly for another issue. Legacy. "Recent purchases" is not quite an accurate title for a list of the latest purchases for that period. Maybe "Latest purchases during the period" But that is wordy.
Ditto Distributions and Donations.

cielf avatar Jan 23 '24 21:01 cielf

7/ The date filter box on Distributions by County is insufficiently wide. Also a legacy issue. Screenshot 2024-01-23 at 4 35 07 PM

cielf avatar Jan 23 '24 21:01 cielf

@awwaiid Not a formal review, but I'll be adding my impressions here. 1/ Let's remove the Items on hand / make a transfer / make an adjustment. Transfers and adjustments are hopefully really rare, and the items on hand total is not part of the in-your-face gotta-take-care-of-this-today nature of the new dashboard

This same block has two more things -- the logo and the onboarding. I'm updating it so that the onboarding takes over, but I don't know what to do about the logo other than removing it (if they are done onboarding the whole block goes away). Any suggestions?

awwaiid avatar Feb 11 '24 13:02 awwaiid

@awwaiid Is this ready for a (hopefully final) review?

cielf avatar Feb 16 '24 17:02 cielf

@cielf @dorner Yes please take another look; I addressed much of the feedback. Biggest thing that I'd rather do separate is further refactoring of the specs (removing redundancy, moving system->request). Though as always I'll follow consensus :)

I'm continuing to see a few flaky tests that I'm continuing to investigate.

awwaiid avatar Feb 25 '24 14:02 awwaiid

Actually I found two issues -- some menu entry current-selection problems and one report that didn't get unified. Fixing...

awwaiid avatar Feb 25 '24 14:02 awwaiid

I'm OK with moving the spec fixes to a fast-follow... but it really should be a fast follow. We have way too many system specs as it is...

dorner avatar Feb 25 '24 14:02 dorner

@awwaiid A test is failing that I don't think is one of the normal flakey tests, and it failed on rerun.

cielf avatar Feb 26 '24 17:02 cielf

Kicking the tires now.

1/ Bank-wide low inventory should not show inactive storage locations. These will have 0 inventory, and we wouldn't want them to show up "in your face" all the time.

cielf avatar Feb 26 '24 18:02 cielf

2/ I tested against some live data, and the "Requestor" column on the Outstanding Requests column was completely empty. Is this showing the name? I suggest having it should show the name, but if no name the email?

cielf avatar Feb 26 '24 18:02 cielf

3/ Outstanding requests looks like it's showing all the requests, not just the pending ones. It should only show the pending and started ones.

Looking further into this, I can't bring up the first request in the list through the requests index. So there's something odd. Looking further into it still.

cielf avatar Feb 26 '24 18:02 cielf

3a/ Oh. My. It's showing the pending requests for all the organizations, instead. That is, obviously, not what we want g.

cielf avatar Feb 26 '24 18:02 cielf

Basic testing of the reports area looks good -- A lot of things are very slow, but that is a separate issue.

cielf avatar Feb 26 '24 18:02 cielf

@awwaiid Actually, and I apologize for the late thought... I'm wondering if the low inventory report should just be against the bank-wide inventory instead of storage-location level. We have a stakeholder meeting on Wednesday -- let's take that question to them. (Edit -- in the planning meeting we decided to go ahead with this and just push it through as bank-level. Reasoning -- We're pretty sure some banks have big SLs and little SLs but we don't differentiate on the recommended and minimum quantities, so there will potentially be a lot of noise if we keep it at the SL level)

cielf avatar Mar 02 '24 11:03 cielf

I'm OK with moving the spec fixes to a fast-follow... but it really should be a fast follow. We have way too many system specs as it is...

I went ahead and moved them all.

awwaiid avatar Mar 03 '24 00:03 awwaiid

@cielf @dorner this is ready for a re-review. I apologize in advance if I missed something you already gave feedback on, I had a hard time keeping track of what I already fixed.

awwaiid avatar Apr 11 '24 14:04 awwaiid

Not a showstopper, but I am wondering, with 4 'cards', why we have 3 in the left column and 1 in the right?

cielf avatar Apr 12 '24 17:04 cielf

For discussion on Sunday -- Should, we, perhaps, make the reports in the dashboard full-width instead of having the two columns?

cielf avatar Apr 12 '24 18:04 cielf

Overall, looking much better! I still think we should do something different on the left hand menu -- maybe bring the historical trends stuff into the reports list, and put audit as its own menu item. Would I hold up putting this in because of that? No.

cielf avatar Apr 12 '24 18:04 cielf

I had an earlier note about the reports that use inventory -- I have not checked those out in event world as of writing.

cielf avatar Apr 12 '24 20:04 cielf

@awwaiid " Just noting that there is an inventory level on Itemized donations and itemized distributions -- with the moving parts we'll need to remember to check that with event source." -- Have those been eventized?

cielf avatar Apr 12 '24 20:04 cielf

@cielf menu idea:

Move Inventory Audit into Inventory under Inventory Adjustment, still only shown to org-admin

image

Move each of the 3 "trend" reports alongside other reports of the same type

image

So overall collapsed menu looks like this:

image

awwaiid avatar Apr 16 '24 15:04 awwaiid

I think I like what you have proposed for the l.h.m.

cielf avatar Apr 18 '24 18:04 cielf

Pre-existing problem noted -- if you have everything expanding, you can't scroll all the way to the bottom of the l.h.m.

cielf avatar Apr 19 '24 19:04 cielf