Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Executive Summary] - Overview Tab section

Đang mở
#4,571 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@ethannccc đang làm issue này rồi.

Từ ngày 7/10/2026.

  • #4627 của @ethannccc — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start by locating the executive summary page and reading the useEditExecutiveSummary hook to understand how its fields are edited. Build a component that takes an executiveSummary object and displays its goals, wins, and improvements. Done means the overview section appears on the page and each field can be edited using a pencil icon.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

stale
Description

Add an Overview section to the executive summary page showing the season's Goals and Wins & Improvements (stored as one winsAndImprovements string). Each field has a pencil icon next to its label. Clicking it turns the text into an editable text box in place, with Save and Cancel buttons. See the mockup in the original issue.

Acceptance Criteria
  • New component takes an executiveSummary: ExecutiveSummary prop and displays goals and winsAndImprovements under their own labels.
  • Clicking a field's pencil swaps its text for a multiline TextField prefilled with the current value, with Save and Cancel buttons.
  • Only one field can be edited at a time (track an editingField state in the parent).
  • Save calls useEditExecutiveSummary. The payload must include all fields of EditExecSummaryPayload (season dates, goals, winsAndImprovements,
    budgetNotes, recruitmentNotes) with only the edited one changed, so other fields aren't blanked.
  • The save button shows a loading state. On error, show the app's existing error or toast pattern and stay in edit mode. On success, return to
    display mode.
  • Cancel discards the draft and restores the current value. Escape also cancels. Enter adds a newline and doesn't save.
  • Empty values show a placeholder such as "No goals set yet".
Proposed Solution
  • Build a small reusable EditableTextField component (label, value, onSave, isEditing, onEditStart, onCancel) and render it twice in the Overview component.
  • Reset the draft to the current value each time edit mode starts, so it never goes stale after a refetch.
  • Use useEditExecutiveSummary from hooks/exec-summaries.hooks.ts. It already invalidates the executive-summaries query, so no manual refetch is needed.
  • See shared/src/types/exec-summary-shared-types.ts for the ExecutiveSummary shape.
  • Build it standalone with the summary passed as a prop.
Mocks

Not in editing mode:
Image

What it should look like while editing:
note: the +/- values should be stored in the string
Image

Ngôn ngữ chính
TypeScript
Star
39
Fork
10
Merge trung bình
3 ngày 14 giờ
Pull request đã merge (30 ngày)
41

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Northeastern-Electric-Racing/FinishLine

Tất cả issue của Northeastern-Electric-Racing/FinishLine

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.