Integrate GitHub Search API in Confirmation Card #15
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
API Documentation
GitHub API Search Docs
I would like if users could type in their github username and see their account and profile pic pop up for selection. This would allow for us to get a lot of information very quickly, as well as confirm that the username they put in for their github is correct.
Component Usage
Semantic UI React Docs
CodeSandbox Example
Using
semantic-ui-react
, the search component would allow for async requests to be made to GitHub's api when the user clicks a search button, then the field would be populated with the filtered results. See the registration card in/app/client/src/components/RegistrationCard/index.tsx
for a synchronous example, but it can be easily modified to be async using theloading
prop on the search component.Example Request:
Example Response:
As an added note, outside of the MVP of this issue would be autofilling this github info based on the user's login provider for our Auth0 implementation i.e. if they logged in to our site with GitHub, we should autofill this field because its stored in the JWT token they use to make authenticated requests.
The text was updated successfully, but these errors were encountered: