Skip to content

[timelion] Move grammar to package#111881

Merged
jbudz merged 5 commits intoelastic:masterfrom
jbudz:bazel/timelion-grammar
Sep 16, 2021
Merged

[timelion] Move grammar to package#111881
jbudz merged 5 commits intoelastic:masterfrom
jbudz:bazel/timelion-grammar

Conversation

@jbudz
Copy link
Copy Markdown
Contributor

@jbudz jbudz commented Sep 10, 2021

This moves the timelion grammar to a Bazel packages. Generation is
managed by Bazel, and the output no longer needs to be committed.
Updates can be re-processed by yarn kbn build or yarn kbn watch.

Related to #85341
Closes #17284

This moves the timelion grammar to a Bazel packages.  Generation is
managed by Bazel, and the output no longer needs to be committed.
Updates can be re-processed by `yarn kbn build` or `yarn kbn watch`.

Related to elastic#85341
Closes elastic#17284
@jbudz jbudz added Team:Operations Kibana-Operations Team Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.0.0 release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v7.16.0 labels Sep 10, 2021
@jbudz jbudz mentioned this pull request Sep 10, 2021
@jbudz jbudz marked this pull request as ready for review September 10, 2021 18:50
@jbudz jbudz requested a review from a team as a code owner September 10, 2021 18:50
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

@jbudz
Copy link
Copy Markdown
Contributor Author

jbudz commented Sep 10, 2021

@elastic/kibana-vis-editors this moves grammar generation from pegjs 0.9 to peggy 1.2. I did cursory manual testing, but I'm not sure how far our test coverage extends. If there's any more complicated tests that you're able to validate it would be appreciated.

@stratoula
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@VladLasitsa VladLasitsa left a comment

Choose a reason for hiding this comment

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

GTM, tested locally in chrome, didn't find any issue.

Copy link
Copy Markdown
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

Thanx for doing this! Code LGTM. I tested it locally on Safari and everything seems to work fine!

@jbudz jbudz requested a review from a team September 15, 2021 21:58
@jbudz jbudz enabled auto-merge (squash) September 15, 2021 22:03
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
visTypeTimelion 145.9KB 144.1KB -1.8KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jbudz jbudz merged commit 17a4186 into elastic:master Sep 16, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Backport failed

Status Branch Result
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 111881

jbudz added a commit to jbudz/kibana that referenced this pull request Sep 16, 2021
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
jbudz added a commit that referenced this pull request Sep 16, 2021
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@mbondyra mbondyra added the Feature:Timelion Timelion app and visualization label Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed Feature:Timelion Timelion app and visualization release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.16.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tie peg parser generation into the dev server optimization

7 participants