-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cluster Manager UI & Query Console UI revamp (#5684)
* Cluster Manager & Query Console UI revamp * removed testQuery since we no longer have a static query page to test with * fixed sql editor cursor issue & added licenses of all dependencies & dev-dependencies * fixed showing both dimensionFieldSpecs & metricFieldSpecs in column list * adding dateTimeFieldSpecs to show in column list * Adding table details page and fixed breadcrumb to be dynamic * added missing apache license in newly added file * hiding cluster manager from UI and fixing typo
- Loading branch information
1 parent
ff7af4a
commit ffbc8c3
Showing
139 changed files
with
2,995 additions
and
57,810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/preset-typescript", | ||
"@babel/preset-react" | ||
], | ||
"plugins": [ | ||
"@babel/proposal-class-properties", | ||
"@babel/proposal-object-rest-spread", | ||
"transform-es2015-modules-commonjs" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"plugins": ["prettier", "@typescript-eslint"], | ||
"extends": ["airbnb-typescript", "react-app", "prettier"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"typescript": { | ||
"alwaysTryTypes": true | ||
} | ||
} | ||
}, | ||
"rules": { | ||
"object-curly-spacing": ["warn", "always"], | ||
"no-unused-vars": [ | ||
"warn", | ||
{ | ||
"vars": "all", | ||
"args": "none" | ||
} | ||
], | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ | ||
"vars": "all", | ||
"args": "none" | ||
} | ||
], | ||
"max-len": [ | ||
"warn", | ||
{ | ||
"code": 120, | ||
"ignoreStrings": true, | ||
"ignoreTemplateLiterals": true, | ||
"ignoreComments": true | ||
} | ||
], | ||
"no-plusplus": [ | ||
"error", | ||
{ | ||
"allowForLoopAfterthoughts": true | ||
} | ||
], | ||
"func-names": "off", | ||
"no-param-reassign": "off", | ||
"react/no-array-index-key": "off", | ||
"react/jsx-key": "error", | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"devDependencies": [ | ||
"**/*.test.js", | ||
"**/*.test.jsx", | ||
"**/*.test.ts", | ||
"**/*.test.tsx", | ||
"src/tests/**/*" | ||
] | ||
} | ||
], | ||
"react/jsx-props-no-spreading": "off", | ||
"import/prefer-default-export": "off", | ||
"react/jsx-boolean-value": "off", | ||
"react/prop-types": "off", | ||
"react/no-unescaped-entities": "off", | ||
"react/jsx-one-expression-per-line": "off", | ||
"react/jsx-wrap-multilines": "off", | ||
"react/destructuring-assignment": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"printWidth": 80, | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"tabWidth": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/** | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
import * as React from 'react'; | ||
import * as ReactDOM from 'react-dom'; | ||
import { MuiThemeProvider } from '@material-ui/core'; | ||
import { Switch, Route, HashRouter as Router } from 'react-router-dom'; | ||
import theme from './theme'; | ||
import Layout from './components/Layout'; | ||
import RouterData from './router'; | ||
|
||
const App = () => ( | ||
<MuiThemeProvider theme={theme}> | ||
<Router> | ||
<Switch> | ||
{RouterData.map(({ path, Component }, key) => ( | ||
<Route | ||
exact | ||
path={path} | ||
key={key} | ||
render={props => { | ||
return ( | ||
<div className="p-8"> | ||
<Layout {...props}> | ||
<Component {...props} /> | ||
</Layout> | ||
</div> | ||
); | ||
}} | ||
/> | ||
))} | ||
</Switch> | ||
</Router> | ||
</MuiThemeProvider> | ||
); | ||
|
||
ReactDOM.render(<App />, document.getElementById('app')); |
Oops, something went wrong.