jangerhard / jangerhard/react-github-showcase
Feature - Show message for invalid parameters
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
**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.
Contributor guide
Research direction
Start by locating the React component's handling of invalid props and the GitHub API error response. Implement messages that identify an unavailable username or the invalid prop and expected input, then verify each invalid-prop case displays the appropriate message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, javascript, react
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100