[Executive Summary] - Edit Competition Documents

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

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
react, typescript
领域
frontend

调研方向

首先阅读 CompetitionDocuments.tsx 和 useEditCompetitionDocuments hook,了解该部分如何显示和保存其值。添加验收标准中描述的内联编辑流程,包括对 admin/ops 的可见性以及仅限数值。完成标准是这两个值可以内联编辑并保存,而且铅笔图标只显示给指定团队。

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

描述

Description

We want to be able to edit the values in the competition documents section of the executive summary page. By clicking the pencil icon next to the Competition Documents title, admin and ops team should be able to edit the values in line.

Acceptance Criteria
  • pencil icon next to competition documents title to edit submitted on time and first submission rejected fields
  • only numeric values are accepted
  • pencil icon is only visible to admin/ops team
  • values become editable inline when the edit button is selected
Proposed Solution
  • update CompetitionDocuments.tsx to have a pencil icon next to the title
  • when the pencil icon is clicked, the texts boxes become editable in line
  • use the useEditCompetitionDocuments hook to save the values
Mocks
Image
主要语言
TypeScript
星标
39
派生
10
平均合并
3 天 2 小时
30 天内合并 PR
43

环境准备

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

从这里开始

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

Northeastern-Electric-Racing/FinishLine 的其他 Issue

查看 Northeastern-Electric-Racing/FinishLine 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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