msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
20 stars 12 forks source link

Create Stocktake Modal - filter selection #3727

Open lache-melvin opened 4 months ago

lache-melvin commented 4 months ago

The "New Stocktake" button launches a modal with the following options:

Screenshot 2024-05-06 at 4 27 32β€―PM

It's particularly limiting since, as soon as you select one of the inputs, any previous inputs are cleared, so you can't select multiple criteria. And having the UI jump around on you like a game of whack-a-mole is poor user experience.

Describe the solution you'd like 🎁

  1. Improve the "New Stocktake" modal to make these criteria multi-selectable, which would result in "AND" filtering for the new stocktake
  2. We would also like to be able to create new stocktakes from any particularly stock filtering criteria. We can filter stock using the filters available in the "View Stock" list. We should then have a button to "Create a new stocktake from current filters".

So basically, for a quick way to create a stocktake, or to create one from a Master list, use the existing "New Stocktake" modal (but with inclusive selection critieria). And to create a stocktake from any arbitrarily filter list of stock lines, use the Stock filters and create a new stocktake from that.

Describe alternatives you've considered πŸ’­

Just do only one of the above suggestions?

Additional context πŸ’Œ

Some considerations and details to be worked out:

Moneyworks Jobcode 🧰

πŸ€·β€β™‚οΈ

roxy-dao commented 4 months ago

More info? πŸ‘€

CarlosNZ commented 4 months ago

More info? πŸ‘€

Coming... :)

Chris-Petty commented 3 months ago

Going by the description I'd 100% call this a bug if not an enhancement, not a refactor 😁. The solution would be point 1., point 2. sounds like an enhancement issue, those filters for reference:

image

And the dialog/wizard for making a new stocktake in legacy (note all filters are default or strictly "AND"):

image

The only biggg one really missing right now is a name/code filter, reasonable to add I think!

Chris-Petty commented 3 months ago

Call me out if masquerading as a designer too much, but I think all the explainer in the modal text is unnecessary!