-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Feature Flags Example Plugin] Change ctx provider #201097
Conversation
Pinging @elastic/kibana-core (Team:Core) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
@@ -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. |
There was a problem hiding this comment.
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
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11952772954 |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
cc @afharo |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit f026208) # Conflicts: # examples/feature_flags_example/public/components/app.tsx # examples/feature_flags_example/tsconfig.json
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
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. |
…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]>
Summary
Simplifying the
application.tsx
of the Feature Flags Example Plugincc @gsoldevila