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

[Feature Flags Example Plugin] Change ctx provider #201097

Merged

Conversation

afharo
Copy link
Member

@afharo afharo commented Nov 21, 2024

Summary

Simplifying the application.tsx of the Feature Flags Example Plugin

cc @gsoldevila

@afharo afharo added chore Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Nov 21, 2024
@afharo afharo requested a review from gsoldevila November 21, 2024 09:57
@afharo afharo self-assigned this Nov 21, 2024
@afharo afharo requested a review from a team as a code owner November 21, 2024 09:57
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

Copy link
Contributor

@gsoldevila gsoldevila left a comment

Choose a reason for hiding this comment

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

🚀

@afharo afharo enabled auto-merge (squash) November 21, 2024 09:58
@@ -59,8 +59,7 @@ export const FeatureFlagsExampleApp = ({ featureFlags }: FeatureFlagsExampleAppD
<h3>Rendered together</h3>
<p>
`useObservable` causes a full re-render of the component, updating the{' '}
<i>statically</i>
evaluated flags as well.
<i>statically</i> evaluated flags as well.
Copy link
Member Author

Choose a reason for hiding this comment

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

adding missing space after statically

@afharo afharo merged commit f026208 into elastic:main Nov 21, 2024
23 checks passed
@afharo afharo deleted the feature-flags-example/change-context-provider branch November 21, 2024 12:01
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11952772954

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

cc @afharo

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 201097

Questions ?

Please refer to the Backport tool documentation

gsoldevila pushed a commit to gsoldevila/kibana that referenced this pull request Nov 22, 2024
(cherry picked from commit f026208)

# Conflicts:
#	examples/feature_flags_example/public/components/app.tsx
#	examples/feature_flags_example/tsconfig.json
@gsoldevila
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
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Nov 22, 2024
gsoldevila added a commit that referenced this pull request Nov 22, 2024
…201356)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Feature Flags Example Plugin] Change ctx provider
(#201097)](#201097)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-21T12:01:02Z","message":"[Feature
Flags Example Plugin] Change ctx provider
(#201097)","sha":"f0262080c806077876604569f2e7fd8a7082cf00","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Core","release_note:skip","v9.0.0","backport:prev-minor"],"number":201097,"url":"https://github.com/elastic/kibana/pull/201097","mergeCommit":{"message":"[Feature
Flags Example Plugin] Change ctx provider
(#201097)","sha":"f0262080c806077876604569f2e7fd8a7082cf00"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201097","number":201097,"mergeCommit":{"message":"[Feature
Flags Example Plugin] Change ctx provider
(#201097)","sha":"f0262080c806077876604569f2e7fd8a7082cf00"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <[email protected]>
@kibanamachine kibanamachine added v8.18.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Nov 22, 2024
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this pull request Nov 26, 2024
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
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) chore release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants