Hmmm I see, maybe some kind of shopping cart icon below the $ when there's not enough inventory available which can then start the "add recipe to shopping cart" feature. Does that sound reasonable to you?
Request Overview
This feature request proposes a visual enhancement within the
Recipe Editor to improve user awareness of insufficient inventory. Specifically, we request changing the color of the
$ sign icon from its current green to
red when a recipe component's required inventory exceeds the
on-hand quantity.
Justification
Currently, users may not immediately notice when a recipe they are creating or editing calls for more of an ingredient than is physically available. This can lead to:
- Production delays: If a recipe is sent to production without sufficient inventory, it can halt operations while materials are sourced.
- Wasted time: Users might spend time developing recipes that cannot be immediately fulfilled.
- Inaccurate planning: Lack of clear inventory warnings can lead to misinformed production planning.
Changing the $ sign icon to red will provide an
immediate and clear visual alert, allowing users to identify and address inventory shortages proactively. This enhancement will streamline the recipe creation process, prevent downstream issues, and improve overall operational efficiency.
Proposed Change
When a user is in the
Recipe Editor and the quantity of a specific ingredient in the recipe exceeds the current
on-hand inventory for that ingredient, the
$ sign icon associated with that ingredient should change from green to
red.
Technical Considerations (Optional, for discussion)
- This change will likely involve a conditional rendering of the icon based on a comparison between the recipe's required quantity and the real-time inventory data.
- Considerations for performance should be made if inventory checks are resource-intensive.
Acceptance Criteria
- The $ sign icon turns red for any ingredient in the Recipe Editor when its required quantity exceeds the available on-hand inventory.
- The $ sign icon remains green when the on-hand inventory is sufficient or when no inventory check is applicable (e.g., for non-inventory items, if any exist).
- The icon change is immediate and responsive as the user adjusts recipe quantities.