diff --git a/services/frontend/public/favicon.ico b/services/frontend/public/favicon.ico deleted file mode 100644 index a11777c..0000000 Binary files a/services/frontend/public/favicon.ico and /dev/null differ diff --git a/services/frontend/public/favicon.png b/services/frontend/public/favicon.png new file mode 100644 index 0000000..69dea8d Binary files /dev/null and b/services/frontend/public/favicon.png differ diff --git a/services/frontend/public/index.html b/services/frontend/public/index.html index 2745ea3..f2c6f4c 100644 --- a/services/frontend/public/index.html +++ b/services/frontend/public/index.html @@ -2,7 +2,7 @@ - + - - Container Toolkit
- diff --git a/services/frontend/public/manifest.json b/services/frontend/public/manifest.json index ca4ee33..107306d 100644 --- a/services/frontend/public/manifest.json +++ b/services/frontend/public/manifest.json @@ -3,9 +3,9 @@ "name": "Visual Argo Workflows", "icons": [ { - "src": "favicon.ico", + "src": "favicon.png", "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" + "type": "image/png" } ], "start_url": ".", diff --git a/services/frontend/src/components/Project/index.tsx b/services/frontend/src/components/Project/index.tsx index 4126f81..4f1fb36 100644 --- a/services/frontend/src/components/Project/index.tsx +++ b/services/frontend/src/components/Project/index.tsx @@ -195,6 +195,14 @@ export default function Project(props: IProjectProps) { [] ); + const debouncedAutoSave = useMemo( + () => + debounce(() => { + console.log("the api is going to call after 5 seconds"); + }, 5000), + [] + ); + const debouncedOnGraphUpdate = useMemo( () => debounce((payload) => { @@ -635,11 +643,12 @@ export default function Project(props: IProjectProps) { minHeight: "calc(100vh - 120px)" }} > -

- Something went wrong... +

+ {(error as any)?.response.status === 404 ? <>404 : <>Oops...}

- Either this project does not exist, or the link is wrong. + Either this project does not exist, it is private or the link is + wrong.

); diff --git a/services/frontend/src/components/global/logo.tsx b/services/frontend/src/components/global/logo.tsx index 2308fa9..dc72680 100644 --- a/services/frontend/src/components/global/logo.tsx +++ b/services/frontend/src/components/global/logo.tsx @@ -1,62 +1,34 @@ const Logo = () => { return ( - CTK - - - + + + ); };