Bug: Selected Paper Count Persists When Navigating Between Subjects
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- frontend
调研方向
首先找到学科页面和单篇论文的选择状态,然后追踪切换到其他学科时该状态如何更新。检查“全选”的现有行为,并与逐篇选择论文进行比较。完成的标准是计数归零,且切换学科后所选内容不会保留。
由索引模型根据 Issue 内容生成。
描述
Bug: Selected Paper Count Persists When Navigating Between Subjects
Description
When selecting individual question papers, the selected paper count indicator increases as expected. However, when navigating to a different subject (a completely different page), the selection count does not reset.
Instead, the count carries over from the previously visited subject when I use the individual select button under each paper, even though the user is now viewing papers belonging to a different subject.
Steps to Reproduce
- Navigate to any subject.
- Select a few individual question papers.
- Note the selected paper count.
- Navigate to a different subject.
- Observe that the selection count still reflects the previous subject's selections when you click the select button under each paper.
Expected Behaviour
- The selection count should reset to zero when navigating to a different subject.
- Selections from one subject should not carry over to another subject.
- The selection state should be scoped to the currently viewed subject.
Actual Behaviour
The selection count persists across different subjects and continues from where it was left on the previous page. It only resets when the Select All button is pressed.
I'd also be happy to work on this feature and raise a PR for it if the maintainers are open to the contribution.
- 主要语言
- TypeScript
- 星标
- 23
- 派生
- 67
- 平均合并
- 2 天 17 小时
- 30 天内合并 PR
- 7
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CodeChefVIT/papers-codechef 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
CodeChefVIT/papers-codechef#552 · 1 条评论 · 1 个 reaction ·
维护者通常 4 天内回复
-
/api/upcoming-papers Throws 404 When No Exams are Active可能已有人在做 @Dx-Alz-xD 于 16 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
CodeChefVIT/papers-codechef#549 · 1 个 reaction ·
维护者通常 4 天内回复
-
难度 3/5 1-2 天 新手友好度 69/100
CodeChefVIT/papers-codechef#576 ·
维护者通常 4 天内回复
-
难度 3/5 1-2 天 新手友好度 64/100
CodeChefVIT/papers-codechef#575 ·
维护者通常 4 天内回复
-
Pinned subjects: a bad localStorage value crashes the page可能已有人在做 @Dx-Alz-xD 于 16 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
CodeChefVIT/papers-codechef#559 · 1 条评论 ·
维护者通常 4 天内回复
查看 CodeChefVIT/papers-codechef 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 75/100
-
review-followup
难度 2/5 1-3 小时 新手友好度 68/100
griffinwork40/agent-afk#5387 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
CodeManufactoryLLC/Code60#358 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
android:plan ios:plan main:plan packages:learn
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复