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

[Embeddable Rebuild] [Controls] Remove react_controls top-level folder #193451

Conversation

Heenawter
Copy link
Contributor

@Heenawter Heenawter commented Sep 19, 2024

Final part of #192005

Summary

This PR marks the "final" major cleanup step for the control group refactor. This one is the simplest and does two things:

  1. It removes the outer react_controls folder so that the new controls live directly under the public folder
  2. It moves the external_api folder under the control_group folder

Any files marked as "new" were not actually modified - this PR contains no logic changes. It only contains import changes due to the folder structure changing.

For maintainers

@Heenawter Heenawter added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) project:embeddableRebuild labels Sep 19, 2024
@Heenawter Heenawter self-assigned this Sep 19, 2024
@Heenawter Heenawter force-pushed the embeddableRebuild_controls-folder-restructure_2024-09-19 branch from 7c002ff to b0e0dff Compare September 19, 2024 19:31
@Heenawter Heenawter force-pushed the embeddableRebuild_controls-folder-restructure_2024-09-19 branch from dc6f90a to 544c623 Compare September 19, 2024 20:35
@Heenawter Heenawter marked this pull request as ready for review September 20, 2024 15:58
@Heenawter Heenawter requested review from a team as code owners September 20, 2024 15:58
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

Copy link
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

LGTM, How about renaming external_api folder to just control_group_renderer?
code review only

Copy link
Contributor

@ryankeairns ryankeairns left a comment

Choose a reason for hiding this comment

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

SCSS renames

@Heenawter Heenawter enabled auto-merge (squash) September 20, 2024 17:30
@kibana-ci
Copy link
Collaborator

💚 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
controls 455.7KB 455.7KB -4.0B

History

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

cc @Heenawter

@Heenawter Heenawter merged commit 574eb26 into elastic:main Sep 20, 2024
20 checks passed
@Heenawter Heenawter deleted the embeddableRebuild_controls-folder-restructure_2024-09-19 branch September 20, 2024 20:09
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 20, 2024
…der (elastic#193451)

Final part of elastic#192005

## Summary

This PR marks the "final" major cleanup step for the control group
refactor. This one is the simplest and does two things:
1. It removes the outer `react_controls` folder so that the new controls
live directly under the `public` folder
2. It moves the `external_api` folder under the `control_group` folder

Any files marked as "new" were not actually modified - this PR contains
**no** logic changes. It **only** contains import changes due to the
folder structure changing.

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit 574eb26)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Sep 20, 2024
…0; top-level folder (#193451) (#193635)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Embeddable Rebuild] [Controls] Remove `react_controls`
top-level folder
(#193451)](#193451)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Hannah
Mudge","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-20T20:08:18Z","message":"[Embeddable
Rebuild] [Controls] Remove `react_controls` top-level folder
(#193451)\n\nFinal part of
https://github.com/elastic/kibana/issues/192005\r\n\r\n##
Summary\r\n\r\nThis PR marks the \"final\" major cleanup step for the
control group\r\nrefactor. This one is the simplest and does two
things:\r\n1. It removes the outer `react_controls` folder so that the
new controls\r\nlive directly under the `public` folder\r\n2. It moves
the `external_api` folder under the `control_group` folder\r\n\r\nAny
files marked as \"new\" were not actually modified - this PR
contains\r\n**no** logic changes. It **only** contains import changes
due to the\r\nfolder structure changing.\r\n\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"574eb26cc70e36274384d82c36d9d6aa20ed7cc7","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","loe:small","release_note:skip","impact:medium","v9.0.0","backport:prev-minor","project:embeddableRebuild"],"title":"[Embeddable
Rebuild] [Controls] Remove `react_controls` top-level
folder","number":193451,"url":"https://github.com/elastic/kibana/pull/193451","mergeCommit":{"message":"[Embeddable
Rebuild] [Controls] Remove `react_controls` top-level folder
(#193451)\n\nFinal part of
https://github.com/elastic/kibana/issues/192005\r\n\r\n##
Summary\r\n\r\nThis PR marks the \"final\" major cleanup step for the
control group\r\nrefactor. This one is the simplest and does two
things:\r\n1. It removes the outer `react_controls` folder so that the
new controls\r\nlive directly under the `public` folder\r\n2. It moves
the `external_api` folder under the `control_group` folder\r\n\r\nAny
files marked as \"new\" were not actually modified - this PR
contains\r\n**no** logic changes. It **only** contains import changes
due to the\r\nfolder structure changing.\r\n\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"574eb26cc70e36274384d82c36d9d6aa20ed7cc7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193451","number":193451,"mergeCommit":{"message":"[Embeddable
Rebuild] [Controls] Remove `react_controls` top-level folder
(#193451)\n\nFinal part of
https://github.com/elastic/kibana/issues/192005\r\n\r\n##
Summary\r\n\r\nThis PR marks the \"final\" major cleanup step for the
control group\r\nrefactor. This one is the simplest and does two
things:\r\n1. It removes the outer `react_controls` folder so that the
new controls\r\nlive directly under the `public` folder\r\n2. It moves
the `external_api` folder under the `control_group` folder\r\n\r\nAny
files marked as \"new\" were not actually modified - this PR
contains\r\n**no** logic changes. It **only** contains import changes
due to the\r\nfolder structure changing.\r\n\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"574eb26cc70e36274384d82c36d9d6aa20ed7cc7"}}]}]
BACKPORT-->

Co-authored-by: Hannah Mudge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort project:embeddableRebuild release_note:skip Skip the PR/issue when compiling release notes Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants