ddinh0411 / ROMSly

The final project for the class CPSC 354: Programming Languages. This a group project and acts as a a showcase of mastery over the topics of parsing.
1 stars 1 forks source link

Peer Review Suggestion: Item alteration block #87

Open kaychanela opened 8 months ago

kaychanela commented 8 months ago

Hey guys, I'm really impressed with your ROMSly project, and I can see its practical application in the food service industry. My suggestion is to consider adding a block that allows users to include substitution or allergy notes for food and drink items. This feature would enhance the system's versatility and accommodate customers' special requests.

To implement this feature effectively, you could create a new custom Blockly block specifically for this purpose. This block could be designed to take user input and attach it to a menu item, allowing customers to indicate their preferences or dietary restrictions. Consider adding an input field within this block where users can type or select relevant information, such as "substitute with X" or "allergic to Y." The block should then generate SQL code to store this information in the database alongside the corresponding menu item.

Other than that I think this is super helpful and really great work!

masli747 commented 8 months ago

Hi Kaychanela, thank you so much for your feedback on ROMSly! I think you have a very important point when it comes to making sure ROMSly can handle substitutions or allergy notes for customer orders. I believe your suggestion of a "Substitute with X" or "Allergic to Y" blocks is a very elegant way of handling this information. From my point of view, I think it could also be nice if we could build on your idea by having these substitution blocks send SQL code to populate a "Custom Request" or "Special Notes" Table that can hold both allergen/dietary restrictions and other extra requests customers may have on their order. Thank you again for your feedback, and taking the time to help us improve ROMSly!