Skip to content

Instantly share code, notes, and snippets.

@bekverdyan
Created January 21, 2023 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bekverdyan/ad9221ff6a001507a8768e4529d07aa2 to your computer and use it in GitHub Desktop.
Save bekverdyan/ad9221ff6a001507a8768e4529d07aa2 to your computer and use it in GitHub Desktop.
Task

Description

Write the single page application working in the browser, which will have the possibility to peek the contributors of the repositories of the arbitrary public GitHub organization.

Page elements

  • Input box, to write organization name
  • Search button, to start search
  • Dashboard to show repositories of the organization or the repository contributors
  • Back button, to go back to repositories list from contributors list
  • Basket to contain the selected contributors

Use cases

  • User enters the non existing organization name in the search box and press the search button, The system shows the Organization not found message in the Dashboard.

  • User enters the existing organization name with no public repositories in the search box and press the search button, The system shows the Repositories not found message in the Dashboard.

  • User enters the existing organization name with one or more public repositories in the search box and press the Search button. The system shows the all repositories of the organization in the dashboard. User clicks on the certain repository, the system shows the contributors of the selected repository in the dashboard instead of the repositories list. User clicks on the certain contributor, the system adds the selected contributor to the basket. User clicks on Back button of the dashboard, the System lists the repositories of the selected organization instead of the contributors list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment