From f4cd554291b636ea6de947ced5474ebc7628be81 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Apr 2019 12:50:49 -0700 Subject: [PATCH] small fixes --- pkg/types.go | 1 - pkg/ui/frontend/package.json | 1 + pkg/ui/frontend/public/index.html | 2 +- pkg/ui/frontend/public/manifest.json | 4 ++-- pkg/ui/frontend/src/components/App.jsx | 4 ---- pkg/ui/frontend/src/components/HP/Create/YAML.jsx | 2 +- pkg/ui/frontend/src/components/NAS/Create/YAML.jsx | 2 +- 7 files changed, 6 insertions(+), 10 deletions(-) diff --git a/pkg/types.go b/pkg/types.go index 22dd32aaa9c..4567f1dc870 100644 --- a/pkg/types.go +++ b/pkg/types.go @@ -10,7 +10,6 @@ const ( VizierServiceNamespaceEnvName = "VIZIER_CORE_NAMESPACE" VizierService = "vizier-core" VizierPort = "6789" - // ManagerAddr = "10.111.12.89:6789" ManagerAddr = VizierService + ":" + VizierPort ) diff --git a/pkg/ui/frontend/package.json b/pkg/ui/frontend/package.json index 3ba5f2dc884..854b3fad148 100644 --- a/pkg/ui/frontend/package.json +++ b/pkg/ui/frontend/package.json @@ -1,6 +1,7 @@ { "name": "frontend", "version": "0.1.0", + "homepage": ".", "private": true, "dependencies": { "@babel/core": "7.2.2", diff --git a/pkg/ui/frontend/public/index.html b/pkg/ui/frontend/public/index.html index a2a23bba911..033a83f4e73 100755 --- a/pkg/ui/frontend/public/index.html +++ b/pkg/ui/frontend/public/index.html @@ -33,7 +33,7 @@ --> Katib UI diff --git a/pkg/ui/frontend/public/manifest.json b/pkg/ui/frontend/public/manifest.json index 1f2f141fafd..0433363522a 100755 --- a/pkg/ui/frontend/public/manifest.json +++ b/pkg/ui/frontend/public/manifest.json @@ -1,6 +1,6 @@ { - "short_name": "React App", - "name": "Create React App Sample", + "short_name": "Katib-UI", + "name": "Dashboard for katib", "icons": [ { "src": "favicon.ico", diff --git a/pkg/ui/frontend/src/components/App.jsx b/pkg/ui/frontend/src/components/App.jsx index 914ef7683bc..2a50488b38a 100644 --- a/pkg/ui/frontend/src/components/App.jsx +++ b/pkg/ui/frontend/src/components/App.jsx @@ -38,10 +38,6 @@ const App = (props) => { - - {/* - - */} ) diff --git a/pkg/ui/frontend/src/components/HP/Create/YAML.jsx b/pkg/ui/frontend/src/components/HP/Create/YAML.jsx index 4d66594afb9..99767796c5c 100644 --- a/pkg/ui/frontend/src/components/HP/Create/YAML.jsx +++ b/pkg/ui/frontend/src/components/HP/Create/YAML.jsx @@ -54,7 +54,7 @@ const YAML = (props) => { theme="tomorrow" value={props.yaml} onChange={onYamlChange} - name="UNIQUE_ID_OF_DIV" + name="yaml-editor" editorProps={{$blockScrolling: true}} tabSize={2} enableLiveAutocompletion={true} diff --git a/pkg/ui/frontend/src/components/NAS/Create/YAML.jsx b/pkg/ui/frontend/src/components/NAS/Create/YAML.jsx index a2d9474ff8c..c40877cca0a 100644 --- a/pkg/ui/frontend/src/components/NAS/Create/YAML.jsx +++ b/pkg/ui/frontend/src/components/NAS/Create/YAML.jsx @@ -55,7 +55,7 @@ const YAML = (props) => { theme="tomorrow" value={props.yaml} onChange={onYamlChange} - name="UNIQUE_ID_OF_DIV" + name="yaml-monitor" editorProps={{$blockScrolling: true}} tabSize={2} enableLiveAutocompletion={true}