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

Make onChange in CodeEditor optional #107128

Merged
merged 2 commits into from
Jul 29, 2021

Conversation

timroes
Copy link
Contributor

@timroes timroes commented Jul 29, 2021

Summary

Makes the onChange property of CodeEditor optional, since it isn't required by Monaco and in a lot of places we use it in readOnly mode we currently need to pass in an noop function.

Checklist

Delete any items that are not applicable to this PR.

@timroes timroes changed the title Make onChang in CodeEditor optional Make onChange in CodeEditor optional Jul 29, 2021
@kibanamachine
Copy link
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
dataEnhanced 76.7KB 76.6KB -16.0B
fileUpload 787.4KB 787.4KB -16.0B
inspector 17.9KB 17.9KB -16.0B
visTypeVega 2.4MB 2.4MB -16.0B
total -64.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
discover 93.5KB 93.4KB -16.0B
Unknown metric groups

API count

id before after diff
kibanaReact 260 258 -2

API count missing comments

id before after diff
kibanaReact 230 228 -2

History

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

@timroes timroes added auto-backport Deprecated - use backport:version if exact versions are needed chore release_note:skip Skip the PR/issue when compiling release notes Team:AppServices v7.15.0 v8.0.0 labels Jul 29, 2021
@timroes timroes marked this pull request as ready for review July 29, 2021 12:05
@timroes timroes requested a review from a team July 29, 2021 12:05
@timroes timroes requested review from a team as code owners July 29, 2021 12:05
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

Edit for file_upload plugin LGTM

Copy link
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.

Kibana App code changes LGTM, tested it locally in Chrome

Copy link
Contributor

@ThomThomson ThomThomson left a comment

Choose a reason for hiding this comment

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

Presentation team changes LGTM! Code only revieew

@timroes timroes merged commit ff3029f into elastic:master Jul 29, 2021
@kibanamachine
Copy link
Contributor

💔 Backport failed

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

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

timroes pushed a commit to timroes/kibana that referenced this pull request Jul 29, 2021
* Make onChang in CodeEditor optional

* Update api docs
# Conflicts:
#	api_docs/kibana_react.mdx
timroes pushed a commit that referenced this pull request Jul 29, 2021
* Make onChang in CodeEditor optional

* Update api docs
# Conflicts:
#	api_docs/kibana_react.mdx
streamich pushed a commit to vadimkibana/kibana that referenced this pull request Aug 8, 2021
* Make onChang in CodeEditor optional

* Update api docs
@timroes timroes deleted the code-editor/on-change branch September 7, 2021 08:11
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 chore release_note:skip Skip the PR/issue when compiling release notes v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants