components#TimeToFirstResponseGraph JavaScript Examples

The following examples show how to use components#TimeToFirstResponseGraph. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Dashboard.js    From git-insights with MIT License 5 votes vote down vote up
Dashboard = () => {
  const classes = useStyles();
  const { repoid } = useParams();
  const { user } = useUser();

  return (
    <div className={classes.root}>
      {user.repos[0] && user.repos[0].processed === false &&
        <div className={classes.alertBar}>
          <MuiAlert elevation={1} severity="warning">Processing historical data, graphs will be available soon.</MuiAlert>
        </div>
      }
      <Grid
        container
        spacing={4}
      >
        <Grid
          item
          xl={6}
          lg={6}
          md={12}
          xs={12}
        >
          <ActivityDatesAndTimesGraph repoid={repoid}/>
        </Grid>
        <Grid
          item
          xl={6}
          lg={6}
          md={12}
          xs={12}
        >
          <TimeToFirstResponseGraph repoid={repoid}/>
        </Grid>
        {/* <Grid
          item
          xl={6}
          lg={6}
          md={12}
          xs={12}
        >
          <OrganizationChart repoid={repoid}/>
        </Grid> */}
        <Grid
          item
          xl={6}
          lg={6}
          md={12}
          xs={12}
        >
          <ContributorsTable repoid={repoid}/>
        </Grid>
      </Grid>
    </div>
  );
}