reviewGrades and manageSubmissions rosters don't filter by role

未关闭 适合新手
#364 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

从 frontend/src/pages/reviewGrades/index.js 和 frontend/src/pages/manageSubmissions/index.js 入手,然后追踪 get_course_enrollment 和课程角色是如何提供给这些页面的。让两个名单都排除其他 TA 和 co-instructor,同时保留学生;当工作人员不再出现在任一名单中时,即为完成。

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

描述

get_course_enrollment returns all enrolled users regardless of role. Neither frontend/src/pages/reviewGrades/index.js (which only excludes the current viewer: allRes.filter(s => s.id !== userInfo.id)) nor frontend/src/pages/manageSubmissions/index.js (no filtering at all) excludes other TAs or co-instructors from the roster they display. If a TA or a second instructor is enrolled in a course and has ever had a Submission row (e.g. via future staff-testing, see #363), they'd currently show up alongside real students in grade review and submission management.

This is independent of whether staff-testing (#363) ever ships — it's a pre-existing gap in role filtering on these two pages today.

Found while investigating a review comment from Cecilia (yczhangcc) on PR #355.

主要语言
Python
星标
13
派生
0
平均合并
9 天 7 小时
30 天内合并 PR
5

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

kiat/codeAssist 的其他 Issue

查看 kiat/codeAssist 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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