gray-mueller / gray-mueller/food-ordering-app-with-source-code
Dispatch Page Search Box Only Works with Order ID
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Describe the bug
The search box on the "Dispatch" page only returns results when an order ID is entered. It does not work with any other relevant search terms such as restaurant name, customer name, or contact number, making it difficult to quickly locate orders using other identifying information.
To Reproduce
Steps to reproduce the behavior:
Go to the "Dispatch" page.
Enter a restaurant name, customer name, or phone number in the search box.
Observe that no results are returned.
Enter an order ID and observe that results appear.
Expected behavior
The search functionality should support multiple fields such as restaurant name, customer name, and contact number in addition to order ID, to improve order lookup efficiency.
Screenshots
Image
Smartphone (please complete the following information):
Device: Samsung A15
Additional context
This limitation significantly reduces the usability of the Dispatch page, especially for support and operations teams handling high volumes of orders.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu từ trang Dispatch và truy vết phần triển khai ô tìm kiếm, sau đó tái hiện vấn đề bằng ID đơn hàng, tên nhà hàng, tên khách hàng và số liên hệ. Cập nhật hành vi tìm kiếm để tất cả các trường nhận dạng được liệt kê đều trả về các đơn hàng khớp, đồng thời xác minh rằng việc tìm kiếm theo ID đơn hàng vẫn hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100