Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native

Sorting Not Working on Dispatch and Earnings Page

未关闭
#653 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

Describe the bug
The sorting functionality on the dispatch page is not working. When clicking on column headers to sort the data, there is no visible change or the sorting is not applied correctly.

To Reproduce
Steps to reproduce the behavior:

Go to the Dispatch page

Click on any column header to sort (e.g., Date, Order ID, etc.)

Observe that the data does not sort as expected or remains unchanged

Expected behavior
Clicking a column header should sort the data in ascending or descending order accordingly.

Screenshots

Image

Desktop (please complete the following information):

OS: Windows 11

Browser: Chrome

Additional context
This issue affects the usability of the dispatch page as it prevents users from organizing data efficiently. Sorting is essential for quick navigation and locating specific records.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在 Chrome 中打开 Dispatch 页面,跟踪 Date 和 Order ID 等字段的列标题排序行为。使用 Dispatch 数据重现该问题,然后验证点击标题后,记录是否会按预期以升序和降序显示排序;issue 标题还提到了 Earnings 页面,因此请检查它是否具有相同的行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, react-native
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。