Skip to content

[ENHANCEMENT] Admin orders page lacks auto-refresh #285

Description

@Siddh2024

Description

The admin orders page fetches orders exactly ONCE on mount and never polls for updates. The auto-refresh interval code is commented out in OrdersGrid.jsx with a note: UNCOMMENT Auto-refresh every 30 seconds.

Impact

  • Restaurant admins must manually refresh the page to see new incoming orders
  • In a real-time ordering system, this creates a poor experience

Files Involved

  • RestroHub-FrontEnd/src/components/admin/orders/orderComponents/OrdersGrid.jsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions