diff --git a/bundle/package.json b/bundle/package.json
index efc19f2a..b78e7627 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -18,7 +18,7 @@
"dependencies": {
"brok": "^2.0.0",
"brule": "^3.1.0",
- "cloudapi-gql": "^6.1.1",
+ "cloudapi-gql": "^7.1.1",
"hapi": "^17.2.0",
"hapi-triton-auth": "^2.0.0",
"inert": "^5.1.0",
diff --git a/bundle/src/index.js b/bundle/src/index.js
index 2ef29aeb..7b6d940a 100644
--- a/bundle/src/index.js
+++ b/bundle/src/index.js
@@ -22,7 +22,7 @@ const {
BASE_URL = `http://0.0.0.0:${PORT}`,
ROLLBAR_SERVER_TOKEN,
NODE_ENV = 'development',
- CONSOLE = 'my-joy-beta'
+ CONSOLE = 'my-joy-instances'
} = process.env;
const Ui = require(CONSOLE);
diff --git a/packages/my-joy-images/src/containers/create.js b/packages/my-joy-images/src/containers/create.js
index f3e0c24b..4884265b 100644
--- a/packages/my-joy-images/src/containers/create.js
+++ b/packages/my-joy-images/src/containers/create.js
@@ -102,7 +102,7 @@ export default compose(
}),
props: ({ data: { loading, error, variables, ...rest } }) => {
const notFoundMsg = `Instance "${variables.name}" not found!`;
- const inst = find(get(rest, 'machines', []), ['name', variables.name]);
+ const inst = find(get(rest, 'machines.results', []), ['name', variables.name]);
const notFound = !loading && !inst ? notFoundMsg : false;
return {
diff --git a/packages/my-joy-images/src/graphql/get-instance.gql b/packages/my-joy-images/src/graphql/get-instance.gql
index dc1b1064..fb0c0e2d 100644
--- a/packages/my-joy-images/src/graphql/get-instance.gql
+++ b/packages/my-joy-images/src/graphql/get-instance.gql
@@ -1,6 +1,8 @@
query instance($name: String) {
machines(name: $name) {
- id
- name
+ results {
+ id
+ name
+ }
}
}
diff --git a/packages/my-joy-instances/src/components/__tests__/__image_snapshots__/key-value-ui-js-key-value-submitting-1-snap.png b/packages/my-joy-instances/src/components/__tests__/__image_snapshots__/key-value-ui-js-key-value-submitting-1-snap.png
index c89d0af8..23d05a9e 100644
Binary files a/packages/my-joy-instances/src/components/__tests__/__image_snapshots__/key-value-ui-js-key-value-submitting-1-snap.png and b/packages/my-joy-instances/src/components/__tests__/__image_snapshots__/key-value-ui-js-key-value-submitting-1-snap.png differ
diff --git a/packages/my-joy-instances/src/components/cns.js b/packages/my-joy-instances/src/components/cns.js
index 88bda1a3..286a1f19 100644
--- a/packages/my-joy-instances/src/components/cns.js
+++ b/packages/my-joy-instances/src/components/cns.js
@@ -57,7 +57,10 @@ export const Footer = ({ enabled, submitting, onToggle }) => (
{enabled ? (
Please note: All hostnames listed here will be confirmed after deployment.
+ Please note: All hostnames listed here will be confirmed after
+ deployment.
+ {name} {network.public ? 'Public' : 'Private'} {fabric ? 'Fabric network' : 'Data center network'} {description} {network.public ? 'Public' : 'Private'}
- {fabric ? 'Fabric network' : 'Data center network'}
- Network information{name}
-
description
Private
@@ -1963,19 +1972,19 @@ Array [Fabric network
@@ -2002,31 +2011,165 @@ Array [+ 0 instances +
+Network information
@@ -2080,12 +2223,12 @@ Array [ name="card" >description2
Private
@@ -2201,19 +2348,19 @@ Array [Data center network
@@ -2547,14 +2694,14 @@ Array [ s added , - .c5 { + .c7 { color: rgba(73,73,73,1); line-height: 1.5rem; font-size: 0.9375rem; margin: 0; } -.c7 { +.c0 { box-sizing: border-box; display: -webkit-box; display: -webkit-flex; @@ -2573,34 +2720,44 @@ Array [ margin-left: -0.625rem; } -.c6 { +.c1 { + box-sizing: border-box; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + padding-right: 0.625rem; + padding-left: 0.625rem; + display: block; +} + +.c8 { background-color: rgb(216,216,216); margin: 0; height: 0.0625rem; } -.c11 { +.c12 { margin-right: 0.375rem; } -.c9 { +.c10 { margin-right: 1.5rem; } -.c0 { +.c2 { display: inline-block; margin-top: 1.125rem; margin-right: 1.125rem; } -.c4 { +.c6 { margin-top: 0.75rem; margin-right: 1.125rem; margin-bottom: 0.75rem; margin-left: 1.125rem; } -.c8 { +.c9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2620,7 +2777,7 @@ Array [ align-content: stretch; } -.c10 { +.c11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2644,7 +2801,7 @@ Array [ align-items: center; } -.c2 { +.c4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2667,7 +2824,7 @@ Array [ flex-direction: column; } -.c3 { +.c5 { -webkit-order: 0; -ms-flex-order: 0; order: 0; @@ -2684,7 +2841,7 @@ Array [ display: block; } -.c1 { +.c3 { display: inline-block; background-color: rgb(255,255,255); border: 0.0625rem solid rgb(216,216,216); @@ -2692,6 +2849,24 @@ Array [ min-width: 18.75rem; } +@media only screen and (min-width:0em) { + .c1 { + -webkit-flex-basis: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + max-width: 100%; + } +} + +@media only screen and (min-width:48em) { + .c1 { + -webkit-flex-basis: 66.66666666666667%; + -ms-flex-preferred-size: 66.66666666666667%; + flex-basis: 66.66666666666667%; + max-width: 66.66666666666667%; + } +} ++ name2 +
++ Private +
+- Private -
-+ Data center network +
+- Data center network -
-