Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ElasticSearch queries #2088

Merged
merged 87 commits into from
Mar 10, 2021
Merged

ElasticSearch queries #2088

merged 87 commits into from
Mar 10, 2021

Conversation

fiskus
Copy link
Member

@fiskus fiskus commented Mar 3, 2021

Description

Depends on #2087

  • User can select query from the list
  • User can edit query
  • Query is validated by JSON Schema

Screenshot from 2021-03-04 19-16-20

TODO

  • Unit tests
  • Documentation
    • JavaScript: basic explanation and screenshot of new features
  • Changelog entry

@@ -79,6 +80,7 @@
"invariant": "^2.2.4",
"ip": "^1.1.5",
"js-yaml": "^3.14.1",
"jsoneditor-react": "^3.1.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,3 @@
.jsoneditor.jsoneditor {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw this can be scoped to the actual component requiring these overrides just by adding smth like this to the relevant makeStyles call:

root: {
  '& .jsoneditor': {
    ...overrides
  }
}

@fiskus fiskus marked this pull request as ready for review March 10, 2021 12:28
@fiskus
Copy link
Member Author

fiskus commented Mar 10, 2021

I've stuck with unit-tests here, just added the simplest unit-test for React Component

Also, I want to add Documentation in the next PR.

@fiskus fiskus merged commit 1eed9cc into master Mar 10, 2021
@fiskus fiskus deleted the es-queries-run-async-result branch March 10, 2021 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants