Goals: the error banner and the "No goals yet" hint show at the same time
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 73/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- nextjs, react, typescript
- 領域
- frontend
調査の方向性
src/components/GoalTracker.tsx の627行目付近にある goals.length === 0 分岐から始め、同期エラーと読み込み結果がどのように表現されるかをたどってください。失敗した空の読み込みと成功した空の読み込みを対象に、コンポーネントテストを追加または更新してください。失敗した読み込みでは空状態のヒントを表示せずにエラーと再試行または更新の操作を表示し、成功した空の読み込みではヒントを表示できれば完了です。このファイルも変更する #3824 と調整してください。
索引モデルが issue の本文から書いたものです。
説明
Summary
When loading goals fails, the Goals card shows "Failed to load goals. Please try again." and "No goals yet. Set your first one below..." together. The second message is wrong: we don't know there are no goals, we just couldn't load them.
Where
src/components/GoalTracker.tsx (the goals.length === 0 branch around line 627 renders regardless of the sync error)
Expected outcome
While the load error is showing, don't show the empty-state hint (keep the retry/refresh action). Show the hint only after a successful load that returned no goals.
Acceptance criteria
- A component test: a failed load shows the error and not the empty hint; a successful empty load shows the hint
- Note: #3824 translates this file; coordinate or rebase on it
- 主要言語
- TypeScript
- スター
- 246
- フォーク
- 436
- 平均マージ
- 9時間 33分
- マージ済み PR(30日)
- 213
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Priyanshu-byte-coder/devtrack のほかの issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Priyanshu-byte-coder/devtrack#4067 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Priyanshu-byte-coder/devtrack#4066 ·
メンテナーはふだん 1 日以内に返信
-
Webhook manager: replace the browser confirm() dialogs with ConfirmModal対応中かも @Nandaninaulaa が 4 日前に担当しました。 オープンgood first issue level 1 level:beginner status:assigned type:design
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
Priyanshu-byte-coder/devtrack#3889 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Goals form: square arcade buttons for recurrence, Create goal and Refresh対応中かも @KartikeyG-world が 4 日前に担当しました。 オープンgood first issue level 1 level:beginner status:assigned type:design
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
Priyanshu-byte-coder/devtrack#3877 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Add route tests for /api/user/settings/discord-test対応中かも @sam-zc が 6 日前に担当しました。 オープンgood first issue level 1 level:beginner status:assigned type:testing
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Priyanshu-byte-coder/devtrack#3746 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
Priyanshu-byte-coder/devtrack の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
makecindy/cindy#15342 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
kwitsch/claude-code-plugin-tooling#219 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
no-repo-link tool-submission
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
BraveOPotato/NoSignups#2618 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100