Frontend Routes and Components - nicolauria/Tango GitHub Wiki

Components are organized as follows:

  • Root
    • App
      • Navbar
      • Sidebar (shown after signed in)
      • (main component goes here

The following routes, defined in App, will render components beneath the Navbar and to the right of the Sidebar

  • /

    • Homepage
  • /projects

    • ProjectIndexContainer
    • displays a list of projects that the user/project manager is overseeing
    • provides ability to create a new project
  • /projects/:id

    • ProjectShow
    • displays the visual web of the project
    • has link/ability that pops up a modal to create a task and assign a team member to it
    • displays progress of the project (On Time, Ahead, Behind) based on algorithm
  • /tasks

    • TaskIndexContainer
    • displays a list of tasks that the team member has been assigned to
    • each TaskIndexItem can be edited here by the team member
      • can update the time aspect of the task
      • can mark the task as complete
    • (optional) link on the task brings up a the project show page (the web)