diff --git a/console/src/components/ApiExplorer/ApiExplorer.scss b/console/src/components/ApiExplorer/ApiExplorer.scss index 0e6cef0af1e09..c352724c6d5b6 100644 --- a/console/src/components/ApiExplorer/ApiExplorer.scss +++ b/console/src/components/ApiExplorer/ApiExplorer.scss @@ -39,7 +39,6 @@ } .cursorNotAllowed { cursor: not-allowed; - pointer-events: none; } .apiExplorerWrapper { diff --git a/console/src/components/ApiExplorer/state.js b/console/src/components/ApiExplorer/state.js index 1b3e541d95cef..f6f47b46cb623 100644 --- a/console/src/components/ApiExplorer/state.js +++ b/console/src/components/ApiExplorer/state.js @@ -27,7 +27,7 @@ dataApisContent.push({ details: { title: 'GraphQL API', description: - 'GraphQL API for CRUD operations on tables/views in your database', + 'GraphQL API for CRUD operations on tables & views in your database', category: 'data', }, request: { diff --git a/console/src/components/Common/Common.scss b/console/src/components/Common/Common.scss index 0fc4e493634ca..dafeddc9795b6 100644 --- a/console/src/components/Common/Common.scss +++ b/console/src/components/Common/Common.scss @@ -380,6 +380,10 @@ input { { padding-left: 5px; } +.padd_small_right +{ + padding-right: 5px; +} .border_bottom { border-bottom: 1px solid #e7e7e7; @@ -495,6 +499,10 @@ code { -webkit-padding-start: 15px; } +.add_pad_bottom +{ + padding-bottom: 20px; +} .add_padd_bottom { padding-bottom: 25px; @@ -985,6 +993,7 @@ code .graphQLHeight { height: 100vh; + margin-bottom: 50px; } /* container height subtracting top header and bottom scroll bar */ diff --git a/console/src/components/Main/Main.js b/console/src/components/Main/Main.js index 1fadf56592007..c9bce55ebe0be 100644 --- a/console/src/components/Main/Main.js +++ b/console/src/components/Main/Main.js @@ -31,11 +31,18 @@ const Main = ({ children, location, migrationModeProgress, currentSchema }) => { let accessKeyHtml = null; if (globals.accessKey === '' || globals.accessKey === null) { accessKeyHtml = ( - - - + + + + + ); } @@ -75,7 +82,7 @@ const Main = ({ children, location, migrationModeProgress, currentSchema }) => { aria-hidden="true" /> -

API Explorer

+

GraphiQL

diff --git a/console/src/components/Main/Tooltips.js b/console/src/components/Main/Tooltips.js index b966098f9f345..52ad4373c430f 100644 --- a/console/src/components/Main/Tooltips.js +++ b/console/src/components/Main/Tooltips.js @@ -6,5 +6,11 @@ export const data = ( ); export const apiexplorer = ( - Test the Hasura APIs + Test the GraphQL APIs +); + +export const secureEndpoint = ( + + This graphql endpoint is public and you should add an access key + ); diff --git a/console/src/components/Services/Data/Add/AddTable.js b/console/src/components/Services/Data/Add/AddTable.js index 564701fb818ee..c68b300f19de5 100644 --- a/console/src/components/Services/Data/Add/AddTable.js +++ b/console/src/components/Services/Data/Add/AddTable.js @@ -456,16 +456,7 @@ class AddTable extends Component {
-

- Table name:     - -