-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Enhancement - EUICodeEditor for Visualize JSON #58679
Enhancement - EUICodeEditor for Visualize JSON #58679
Conversation
…ult json validation
…n/kibana into enhancement/jsonRawCodeEditor
…ch will be a false positive. Removed isValidJson from agg_types
Pinging @elastic/kibana-app (Team:KibanaApp) |
src/legacy/core_plugins/vis_default_editor/public/components/controls/raw_json.tsx
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the changes look great.
I left some comments.
src/legacy/core_plugins/vis_default_editor/public/components/controls/raw_json.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/vis_default_editor/public/components/controls/raw_json.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/vis_default_editor/public/components/controls/raw_json.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/vis_default_editor/public/components/controls/raw_json.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
with small comments
src/legacy/core_plugins/vis_default_editor/public/components/controls/raw_json.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/vis_default_editor/public/components/controls/raw_json.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/vis_default_editor/public/components/controls/raw_json.tsx
Show resolved
Hide resolved
src/legacy/core_plugins/vis_default_editor/public/components/controls/raw_json.tsx
Show resolved
Hide resolved
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
App arch code changes LGTM -- Thanks for taking the time to do this cleanup!
@@ -69,7 +69,6 @@ export { | |||
isStringType, | |||
isType, | |||
isValidInterval, | |||
isValidJson, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* master: Add a retry to dashboard test for a sometimes slow async operation (elastic#59600) [Endpoint] Sample data generator for endpoint app (elastic#58936) [Vis Editor] Refactoring metrics axes (elastic#59135) [DOCS] Changed Discover app to Discover (elastic#59769) [Metrics Alerts] Add support for search query and groupBy on alerts (elastic#59388) Enhancement - EUICodeEditor for Visualize JSON (elastic#58679) [ML] Transforms: Data grid fixes. (elastic#59538) [SIEM] Fix and consolidate handling of error responses in the client (elastic#59438) [Maps] convert tooltip classes to typescript (elastic#59589) [ML] Functional tests - re-activate date_nanos test (elastic#59649) Move canvas to use NP Expressions service (elastic#58387) Update misc dependencies (elastic#59542) [Unit Testing] Configure react-testing-library queries to use Kibana's data-test-subj instead of default data-testid (elastic#59445) [Console] Remove unused code (elastic#59554) [Logs / Metrics UI] Link handling / stop page reloads (elastic#58478) Add SavedObject management section registration in core (elastic#59291)
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Switched out the textfield in the advanced JSON editor for the EUI code editor component. removed legacy import isValidJson in favor of using Ace Editor's default json validation.
Can these failures be related to this PR? |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Switched out the textfield in the advanced JSON editor for the EUI code editor component. removed legacy import isValidJson in favor of using Ace Editor's default json validation. Co-authored-by: Elastic Machine <[email protected]>
Summary
Replaced the text area for the JSON input in the advanced section of the visualize editor. with the EUI code editor.
closes #56488
Checklist
Delete any items that are not applicable to this PR.
For maintainers