Closed wvengen closed 8 years ago
What about this? The first is an article where there's 2 missing units, and 3 total tolerance. This means that 2 more units need to be ordered for the box to become full. (You may notice that the progress bar shows 4 tolerance, which means that there's another member who only ordered 1 tolerance.)
The next is an article where there is no shortage, and there are still 7 units available in tolerance (by this member, as you can see), meaning that one member can still order 3 and have a full box.
I hope this motivates people to order more when it's useful, while providing a hint that one can still order more without having to order a full box. @tg-x @nhoening is this clear enough? (explanation of the ordering algorithm in German)
Implemented in #172.
The progress bar on the member ordering page that indicates how much the remaining box is filled, currently shows the sum of quantity and tolerance. And so you can't see if it is needed to order more to fill the remaining box, or if it's just extra tolerance that we have.
Proposal: split the missing_units into quantity and tolerance, and show tolerance grey-blue. Or perhaps use a blue-like color when there is quantity in missing_units, and use a grey-like color when there isn't. Bottom line is that the attention of a member needs to be attracted when there action is needed.