[Executive Summary] - Overview Tab section
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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:
What it should look like while editing:
note: the +/- values should be stored in the string
- 主要言語
- TypeScript
- スター
- 39
- フォーク
- 10
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 40
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Northeastern-Electric-Racing/FinishLine のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
Northeastern-Electric-Racing/FinishLine#4647 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
Northeastern-Electric-Racing/FinishLine#4646 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Northeastern-Electric-Racing/FinishLine#4645 ·
メンテナーはふだん 2 日以内に返信
-
maintenance
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Northeastern-Electric-Racing/FinishLine#4614 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Northeastern-Electric-Racing/FinishLine#4595 ·
メンテナーはふだん 2 日以内に返信
Northeastern-Electric-Racing/FinishLine の issue をすべて見る
似ている issue
-
category::task code priority::normal
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
e0ipso/strikethroo#145 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
cocos/cocos-docs#3333 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
RevenueCat/react-native-purchases#2079 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
RevenueCat/purchases-hybrid-common#2039 ·
メンテナーはふだん 1 日以内に返信
-
agent-reported area/react bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信