Global

Members

(constant) config

Configuration object for the chatbot. This object defines the basic setup, appearance, and initial messages for the chatbot.
Author:
  • Patralika Ghosh
Source:

Methods

Cart()

The Cart component handles all of the cart and checkout aspects Like updating or removing cart items and checking out the order when finished
Author:
  • Maria Visinescu
  • Patralika Ghosh
Source:

CashierCategoryDisplay(props) → {JSX.Element}

Component displaying menu items for a specific category in the cashier interface.
Parameters:
Name Type Description
props Object Props object containing category and addToCart function.
Properties
Name Type Description
category string The category to display menu items for.
addToCart function Function to add an item to the cart.
Author:
  • Caleb Elizondo
Source:
Returns:
The rendered cashier category display component.
Type
JSX.Element

CashierMenuItem(props) → {JSX.Element}

Component representing a button for a menu item in the cashier interface.
Parameters:
Name Type Description
props Object Props object containing category, item, and showPopup function.
Properties
Name Type Description
category string The category of the menu item.
item Object The menu item object.
showPopup function Function to show the popup for the selected item.
Author:
  • Caleb Elizondo
Source:
Returns:
The rendered menu item button component.
Type
JSX.Element

CashierNavigationBar(props) → {JSX.Element}

Navigation bar component allowing users to navigate between menu categories.
Parameters:
Name Type Description
props Object Props object containing handleCategoryChange function.
Properties
Name Type Description
handleCategoryChange function Function to handle category change.
Author:
  • Caleb Elizondo
Source:
Returns:
The rendered navigation bar component.
Type
JSX.Element

CashierPage() → {JSX.Element}

Root component for the Point of Sale (POS) interface.
Author:
  • Caleb Elizondo
Source:
Returns:
The rendered POS interface.
Type
JSX.Element

CurrentOrderDisplay(props) → {JSX.Element}

Component displaying the current order to the user.
Parameters:
Name Type Description
props Object Props object containing cartItems, removeItem, and editItem functions.
Properties
Name Type Description
cartItems Array.<Object> Array of items in the current order.
removeItem function Function to remove an item from the order.
editItem function Function to edit an item in the order.
Author:
  • Caleb Elizondo
Source:
Returns:
The rendered current order display component.
Type
JSX.Element

Item(category, item)

The Item component handles the characteristics for the given item
Parameters:
Name Type Description
category object Category passed in from ItemPage
item object Item passed in from ItemPage
Author:
  • Maria Visinescu
  • Patralika Ghosh
Source:

ItemPage()

The ItemPage component displays all the items within the given category
Author:
  • Maria Visinescu
  • Patralika Ghosh
Source:

ItemPopup(props) → {JSX.Element}

Component displaying a popup for selecting modifications before adding an item to the current order.
Parameters:
Name Type Description
props Object Props object containing selectedItem, closePopup, and addItemToOrder functions.
Properties
Name Type Description
selectedItem Object The selected item for modification.
closePopup function Function to close the popup.
addItemToOrder function Function to add an item to the order with modifications.
Author:
  • Caleb Elizondo
Source:
Returns:
The rendered item popup component.
Type
JSX.Element

ItemPopupCustomer(selectedItem, index, closePopup, addToCart)

The ItemPopupCustomer component handles the ingredient modifications for the selected item
Parameters:
Name Type Description
selectedItem object Selected item passed in from Item
index object Index of the selected item in the cart array passed in from Item
closePopup function closePopup function passed in from Item
addToCart function addToCart function passed in from ItemPage
Author:
  • Caleb Elizondo
  • Patralika Ghosh
Source:

LoginPage()

LoginPage component - handles user authentication, including login and logout functionalities. This component also includes options for Google OAuth login and a chatbot interface.
Author:
  • Patralika Ghosh
Source:

MainCustomerPage()

The MainCustomerPage component displays all the possible drink categories Each category button will then lead to their own pages when clicked
Author:
  • Maria Visinescu
  • Patralika Ghosh
Source:

ManagerEmployeeTable(employees)

ManagerEmployeeTable displays the employee table in the manager view It handles adding, editing, deleting and updating the employee table and fetching the relevant data from the django backend
Parameters:
Name Type Description
employees object | null The Employee objects retrieved from the Django backend
Author:
  • Sophia Evanisko
Source:

ManagerHomePage()

ManagerHomePage displays the home page when a user navigates to the manager view It contains a carousel to display images and a navigation bar so users can navigate to other manager pages
Author:
  • Sophia Evanisko
Source:

ManagerInventoryTable(inventory)

ManagerInventoryTable class displays the inventory table in the manager view It handles adding, editing, deleting and updating the inventory table and fetching the relevant data from the django backend
Parameters:
Name Type Description
inventory object | null The Ingredient objects retrieved from the Django backend
Author:
  • Sophia Evanisko
Source:

ManagerMenuTable(menu_items)

ManagerMenuTable class displays the menu table in the manager view It handles adding, editing, deleting and updating the menu table and fetching the relevant data from the django backend
Parameters:
Name Type Description
menu_items object | null The MenuItem objects retrieved from the Django backend
Author:
  • Sophia Evanisko
Source:

ManagerNavigationBar()

ManagerNavigationBar class displays the navbar that is used at the top of each manager page It allows a user to navigate between the home page, trends page, and tables
Author:
  • Sophia Evanisko
Source:

ManagerOrderTable(orders)

ManagerOrderTable class displays the order table in the manager view It handles updating the order table and fetching the relevant data from the django backend
Parameters:
Name Type Description
orders object | null The Order objects retrieved from the Django backend
Author:
  • Sophia Evanisko
Source:

ManagerTablesPage()

ManagerTablesPage is the basic page for the tables tab of the manager view It contains a dropdown menu that allows the user to choose what table they would like to see It then displays the chosen component from the dropdown menu
Author:
  • Sophia Evanisko
Source:
The MenuCategory component handles all the menu items within the given category
Parameters:
Name Type Description
category object Category passed in from MenuPage
Author:
  • Maria Visinescu
Source:
The MenuCategoryButtons component displays the button for the selected category
Parameters:
Name Type Description
category object Category passed in from MainCustomerPage
Author:
  • Maria Visinescu
Source:
The MenuItem component handles the characteristics for the given item
Parameters:
Name Type Description
category object Category passed in from MenuCategory
item object Item passed in from MenuCategory
Author:
  • Maria Visinescu
Source:
The MenuPage component displays all of the menu items and associated characteristics
Author:
  • Maria Visinescu
  • Inwoo Song
Source:

SendOrderButton(props) → {JSX.Element}

Component representing the button to send the order in the cashier interface.
Parameters:
Name Type Description
props Object Props object containing sendOrder function.
Properties
Name Type Description
sendOrder function Function to send the order.
Author:
  • Caleb Elizondo
Source:
Returns:
The rendered send order button component.
Type
JSX.Element

SpeechInterface() → {JSX.Element}

Component representing a speech assistance interface for the cashier.
Author:
  • Caleb Elizondo and Nora
Source:
Returns:
The rendered speech interface component.
Type
JSX.Element