jangerhard / jangerhard/react-github-showcase
Feature - Show message for invalid parameters
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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