jangerhard / jangerhard/react-github-showcase

Feature - Show message for invalid parameters

オープン
#21 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
JavaScript
スター
2
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

説明

**Is your feature request related to a problem? Please describe.**
Make sure the component shows a nice-looking message if the component has invalid props, which will be returned from the Github API.

**Describe the solution you'd like**
If the error message states that the username cannot be located, then show a message stating which user cannot be found. If other props fail, state which and explain what kind of input is expected.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、React コンポーネントによる無効な props の処理と GitHub API のエラーレスポンスを特定します。利用できないユーザー名、または無効な prop と期待される入力を示すメッセージを実装し、その後、無効な prop の各ケースで適切なメッセージが表示されることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
graphql, javascript, react
領域
api, frontend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。