diff --git a/consoles/my-joy-images/src/state/apollo-client.js b/consoles/my-joy-images/src/state/apollo-client.js
index b5260dfe..14b94237 100644
--- a/consoles/my-joy-images/src/state/apollo-client.js
+++ b/consoles/my-joy-images/src/state/apollo-client.js
@@ -2,6 +2,7 @@ import { ApolloClient } from 'apollo-client';
import { HttpLink } from 'apollo-link-http';
import { InMemoryCache } from 'apollo-cache-inmemory';
import fetch from 'cross-fetch';
+import get from 'lodash.get';
import global from './global';
@@ -14,7 +15,9 @@ const {
const PORT = REACT_APP_GQL_PORT ? `:${REACT_APP_GQL_PORT}` : '';
const URI = `${REACT_APP_GQL_PROTOCOL}://${REACT_APP_GQL_HOSTNAME}${PORT}/images/graphql`;
-export default (opts = {}) => {
+export default (opts = {}, request = {}) => {
+ const host = get(request, 'raw.req.headers.host', '');
+
let cache = new InMemoryCache();
if (global.__APOLLO_STATE__) {
@@ -24,7 +27,7 @@ export default (opts = {}) => {
return new ApolloClient({
cache,
link: new HttpLink({
- uri: URI,
+ uri: host ? `${REACT_APP_GQL_PROTOCOL}//${host}/images/graphql` : URI,
credentials: 'same-origin',
fetch,
headers: {
diff --git a/consoles/my-joy-images/src/state/global.js b/consoles/my-joy-images/src/state/global.js
index 39e3ae04..473dda67 100644
--- a/consoles/my-joy-images/src/state/global.js
+++ b/consoles/my-joy-images/src/state/global.js
@@ -1,8 +1,12 @@
import { canUseDOM } from 'exenv';
+import queryString from 'query-string';
-export default (() => {
+const { NODE_ENV = 'development' } = process.env;
+
+export const Global = () => {
if (!canUseDOM) {
return {
+ protocol: NODE_ENV === 'development' ? 'http:' : 'https:',
cookie: ''
};
}
@@ -11,10 +15,15 @@ export default (() => {
port: window.location.port,
protocol: window.location.protocol.replace(/:$/, ''),
hostname: window.location.hostname,
+ pathname: window.location.pathname,
origin: window.location.origin,
cookie: document.cookie || '',
+ search: window.location.search,
+ query: queryString.parse(window.location.search || ''),
__REDUX_DEVTOOLS_EXTENSION__: window.__REDUX_DEVTOOLS_EXTENSION__,
__APOLLO_STATE__: window.__APOLLO_STATE__,
__REDUX_STATE__: window.__REDUX_STATE__
};
-})();
+};
+
+export default Global();
diff --git a/consoles/my-joy-images/src/state/validators.js b/consoles/my-joy-images/src/state/validators.js
index 2c9124cd..3ff2c584 100644
--- a/consoles/my-joy-images/src/state/validators.js
+++ b/consoles/my-joy-images/src/state/validators.js
@@ -2,7 +2,7 @@ import intercept from 'apr-intercept';
import keys from 'lodash.keys';
import reduce from 'apr-reduce';
import assign from 'lodash.assign';
-import yup from 'yup';
+import * as yup from 'yup';
/*****************************************************************************/
diff --git a/consoles/my-joy-instances/package.json b/consoles/my-joy-instances/package.json
index 63a85b5c..b807343a 100644
--- a/consoles/my-joy-instances/package.json
+++ b/consoles/my-joy-instances/package.json
@@ -6,7 +6,7 @@
"repository": "github:yldio/joyent-portal",
"main": "lib/index.js",
"scripts": {
- "dev": "NAMESPACE=instances NODE_ENV=development REACT_APP_GQL_PORT=4000 PORT=3069 joyent-react-scripts start",
+ "dev": "REACT_APP_DEV=1 NAMESPACE=instances NODE_ENV=development REACT_APP_GQL_PORT=4000 PORT=3069 joyent-react-scripts start",
"build:test": "echo 0",
"build:lib": "echo 0",
"build:bundle": "NAMESPACE=instances NODE_ENV=production redrun -p build:frontend build:ssr",
@@ -18,26 +18,26 @@
},
"dependencies": {
"@manaflair/redux-batch": "^0.1.0",
- "apollo-cache-inmemory": "^1.1.12",
- "apollo-client": "^2.2.8",
- "apollo-link-http": "^1.5.3",
+ "apollo-cache-inmemory": "^1.2.2",
+ "apollo-client": "^2.3.2",
+ "apollo-link-http": "^1.5.4",
"apr-intercept": "^3.0.3",
"apr-reduce": "^3.0.3",
"boom": "^7.2.0",
"bytes": "^3.0.0",
"clipboard-copy": "^2.0.0",
- "cross-fetch": "^2.1.0",
+ "cross-fetch": "^2.2.0",
"date-fns": "^1.29.0",
"declarative-redux-form": "^2.0.8",
"exenv": "^1.2.2",
"fuse.js": "^3.2.0",
"hapi-render-react": "^2.5.2",
- "hapi-render-react-joyent-document": "^7.1.0",
+ "hapi-render-react-joyent-document": "^7.2.0",
"inert": "^5.1.0",
"joyent-logo-assets": "^1.1.0",
"joyent-ui-resource-step": "^1.0.0",
"joyent-manifest-editor": "^1.4.0",
- "joyent-react-styled-flexboxgrid": "^2.2.3",
+ "joyent-react-styled-flexboxgrid": "^3.1.0",
"joyent-ui-toolkit": "^6.0.0",
"lodash.find": "^4.6.0",
"lodash.findindex": "^4.6.0",
@@ -56,35 +56,36 @@
"lodash.some": "^4.6.0",
"lodash.sortby": "^4.7.0",
"lodash.values": "^4.3.0",
+ "mz": "^2.7.0",
"param-case": "^2.1.1",
"query-string": "^6.1.0",
- "react": "^16.3.1",
- "react-apollo": "^2.1.2",
- "react-dom": "^16.3.1",
- "react-helmet-async": "0.0.5",
+ "react": "^16.4.0",
+ "react-apollo": "^2.1.4",
+ "react-dom": "^16.4.0",
+ "react-helmet-async": "0.1.0",
"react-redux": "^5.0.7",
"react-redux-values": "^1.1.2",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
- "redux": "^3.7.2",
+ "redux": "^4.0.0",
"redux-form": "^7.3.0",
"remcalc": "^1.0.10",
- "styled-components": "^3.2.5",
- "styled-components-spacing": "^2.1.3",
+ "styled-components": "^3.3.0",
+ "styled-components-spacing": "^3.0.0",
"styled-flex-component": "^2.2.2",
"title-case": "^2.1.1",
- "yup": "^0.24.1"
+ "yup": "^0.25.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-joyent-portal": "^7.0.1",
"eslint": "^4.19.1",
"eslint-config-joyent-portal": "^3.3.1",
- "jest-image-snapshot": "^2.4.0",
+ "jest-image-snapshot": "^2.4.2",
"jest-styled-components": "^5.0.1",
- "joyent-react-scripts": "^8.2.0",
+ "joyent-react-scripts": "^8.2.1",
"react-screenshot-renderer": "^1.1.2",
- "react-test-renderer": "^16.3.1",
- "redrun": "^6.0.2"
+ "react-test-renderer": "^16.4.0",
+ "redrun": "^6.0.4"
}
}
diff --git a/consoles/my-joy-instances/src/components/instances/__tests__/__snapshots__/list.spec.js.snap b/consoles/my-joy-instances/src/components/instances/__tests__/__snapshots__/list.spec.js.snap
index 5326a2ea..a1e93cb6 100644
--- a/consoles/my-joy-instances/src/components/instances/__tests__/__snapshots__/list.spec.js.snap
+++ b/consoles/my-joy-instances/src/components/instances/__tests__/__snapshots__/list.spec.js.snap
@@ -245,7 +245,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 2rem;
display: table-cell;
@@ -400,7 +400,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 3.75rem;
display: table-cell;
@@ -989,7 +989,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 2rem;
display: table-cell;
@@ -1144,7 +1144,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 3.75rem;
display: table-cell;
@@ -1733,7 +1733,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 2rem;
display: table-cell;
@@ -1824,7 +1824,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 3.75rem;
display: table-cell;
@@ -2477,7 +2477,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 2rem;
display: table-cell;
@@ -2568,7 +2568,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 3.75rem;
display: table-cell;
@@ -3221,7 +3221,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 2rem;
display: table-cell;
@@ -3376,7 +3376,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 3.75rem;
display: table-cell;
@@ -3965,7 +3965,7 @@ exports[`renders {children} without throwing 1`] =
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 2rem;
display: table-cell;
@@ -4120,7 +4120,7 @@ exports[`renders {children} without throwing 1`] =
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
width: 3.75rem;
display: table-cell;
@@ -4509,17 +4509,17 @@ exports[`renders without throwing 1`] = `
font: inherit;
}
-.c12 {
+.c11 {
color: rgb(59,70,204);
-webkit-text-fill-color: currentcolor;
}
-.c12:hover {
+.c11:hover {
-webkit-text-decoration: none;
text-decoration: none;
}
-.c13 {
+.c12 {
width: 0.75rem;
height: 0.75rem;
border-radius: 50%;
@@ -4529,7 +4529,7 @@ exports[`renders without throwing 1`] = `
margin-left: 0rem;
}
-.c17 {
+.c16 {
cursor: pointer;
height: 100%;
width: 100%;
@@ -4547,34 +4547,6 @@ exports[`renders without throwing 1`] = `
align-items: center;
}
-.c19 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-flex-wrap: nowrap;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-content: stretch;
- -ms-flex-line-pack: stretch;
- align-content: stretch;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
.c7 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
@@ -4698,6 +4670,34 @@ exports[`renders without throwing 1`] = `
-webkit-padding-after: 0;
}
+.c18 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-flex-wrap: nowrap;
+ -ms-flex-wrap: nowrap;
+ flex-wrap: nowrap;
+ -webkit-box-pack: start;
+ -webkit-justify-content: flex-start;
+ -ms-flex-pack: start;
+ justify-content: flex-start;
+ -webkit-align-content: stretch;
+ -ms-flex-line-pack: stretch;
+ align-content: stretch;
+ -webkit-box-pack: center;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+
.c0 {
overflow: hidden;
border-spacing: 0;
@@ -4718,7 +4718,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
vertical-align: middle;
text-align: left;
@@ -4733,7 +4733,7 @@ exports[`renders without throwing 1`] = `
border-right-width: 0;
}
-.c10 {
+.c13 {
border-width: 0.0625rem;
border-style: solid;
border-color: rgb(216,216,216);
@@ -4742,16 +4742,18 @@ exports[`renders without throwing 1`] = `
box-sizing: border-box;
padding: 0 1.5rem;
height: 3.75rem;
+ width: 0rem;
+ display: none;
vertical-align: middle;
text-align: left;
border-bottom-width: 0;
}
-.c10:not(:first-child) {
+.c13:not(:first-child) {
border-left-width: 0;
}
-.c10:not(:last-child) {
+.c13:not(:last-child) {
border-right-width: 0;
}
@@ -4788,11 +4790,8 @@ exports[`renders without throwing 1`] = `
box-sizing: border-box;
padding: 0 1.5rem;
height: 3.75rem;
- width: 0rem;
- display: none;
- vertical-align: middle;
- text-align: left;
border-bottom-width: 0;
+ border-left-width: 0.0625rem !important;
}
.c15:not(:first-child) {
@@ -4803,27 +4802,6 @@ exports[`renders without throwing 1`] = `
border-right-width: 0;
}
-.c16 {
- border-width: 0.0625rem;
- border-style: solid;
- border-color: rgb(216,216,216);
- border-spacing: 0;
- white-space: nowrap;
- box-sizing: border-box;
- padding: 0 0rem;
- height: 3.75rem;
- border-bottom-width: 0;
- border-left-width: 0.0625rem !important;
-}
-
-.c16:not(:first-child) {
- border-left-width: 0;
-}
-
-.c16:not(:last-child) {
- border-right-width: 0;
-}
-
.c2 {
display: table-row;
color: rgb(73,73,73);
@@ -4840,7 +4818,7 @@ exports[`renders without throwing 1`] = `
border-bottom-width: 0.0625rem;
}
-.c11 {
+.c10 {
color: rgb(73,73,73);
-webkit-text-decoration: none;
text-decoration: none;
@@ -4852,19 +4830,19 @@ exports[`renders without throwing 1`] = `
display: block;
}
-.c18 {
+.c17 {
height: 100%;
}
@media only screen and (min-width:37.4375rem) {
- .c14 {
+ .c13 {
width: 10rem;
display: table-cell;
}
}
@media only screen and (min-width:37.4375rem) {
- .c15 {
+ .c14 {
width: 8.125rem;
display: table-cell;
}
@@ -4925,27 +4903,27 @@ exports[`renders without throwing 1`] = `
|
@@ -4954,7 +4932,7 @@ exports[`renders without throwing 1`] = `
|
| without throwing 1`] = `
almost NaN years
| without throwing 1`] = `
without throwing 1`] = `
tag="div"
>
without throwing 1`] = `
font: inherit;
}
-.c12 {
+.c11 {
color: rgb(59,70,204);
-webkit-text-fill-color: currentcolor;
}
-.c12:hover {
+.c11:hover {
-webkit-text-decoration: none;
text-decoration: none;
}
-.c13 {
+.c12 {
width: 0.75rem;
height: 0.75rem;
border-radius: 50%;
@@ -5078,7 +5056,7 @@ exports[`renders without throwing 1`] = `
margin-left: 0rem;
}
-.c17 {
+.c16 {
cursor: pointer;
height: 100%;
width: 100%;
@@ -5096,34 +5074,6 @@ exports[`renders without throwing 1`] = `
align-items: center;
}
-.c19 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-flex-wrap: nowrap;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-content: stretch;
- -ms-flex-line-pack: stretch;
- align-content: stretch;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
.c7 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
@@ -5247,6 +5197,34 @@ exports[`renders without throwing 1`] = `
-webkit-padding-after: 0;
}
+.c18 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-flex-wrap: nowrap;
+ -ms-flex-wrap: nowrap;
+ flex-wrap: nowrap;
+ -webkit-box-pack: start;
+ -webkit-justify-content: flex-start;
+ -ms-flex-pack: start;
+ justify-content: flex-start;
+ -webkit-align-content: stretch;
+ -ms-flex-line-pack: stretch;
+ align-content: stretch;
+ -webkit-box-pack: center;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+
.c0 {
overflow: hidden;
border-spacing: 0;
@@ -5267,7 +5245,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
vertical-align: middle;
text-align: left;
@@ -5282,7 +5260,7 @@ exports[`renders without throwing 1`] = `
border-right-width: 0;
}
-.c10 {
+.c13 {
border-width: 0.0625rem;
border-style: solid;
border-color: rgb(216,216,216);
@@ -5291,16 +5269,18 @@ exports[`renders without throwing 1`] = `
box-sizing: border-box;
padding: 0 1.5rem;
height: 3.75rem;
+ width: 0rem;
+ display: none;
vertical-align: middle;
text-align: left;
border-bottom-width: 0;
}
-.c10:not(:first-child) {
+.c13:not(:first-child) {
border-left-width: 0;
}
-.c10:not(:last-child) {
+.c13:not(:last-child) {
border-right-width: 0;
}
@@ -5337,11 +5317,8 @@ exports[`renders without throwing 1`] = `
box-sizing: border-box;
padding: 0 1.5rem;
height: 3.75rem;
- width: 0rem;
- display: none;
- vertical-align: middle;
- text-align: left;
border-bottom-width: 0;
+ border-left-width: 0.0625rem !important;
}
.c15:not(:first-child) {
@@ -5352,27 +5329,6 @@ exports[`renders without throwing 1`] = `
border-right-width: 0;
}
-.c16 {
- border-width: 0.0625rem;
- border-style: solid;
- border-color: rgb(216,216,216);
- border-spacing: 0;
- white-space: nowrap;
- box-sizing: border-box;
- padding: 0 0rem;
- height: 3.75rem;
- border-bottom-width: 0;
- border-left-width: 0.0625rem !important;
-}
-
-.c16:not(:first-child) {
- border-left-width: 0;
-}
-
-.c16:not(:last-child) {
- border-right-width: 0;
-}
-
.c2 {
display: table-row;
color: rgb(73,73,73);
@@ -5389,7 +5345,7 @@ exports[`renders without throwing 1`] = `
border-bottom-width: 0.0625rem;
}
-.c11 {
+.c10 {
color: rgb(73,73,73);
-webkit-text-decoration: none;
text-decoration: none;
@@ -5401,19 +5357,19 @@ exports[`renders without throwing 1`] = `
display: block;
}
-.c18 {
+.c17 {
height: 100%;
}
@media only screen and (min-width:37.4375rem) {
- .c14 {
+ .c13 {
width: 10rem;
display: table-cell;
}
}
@media only screen and (min-width:37.4375rem) {
- .c15 {
+ .c14 {
width: 8.125rem;
display: table-cell;
}
@@ -5474,14 +5430,14 @@ exports[`renders without throwing 1`] = `
|
@@ -5489,14 +5445,14 @@ exports[`renders without throwing 1`] = `
|
@@ -5505,7 +5461,7 @@ exports[`renders without throwing 1`] = `
|
| without throwing 1`] = `
almost NaN years
| without throwing 1`] = `
without throwing 1`] = `
tag="div"
>
without throwing 1`] = `
font: inherit;
}
-.c12 {
+.c11 {
color: rgb(59,70,204);
-webkit-text-fill-color: currentcolor;
}
-.c12:hover {
+.c11:hover {
-webkit-text-decoration: none;
text-decoration: none;
}
-.c13 {
+.c12 {
width: 0.75rem;
height: 0.75rem;
border-radius: 50%;
@@ -5629,7 +5585,7 @@ exports[`renders without throwing 1`] = `
margin-left: 0rem;
}
-.c17 {
+.c16 {
cursor: pointer;
height: 100%;
width: 100%;
@@ -5647,34 +5603,6 @@ exports[`renders without throwing 1`] = `
align-items: center;
}
-.c19 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-flex-wrap: nowrap;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-content: stretch;
- -ms-flex-line-pack: stretch;
- align-content: stretch;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
.c7 {
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
display: none;
@@ -5798,6 +5726,34 @@ exports[`renders without throwing 1`] = `
-webkit-padding-after: 0;
}
+.c18 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-flex-wrap: nowrap;
+ -ms-flex-wrap: nowrap;
+ flex-wrap: nowrap;
+ -webkit-box-pack: start;
+ -webkit-justify-content: flex-start;
+ -ms-flex-pack: start;
+ justify-content: flex-start;
+ -webkit-align-content: stretch;
+ -ms-flex-line-pack: stretch;
+ align-content: stretch;
+ -webkit-box-pack: center;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+
.c0 {
overflow: hidden;
border-spacing: 0;
@@ -5818,7 +5774,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
vertical-align: middle;
text-align: left;
@@ -5833,7 +5789,7 @@ exports[`renders without throwing 1`] = `
border-right-width: 0;
}
-.c10 {
+.c13 {
border-width: 0.0625rem;
border-style: solid;
border-color: rgb(216,216,216);
@@ -5842,16 +5798,18 @@ exports[`renders without throwing 1`] = `
box-sizing: border-box;
padding: 0 1.5rem;
height: 3.75rem;
+ width: 0rem;
+ display: none;
vertical-align: middle;
text-align: left;
border-bottom-width: 0;
}
-.c10:not(:first-child) {
+.c13:not(:first-child) {
border-left-width: 0;
}
-.c10:not(:last-child) {
+.c13:not(:last-child) {
border-right-width: 0;
}
@@ -5888,11 +5846,8 @@ exports[`renders without throwing 1`] = `
box-sizing: border-box;
padding: 0 1.5rem;
height: 3.75rem;
- width: 0rem;
- display: none;
- vertical-align: middle;
- text-align: left;
border-bottom-width: 0;
+ border-left-width: 0.0625rem !important;
}
.c15:not(:first-child) {
@@ -5903,27 +5858,6 @@ exports[`renders without throwing 1`] = `
border-right-width: 0;
}
-.c16 {
- border-width: 0.0625rem;
- border-style: solid;
- border-color: rgb(216,216,216);
- border-spacing: 0;
- white-space: nowrap;
- box-sizing: border-box;
- padding: 0 0rem;
- height: 3.75rem;
- border-bottom-width: 0;
- border-left-width: 0.0625rem !important;
-}
-
-.c16:not(:first-child) {
- border-left-width: 0;
-}
-
-.c16:not(:last-child) {
- border-right-width: 0;
-}
-
.c2 {
display: table-row;
color: rgb(73,73,73);
@@ -5940,7 +5874,7 @@ exports[`renders without throwing 1`] = `
border-bottom-width: 0.0625rem;
}
-.c11 {
+.c10 {
color: rgb(73,73,73);
-webkit-text-decoration: none;
text-decoration: none;
@@ -5952,19 +5886,19 @@ exports[`renders without throwing 1`] = `
display: block;
}
-.c18 {
+.c17 {
height: 100%;
}
@media only screen and (min-width:37.4375rem) {
- .c14 {
+ .c13 {
width: 10rem;
display: table-cell;
}
}
@media only screen and (min-width:37.4375rem) {
- .c15 {
+ .c14 {
width: 8.125rem;
display: table-cell;
}
@@ -6025,27 +5959,27 @@ exports[`renders without throwing 1`] = `
|
|
@@ -6054,7 +5988,7 @@ exports[`renders without throwing 1`] = `
|
| without throwing 1`] = `
almost NaN years
| without throwing 1`] = `
without throwing 1`] = `
tag="div"
>
without throwing 1`] = `
font: inherit;
}
-.c12 {
+.c11 {
color: rgb(59,70,204);
-webkit-text-fill-color: currentcolor;
}
-.c12:hover {
+.c11:hover {
-webkit-text-decoration: none;
text-decoration: none;
}
-.c14 {
+.c13 {
fill: rgb(59,70,204);
stroke: rgb(59,70,204);
-webkit-animation: iCqDak 1.5s ease-out 0s infinite;
animation: iCqDak 1.5s ease-out 0s infinite;
}
-.c15 {
+.c14 {
-webkit-animation-delay: 0.5s;
animation-delay: 0.5s;
}
-.c16 {
+.c15 {
-webkit-animation-delay: 1s;
animation-delay: 1s;
}
-.c13 {
+.c12 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -6356,7 +6290,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
vertical-align: middle;
text-align: left;
@@ -6371,7 +6305,7 @@ exports[`renders without throwing 1`] = `
border-right-width: 0;
}
-.c10 {
+.c16 {
border-width: 0.0625rem;
border-style: solid;
border-color: rgb(216,216,216);
@@ -6380,16 +6314,18 @@ exports[`renders without throwing 1`] = `
box-sizing: border-box;
padding: 0 1.5rem;
height: 3.75rem;
+ width: 0rem;
+ display: none;
vertical-align: middle;
text-align: left;
border-bottom-width: 0;
}
-.c10:not(:first-child) {
+.c16:not(:first-child) {
border-left-width: 0;
}
-.c10:not(:last-child) {
+.c16:not(:last-child) {
border-right-width: 0;
}
@@ -6426,11 +6362,10 @@ exports[`renders without throwing 1`] = `
box-sizing: border-box;
padding: 0 1.5rem;
height: 3.75rem;
- width: 0rem;
- display: none;
vertical-align: middle;
- text-align: left;
+ text-align: center;
border-bottom-width: 0;
+ border-left-width: 0.0625rem !important;
}
.c18:not(:first-child) {
@@ -6441,29 +6376,6 @@ exports[`renders without throwing 1`] = `
border-right-width: 0;
}
-.c19 {
- border-width: 0.0625rem;
- border-style: solid;
- border-color: rgb(216,216,216);
- border-spacing: 0;
- white-space: nowrap;
- box-sizing: border-box;
- padding: 0 0rem;
- height: 3.75rem;
- vertical-align: middle;
- text-align: center;
- border-bottom-width: 0;
- border-left-width: 0.0625rem !important;
-}
-
-.c19:not(:first-child) {
- border-left-width: 0;
-}
-
-.c19:not(:last-child) {
- border-right-width: 0;
-}
-
.c2 {
display: table-row;
color: rgb(73,73,73);
@@ -6480,7 +6392,7 @@ exports[`renders without throwing 1`] = `
border-bottom-width: 0.0625rem;
}
-.c11 {
+.c10 {
color: rgb(73,73,73);
-webkit-text-decoration: none;
text-decoration: none;
@@ -6493,14 +6405,14 @@ exports[`renders without throwing 1`] = `
}
@media only screen and (min-width:37.4375rem) {
- .c17 {
+ .c16 {
width: 10rem;
display: table-cell;
}
}
@media only screen and (min-width:37.4375rem) {
- .c18 {
+ .c17 {
width: 8.125rem;
display: table-cell;
}
@@ -6561,47 +6473,47 @@ exports[`renders without throwing 1`] = `
|
|
|
| without throwing 1`] = `
almost NaN years
| without throwing 1`] = `
|
|
@@ -1252,7 +1235,7 @@ exports[`renders without throwing 1`] = `
|
| without throwing 1`] = `
almost NaN years
without throwing 1`] = `
font: inherit;
}
-.c9 {
+.c8 {
width: 0.75rem;
height: 0.75rem;
border-radius: 50%;
@@ -1349,7 +1332,7 @@ exports[`renders without throwing 1`] = `
margin-left: 0rem;
}
-.c12 {
+.c11 {
cursor: pointer;
height: 100%;
width: 100%;
@@ -1497,7 +1480,7 @@ exports[`renders without throwing 1`] = `
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
vertical-align: middle;
text-align: left;
@@ -1512,29 +1495,7 @@ exports[`renders without throwing 1`] = `
border-right-width: 0;
}
-.c8 {
- border-width: 0.0625rem;
- border-style: solid;
- border-color: rgb(216,216,216);
- border-spacing: 0;
- white-space: nowrap;
- box-sizing: border-box;
- padding: 0 1.5rem;
- height: 3.75rem;
- vertical-align: middle;
- text-align: left;
- border-bottom-width: 0;
-}
-
-.c8:not(:first-child) {
- border-left-width: 0;
-}
-
-.c8:not(:last-child) {
- border-right-width: 0;
-}
-
-.c10 {
+.c9 {
border-width: 0.0625rem;
border-style: solid;
border-color: rgb(216,216,216);
@@ -1550,32 +1511,32 @@ exports[`renders without throwing 1`] = `
border-bottom-width: 0;
}
-.c10:not(:first-child) {
+.c9:not(:first-child) {
border-left-width: 0;
}
-.c10:not(:last-child) {
+.c9:not(:last-child) {
border-right-width: 0;
}
-.c11 {
+.c10 {
border-width: 0.0625rem;
border-style: solid;
border-color: rgb(216,216,216);
border-spacing: 0;
white-space: nowrap;
box-sizing: border-box;
- padding: 0 0rem;
+ padding: 0 1.5rem;
height: 3.75rem;
border-bottom-width: 0;
border-left-width: 0.0625rem !important;
}
-.c11:not(:first-child) {
+.c10:not(:first-child) {
border-left-width: 0;
}
-.c11:not(:last-child) {
+.c10:not(:last-child) {
border-right-width: 0;
}
@@ -1596,7 +1557,7 @@ exports[`renders without throwing 1`] = `
}
@media only screen and (min-width:37.4375rem) {
- .c10 {
+ .c9 {
width: 10rem;
display: table-cell;
}
@@ -1648,7 +1609,7 @@ exports[`renders without throwing 1`] = `
|
| without throwing 1`] = `
name
@@ -1670,7 +1631,7 @@ exports[`renders without throwing 1`] = `
Started
|
| without throwing 1`] = `
6 months
|
@@ -11021,14 +10973,14 @@ exports[`renders without throwing
|
@@ -11037,7 +10989,7 @@ exports[`renders without throwing
|
| without throwing
almost NaN years
| without throwing
without throwing
tag="div"
>
without throwing
|
@@ -11157,14 +11109,14 @@ exports[`renders without throwing
|
@@ -11173,7 +11125,7 @@ exports[`renders without throwing
|
| without throwing
almost NaN years
| without throwing
without throwing
tag="div"
>
without throwing
without throwing
selected={undefined}
>
Next
without throwing
without throwing
without throwing
type="button"
>
without throwing
query="only screen and (max-width: 37.4375rem)"
>
without throwing
without throwing
type="button"
>
without throwing
query="only screen and (max-width: 37.4375rem)"
>
without throwing
without throwing
without throwing
query="only screen and (min-width: 37.5rem)"
>
without throwing
type="button"
>
without throwing 1`] = `
background-color: transparent;
}
+.c6 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c11 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
.c5 {
display: -webkit-box;
display: -webkit-flex;
@@ -11919,31 +11896,6 @@ exports[`renders
without throwing 1`] = `
align-items: flex-end;
}
-.c6 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c11 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
.c10 {
box-sizing: border-box;
width: 18.75rem;
diff --git a/consoles/my-joy-instances/src/containers/instances/__tests__/__snapshots__/metadata.spec.js.snap b/consoles/my-joy-instances/src/containers/instances/__tests__/__snapshots__/metadata.spec.js.snap
index 53fc6ae9..bc515bce 100644
--- a/consoles/my-joy-instances/src/containers/instances/__tests__/__snapshots__/metadata.spec.js.snap
+++ b/consoles/my-joy-instances/src/containers/instances/__tests__/__snapshots__/metadata.spec.js.snap
@@ -194,6 +194,31 @@ exports[`renders without throwing 1`] = `
background-color: transparent;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -222,31 +247,6 @@ exports[`renders without throwing 1`] = `
align-items: flex-end;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -1139,6 +1139,44 @@ exports[`renders without throwing 1`] = `
color: inherit;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
+.c35 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ width: 100%;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -1195,44 +1233,6 @@ exports[`renders without throwing 1`] = `
align-items: center;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
-.c35 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- width: 100%;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -1995,6 +1995,31 @@ exports[`renders without throwing 1`] = `
background-color: transparent;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -2023,31 +2048,6 @@ exports[`renders without throwing 1`] = `
align-items: flex-end;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -2544,6 +2544,31 @@ exports[`renders without throwing 1`] = `
background-color: transparent;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -2572,31 +2597,6 @@ exports[`renders without throwing 1`] = `
align-items: flex-end;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -3710,6 +3710,44 @@ exports[`renders without throwing 1`] = `
color: inherit;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
+.c35 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ width: 100%;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -3766,44 +3804,6 @@ exports[`renders without throwing 1`] = `
align-items: center;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
-.c35 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- width: 100%;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
diff --git a/consoles/my-joy-instances/src/containers/instances/__tests__/__snapshots__/networks.spec.js.snap b/consoles/my-joy-instances/src/containers/instances/__tests__/__snapshots__/networks.spec.js.snap
index 9cd6b619..39dcdf46 100644
--- a/consoles/my-joy-instances/src/containers/instances/__tests__/__snapshots__/networks.spec.js.snap
+++ b/consoles/my-joy-instances/src/containers/instances/__tests__/__snapshots__/networks.spec.js.snap
@@ -246,9 +246,14 @@ exports[`renders without throwing 1`] = `
className="c12"
>
@@ -1642,6 +1647,11 @@ exports[`renders without throwing 1`] = `
>
without throwing 1`] = `
>
without throwi
>
without throwi
>
without throwing 1`] = `
background-color: transparent;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -222,31 +247,6 @@ exports[`renders without throwing 1`] = `
align-items: flex-end;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -1143,6 +1143,44 @@ exports[`renders without throwing 1`] = `
color: inherit;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
+.c31 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ width: 100%;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -1249,44 +1287,6 @@ exports[`renders without throwing 1`] = `
flex-basis: auto;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
-.c31 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- width: 100%;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -1941,6 +1941,31 @@ exports[`renders without throwing 1`] = `
background-color: transparent;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -1969,31 +1994,6 @@ exports[`renders without throwing 1`] = `
align-items: flex-end;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -2919,6 +2919,44 @@ exports[`renders without throwing 1`] = `
color: inherit;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
+.c33 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ width: 100%;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -3025,44 +3063,6 @@ exports[`renders without throwing 1`] = `
flex-basis: auto;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
-.c33 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- width: 100%;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -4348,6 +4348,44 @@ exports[`renders without throwing 1`] = `
color: inherit;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
+.c33 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ width: 100%;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -4454,44 +4492,6 @@ exports[`renders without throwing 1`] = `
flex-basis: auto;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
-.c33 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- width: 100%;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -5195,6 +5195,31 @@ exports[`renders without throwing 1`] = `
background-color: transparent;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -5223,31 +5248,6 @@ exports[`renders without throwing 1`] = `
align-items: flex-end;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -5684,6 +5684,31 @@ exports[`renders without throwing 1`] = `
background-color: transparent;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -5712,31 +5737,6 @@ exports[`renders without throwing 1`] = `
align-items: flex-end;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
@@ -6156,6 +6156,31 @@ exports[`renders without throwing 1`] = `
background-color: transparent;
}
+.c4 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+}
+
+.c9 {
+ display: inline-block;
+ padding: 0;
+ border: none;
+ overflow: hidden;
+ height: auto;
+ -webkit-padding-before: 0;
+ -webkit-padding-start: 0;
+ -webkit-padding-end: 0;
+ -webkit-padding-after: 0;
+ float: right;
+}
+
.c3 {
display: -webkit-box;
display: -webkit-flex;
@@ -6184,31 +6209,6 @@ exports[`renders without throwing 1`] = `
align-items: flex-end;
}
-.c4 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
-}
-
-.c9 {
- display: inline-block;
- padding: 0;
- border: none;
- overflow: hidden;
- height: auto;
- -webkit-padding-before: 0;
- -webkit-padding-start: 0;
- -webkit-padding-end: 0;
- -webkit-padding-after: 0;
- float: right;
-}
-
.c8 {
box-sizing: border-box;
width: 18.75rem;
diff --git a/consoles/my-joy-instances/src/containers/instances/cns.js b/consoles/my-joy-instances/src/containers/instances/cns.js
index b50be292..a9703ef4 100644
--- a/consoles/my-joy-instances/src/containers/instances/cns.js
+++ b/consoles/my-joy-instances/src/containers/instances/cns.js
@@ -61,10 +61,10 @@ const CnsContainer = ({
-
+
-
+
{loading ? : null}
{!loading && loadingError ? (
diff --git a/consoles/my-joy-instances/src/containers/instances/list.js b/consoles/my-joy-instances/src/containers/instances/list.js
index 12cf9769..b39a3eda 100644
--- a/consoles/my-joy-instances/src/containers/instances/list.js
+++ b/consoles/my-joy-instances/src/containers/instances/list.js
@@ -365,13 +365,13 @@ export default compose(
handleAction: async ({ selected, name }) => {
// eslint-disable-next-line no-alert
if (
- !(await Confirm(
+ !await Confirm(
`Do you want to ${name} ${
selected.length === 1
? `"${selected[0].name}"`
: `${selected.length} instances`
}`
- ))
+ )
) {
return;
}
diff --git a/consoles/my-joy-instances/src/containers/instances/metadata.js b/consoles/my-joy-instances/src/containers/instances/metadata.js
index ba0c6fee..d596c4ef 100644
--- a/consoles/my-joy-instances/src/containers/instances/metadata.js
+++ b/consoles/my-joy-instances/src/containers/instances/metadata.js
@@ -316,7 +316,7 @@ export default compose(
'initialValues.name'
);
- if (!(await Confirm(`Do you want to remove "${name}"?`))) {
+ if (!await Confirm(`Do you want to remove "${name}"?`)) {
return;
}
diff --git a/consoles/my-joy-instances/src/containers/instances/snapshots.js b/consoles/my-joy-instances/src/containers/instances/snapshots.js
index 0ba8bfe0..5ae9a577 100644
--- a/consoles/my-joy-instances/src/containers/instances/snapshots.js
+++ b/consoles/my-joy-instances/src/containers/instances/snapshots.js
@@ -349,13 +349,13 @@ export default compose(
handleAction: async ({ name, selected = [] }) => {
// eslint-disable-next-line no-alert
if (
- !(await Confirm(
+ !await Confirm(
`Do you want to ${name} ${
selected.length === 1
? `"${selected[0].name}"`
: `${selected.length} snapshots`
}`
- ))
+ )
) {
return;
}
diff --git a/consoles/my-joy-instances/src/containers/instances/summary.js b/consoles/my-joy-instances/src/containers/instances/summary.js
index 3ec322af..938b68e5 100644
--- a/consoles/my-joy-instances/src/containers/instances/summary.js
+++ b/consoles/my-joy-instances/src/containers/instances/summary.js
@@ -265,7 +265,7 @@ export default compose(
const { instance } = ownProps;
const { id } = instance;
- if (!(await Confirm(`Do you want to ${action} "${instance.name}"?`))) {
+ if (!await Confirm(`Do you want to ${action} "${instance.name}"?`)) {
return;
}
diff --git a/consoles/my-joy-instances/src/containers/instances/tags.js b/consoles/my-joy-instances/src/containers/instances/tags.js
index 61fc5de2..2ecc51ee 100644
--- a/consoles/my-joy-instances/src/containers/instances/tags.js
+++ b/consoles/my-joy-instances/src/containers/instances/tags.js
@@ -285,7 +285,7 @@ export default compose(
},
handleRemove: async (form, { name }) => {
// eslint-disable-next-line no-alert
- if (!(await Confirm(`Do you want to remove "${name}"?`))) {
+ if (!await Confirm(`Do you want to remove "${name}"?`)) {
return;
}
diff --git a/consoles/my-joy-instances/src/index.js b/consoles/my-joy-instances/src/index.js
index 0b1ebbd5..6b2670b6 100644
--- a/consoles/my-joy-instances/src/index.js
+++ b/consoles/my-joy-instances/src/index.js
@@ -8,8 +8,7 @@ import { BrowserRouter } from 'react-router-dom';
import isFunction from 'lodash.isfunction';
import isFinite from 'lodash.isfinite';
-import { theme } from 'joyent-ui-toolkit';
-
+import theme from '@state/theme';
import createStore from '@state/redux-store';
import createClient from '@state/apollo-client';
import App from './app';
diff --git a/consoles/my-joy-instances/src/routes.js b/consoles/my-joy-instances/src/routes.js
index 9729ad1c..a1c21c1c 100644
--- a/consoles/my-joy-instances/src/routes.js
+++ b/consoles/my-joy-instances/src/routes.js
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, { Fragment } from 'react';
import { Redirect, Route, Switch } from 'react-router-dom';
import get from 'lodash.get';
@@ -27,6 +27,8 @@ import {
UserScript as InstanceUserScript
} from '@containers/instances';
+const { REACT_APP_DEV = false } = process.env;
+
export default () => (
{/* Breadcrumb */}
@@ -102,6 +104,41 @@ export default () => (
} />
+ {REACT_APP_DEV ? (
+
+
+ window.location.replace(
+ `${window.location.protocol}//${window.location.hostname}:3070${
+ location.pathname
+ }${location.search}`
+ )
+ }
+ />
+
+ window.location.replace(
+ `${window.location.protocol}//${window.location.hostname}:3071${
+ location.pathname
+ }${location.search}`
+ )
+ }
+ />
+
+ window.location.replace(
+ `${window.location.protocol}//${window.location.hostname}:3072${
+ location.pathname
+ }${location.search}`
+ )
+ }
+ />
+
+ ) : null}
+
| |