Skip to content

Commit

Permalink
Update 7.6.0, remove console.log, fix EUI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johtani committed Feb 17, 2020
1 parent a75c276 commit 54d16c5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ This branch is for Kibana 7.x.
See [Getting Started](docs/GETTING_STARTED.md)

## Installation
The latest stable version is for kibana 7.5.2.
The latest stable version is for kibana 7.6.0.

| Kibana version | Command |
| ---------- | ------- |
| 7.6.0 | `./bin/kibana-plugin install https://github.com/johtani/analyze-api-ui-plugin/releases/download/7.6.0/analyze_api_ui-7.6.0.zip`
| 7.5.2 | `./bin/kibana-plugin install https://github.com/johtani/analyze-api-ui-plugin/releases/download/7.5.2/analyze_api_ui-7.5.2.zip`
| 7.5.1 | `./bin/kibana-plugin install https://github.com/johtani/analyze-api-ui-plugin/releases/download/7.5.1/analyze_api_ui-7.5.1.zip`
| 7.5.0 | `./bin/kibana-plugin install https://github.com/johtani/analyze-api-ui-plugin/releases/download/7.5.0/analyze_api_ui-7.5.0.zip`
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "analyze_api_ui",
"version": "7.5.2",
"version": "7.6.0",
"description": "UI for elasticsearch analyze API",
"main": "index.js",
"kibana": {
"version": "7.5.2",
"version": "7.6.0",
"templateVersion": "1.0.0"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions public/components/analyze_ui/analyze_ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export class AnalyzeUi extends Component {

selectTab = tab => {
const params = selectTab(tab, this.state.params);
console.log("in select tab function");
console.log(params);
//console.log("in select tab function");
//console.log(params);
this.updateParams(params);
this.clearResults();
this.clearErrors();
Expand Down
3 changes: 1 addition & 2 deletions public/services/params.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
export function updateParamsWithEvent(event, params){
const target = event.target;
const value = target.type === 'checkbox' ? target.checked : target.value;
const value = target.type === 'checkbox' || target.name === 'showAllTokenAttr' ? target.checked : target.value;
const name = target.name;

params[name] = value;
return params;
};
Expand Down
12 changes: 6 additions & 6 deletions public/services/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export function validateAnalyzeRequestValues(params) {
},
errors: {}
};
console.log("before validation");
console.log(params);
console.log("--------------");
// console.log("before validation");
// console.log(params);
// console.log("--------------");
if (validatedParams.requestParams.text.trim().length === 0) {
validatedParams.errors.textError= 'text should be not null!'

Expand Down Expand Up @@ -69,9 +69,9 @@ export function validateAnalyzeRequestValues(params) {
});
}

console.log("after validation");
console.log(validatedParams);
console.log("--------------");
//console.log("after validation");
//console.log(validatedParams);
//console.log("--------------");
return validatedParams;
};

Expand Down

0 comments on commit 54d16c5

Please sign in to comment.