Skip to content

fix: add loading states for branch and category fetches in menu modals#276

Open
gTanusri wants to merge 2 commits into
rdodiya:gssoc_developfrom
gTanusri:fix/issue-269-menu-loading-states
Open

fix: add loading states for branch and category fetches in menu modals#276
gTanusri wants to merge 2 commits into
rdodiya:gssoc_developfrom
gTanusri:fix/issue-269-menu-loading-states

Conversation

@gTanusri

Copy link
Copy Markdown
Contributor

Summary

Fixes blank/empty dropdowns on the admin Menus page while branch and category data is still loading.

  • Track branchesLoading and categoriesLoading in Menus.jsx during API fetches
  • Show loading spinners in the food item modal category dropdown
  • Show loading spinners in the menu creation modal for branch and category selects
  • Merged latest gssoc_develop and resolved conflicts in FoodItemFormModal.jsx (kept upstream validation + loading state)

Closes #269

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] No loading states on menu/data fetch - blank screen during API calls

1 participant