-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Vis: Default editor] Reactify the timelion editor #52990
[Vis: Default editor] Reactify the timelion editor #52990
Conversation
@elasticmachine merge upstream |
…ibana into EUIfication/options/timelion
Pinging @elastic/kibana-app (Team:KibanaApp) |
…ns/timelion # Conflicts: # src/legacy/core_plugins/timelion/server/types.ts
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.
Looks pretty good already, left some minor comments
src/legacy/core_plugins/timelion/public/components/timelion_expression_input.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/timelion/public/components/timelion_interval.tsx
Show resolved
Hide resolved
src/legacy/core_plugins/timelion/public/components/timelion_interval.tsx
Show resolved
Hide resolved
src/legacy/core_plugins/timelion/public/vis/_timelion_editor.scss
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.
Code owner changes (settings languageConfiguration
on code_editor
) seem OK.
Didn't checkout locally.
src/legacy/core_plugins/timelion/public/components/timelion_expression_input.tsx
Outdated
Show resolved
Hide resolved
The |
💔 Build FailedHistory
To update your PR or re-run it, just comment with: |
💔 Build Failed
To update your PR or re-run it, just comment with: |
051f43b
to
1a2d283
Compare
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.
Code LGMT, @alexwizp s comment about the PEG file is definitely valid, but I don't consider it a blocker for this PR. If this is easy to add we should probably do it, but I'm fine with doing it in a separate PR.
…ns/timelion # Conflicts: # renovate.json5
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, tested locally.
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.
Pushed a couple SASS scheme fixes. Thanks for addressing those other issues.
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* Reactify timelion editor * Change translation ids * Add @types/pegjs into renovate.json5 * Add validation, add hover suggestions * Style fixes * Change plugin setup, use kibana context * Change plugin start * Mock services * Fix other comments * Build renovate config * Fix some classnames and SASS file structure Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Caroline Horn <[email protected]> # Conflicts: # renovate.json5
* master: (23 commits) [Vis: Default editor] Reactify the timelion editor (elastic#52990) [Discover] fix histogram min interval (elastic#53979) [Telemetry] [Monitoring] Only retry fetching usage once monito… (elastic#54309) [docs][APM] Add runtime index config documentation (elastic#53907) [SIEM] Detection engine timeline (elastic#53783) Filter scripted fields preview field list to source fields (elastic#53826) Management - New platform api (elastic#52579) Reset region and Account when switching inventory (elastic#54287) [SIEM] [Case] Case workflow api schema (elastic#51535) Code coverage setup on CI (elastic#49003) [ML] DF Analytics Results: adds link to docs (elastic#54189) Update schemas boolean, byteSize, and duration to coerce strings (elastic#54177) [Metrics UI] Pass relevant shouldAllowEdit capabilities into SettingsPage (elastic#49781) [Canvas] Fixes bugs with autoplay and refresh (elastic#53149) [ML] DF Analytics Classification: ensure confusion matrix can be fetched (elastic#53629) Fix Vega react eslint errors (elastic#54259) Remove non existing codeowners (elastic#54274) use correct type (elastic#54244) [Dashboard] Removing 100% as dshDashboardViewport height (elastic#54263) add `examples/` to no-restricted-path config (elastic#54252) ...
* Reactify timelion editor * Change translation ids * Add @types/pegjs into renovate.json5 * Add validation, add hover suggestions * Style fixes * Change plugin setup, use kibana context * Change plugin start * Mock services * Fix other comments * Build renovate config * Fix some classnames and SASS file structure Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Caroline Horn <[email protected]> # Conflicts: # renovate.json5
Summary
Convert the Timelion vis editor to React/Typescript.
The PR includes:
CodeEditor
based onMonaco
editor API;pegjs
parser;Interval
input (empty field restricted);Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers