diff --git a/codegen.yml b/codegen.yml index f3cd08d..433cbdd 100644 --- a/codegen.yml +++ b/codegen.yml @@ -1,5 +1,5 @@ overwrite: true -schema: "http://api.fennec.localhost/graphql" +schema: "http://localhost:7122/graphql" # documents: "src/**/*.graphql" generates: src/generated/graphql.tsx: diff --git a/src/generated/graphql.schema.json b/src/generated/graphql.schema.json index 3db904b..13deebf 100644 --- a/src/generated/graphql.schema.json +++ b/src/generated/graphql.schema.json @@ -1949,22 +1949,6 @@ "description": null, "fields": null, "inputFields": [ - { - "name": "projectId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "branch", "description": null, diff --git a/src/generated/graphql.tsx b/src/generated/graphql.tsx index ce2e159..736d229 100644 --- a/src/generated/graphql.tsx +++ b/src/generated/graphql.tsx @@ -255,7 +255,6 @@ export enum TaskStatuses { } export type UpdatePipelineInput = { - projectId: Scalars['String']; branch: Scalars['String']; name: Scalars['String']; workUnitMetadata: WorkUnitMetadataInput; diff --git a/src/projects/project-detail.tsx b/src/projects/project-detail.tsx index 81320de..6d221f7 100644 --- a/src/projects/project-detail.tsx +++ b/src/projects/project-detail.tsx @@ -1,10 +1,20 @@ import { Project } from "../generated/graphql"; import React, { FC, Fragment } from "react"; -import { IconButton, Grid, makeStyles, Paper, Portal, Typography } from "@material-ui/core"; +import { + IconButton, + Grid, + makeStyles, + Paper, + Portal, + Typography, + Box, +} from "@material-ui/core"; import { useHeaderContainer } from "../layouts"; import { PipelineList } from "../pipelines/pipeline-list"; import { Edit } from '@material-ui/icons'; import { Link } from '@curi/react-dom'; +import { Button } from "@material-ui/core"; +import { AddBox } from "@material-ui/icons"; interface Props { project: Project; @@ -62,6 +72,18 @@ export const ProjectDetail: FC = ({ project, children }) => { > + + + + +