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

[Canvas] XY. Step 4. Update handlers. #112564

Closed
wants to merge 115 commits into from

Conversation

Kuznietsov
Copy link
Contributor

@Kuznietsov Kuznietsov commented Sep 20, 2021

Completes part of #110430, #101377.

Need to update the code, based on @ppisljar's instructions, written at this issue.

Step 4. XY. Update handlers. completed.


Further steps have been performed at this PR:

  • added method updateVariables to the handlers at expressions plugin;
  • added handling the change of handlers.variables at expressions plugin;
  • uiState.set has been changed to updateVariables;
  • replaced handlers.uiState with handlers.variables.

@Kuznietsov
Copy link
Contributor Author

@elasticmachine merge upstream

@Kuznietsov Kuznietsov self-assigned this Sep 27, 2021
@Kuznietsov
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
expressionXy - 79 +79
visTypeVislib 192 196 +4
visTypeXy 99 38 -61
total +22

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
data 2800 2802 +2
expressions 1626 1638 +12
expressionXy - 453 +453
visTypeVislib 25 72 +47
visTypeXy 51 9 -42
visualizations 257 260 +3
total +475

Any counts in public APIs

Total count of every any typed public API. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats any for more detailed information.

id before after diff
expressions 65 64 -1

Async chunks

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

id before after diff
expressionXy - 23.7KB +23.7KB
visTypeVislib 376.8KB 376.8KB -4.0B
visTypeXy 62.5KB 32.8KB -29.7KB
visualizations 72.0KB 72.4KB +387.0B
total -5.6KB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
visTypeVislib 1 8 +7
visTypeXy 5 1 -4
total +3

Page load bundle

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

id before after diff
data 492.6KB 492.6KB +27.0B
expressions 128.3KB 128.8KB +544.0B
expressionXy - 41.1KB +41.1KB
visTypeVislib 19.6KB 20.6KB +1016.0B
visTypeXy 40.9KB 23.2KB -17.8KB
visualizations 32.9KB 33.0KB +138.0B
total +25.0KB
Unknown metric groups

API count

id before after diff
data 3186 3188 +2
expressions 2072 2084 +12
expressionXy - 468 +468
visTypeVislib 26 74 +48
visTypeXy 57 9 -48
visualizations 275 278 +3
total +485

async chunk count

id before after diff
expressionXy - 1 +1
visTypeXy 3 2 -1
total -0

References to deprecated APIs

id before after diff
expressionXy - 3 +3
visTypeXy 6 0 -6
total -3

History

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

cc @Kunzetsov

@ppisljar
Copy link
Member

seems this PR is also moving a lot of code. can we split this up in a few pieces so its easier to review ?

  1. move all the files
  2. isolate large changes in specific prs (like removing uiState)
  3. do the rest in the last pr

@Kuznietsov
Copy link
Contributor Author

seems this PR is also moving a lot of code. can we split this up in a few pieces so its easier to review ?

  1. move all the files
  2. isolate large changes in specific prs (like removing uiState)
  3. do the rest in the last pr

Answered at the private conversation.

@Kuznietsov Kuznietsov closed this May 10, 2022
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.

3 participants