-
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
Bump redux dependencies #53348
Bump redux dependencies #53348
Conversation
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.
LGTM. When the CI passes I will check our ES management apps that use redux and confirm that there are no regression. Thanks! 👍
💔 Build FailedHistory
To update your PR or re-run it, just comment with: |
@@ -25,7 +25,14 @@ interface ChildFunctionRendererOptions<RenderArgs extends {}> { | |||
export const asChildFunctionRenderer = <InjectedProps extends {}, OwnProps>( | |||
hoc: InferableComponentEnhancerWithProps<InjectedProps, OwnProps>, | |||
{ onInitialize, onCleanup }: ChildFunctionRendererOptions<InjectedProps> = {} | |||
) => | |||
): ConnectedComponent< |
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.
wasn't sure how to solve it in a better way, if someone has a better idea feel free to suggest or commit :)
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.
We are getting rid of redux for the infra plugin so I wouldn't dedicate a big effort here
Pinging @elastic/kibana-canvas (Team:Canvas) |
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.
LGTM
Would it be more prudent to target 7.x instead of 7.6, to give this time to shake out? |
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.
LGTM
…edux-7 # Conflicts: # package.json # packages/kbn-pm/dist/index.js # x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx # x-pack/legacy/plugins/infra/public/components/logging/log_time_controls.tsx # x-pack/legacy/plugins/siem/public/components/flyout/index.tsx # x-pack/legacy/plugins/siem/public/components/timeline/index.tsx # x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/index.tsx # x-pack/legacy/plugins/siem/public/containers/global_time/index.tsx # x-pack/legacy/plugins/siem/public/pages/detection_engine/components/signals/index.tsx # x-pack/package.json # yarn.lock
…edux-7 # Conflicts: # x-pack/legacy/plugins/uptime/public/components/connected/charts/ping_histogram.tsx
…edux-7 # Conflicts: # packages/kbn-pm/dist/index.js # x-pack/legacy/plugins/uptime/public/components/connected/charts/ping_histogram.tsx # x-pack/legacy/plugins/uptime/public/hooks/update_kuery_string.ts # yarn.lock
do you think we can merge it now @clintandrewhall? |
…edux-7 # Conflicts: # x-pack/legacy/plugins/siem/public/components/search_bar/index.tsx
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.
Canvas changes look good 👍
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.
Graph changes LGTM. Not pretty, but fine for now. Let's hope they fix it soon.
…edux-7 # Conflicts: # package.json # packages/kbn-pm/dist/index.js # x-pack/legacy/plugins/siem/public/components/events_viewer/index.tsx # x-pack/legacy/plugins/siem/public/components/search_bar/index.tsx # x-pack/legacy/plugins/siem/public/components/timeline/index.tsx # x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/index.tsx # x-pack/legacy/plugins/siem/public/components/timeline/timeline.tsx # x-pack/legacy/plugins/siem/public/pages/detection_engine/components/signals/index.tsx # x-pack/legacy/plugins/siem/public/pages/detection_engine/detection_engine.tsx # x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/details/index.tsx # x-pack/legacy/plugins/siem/public/pages/hosts/details/index.tsx # x-pack/legacy/plugins/siem/public/pages/hosts/details/types.ts # x-pack/legacy/plugins/siem/public/pages/hosts/types.ts # x-pack/legacy/plugins/siem/public/pages/network/ip_details/types.ts # x-pack/legacy/plugins/siem/public/pages/network/types.ts # x-pack/legacy/plugins/siem/public/pages/overview/overview.tsx # x-pack/legacy/plugins/uptime/public/components/functional/charts/__tests__/ping_histogram.test.tsx # yarn.lock
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
@@ -70,15 +70,17 @@ describe('field_manager', () => { | |||
store.dispatch = dispatchSpy; | |||
|
|||
instance = shallow( | |||
// https://github.com/airbnb/enzyme/issues/2176#issuecomment-532361526 |
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.
👍
@@ -35,6 +36,7 @@ export function FieldManagerComponent(props: { | |||
deselectField: (fieldName: string) => void; | |||
pickerOpen: boolean; | |||
setPickerOpen: (open: boolean) => void; | |||
store?: GraphStore; // only for testing purpose |
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.
I think it would be clearer if we also put enzymejs/enzyme#2176 (comment) here as a comment
…re/files-and-filetree * 'master' of github.com:elastic/kibana: (139 commits) Move Ace XJSON lexer-rules, worker and utils to es_ui_shared (elastic#57563) [Upgrade Assistant] Fix filter deprecations search filter (elastic#57541) [ML] New Platform server shim: update indices routes (elastic#57685) Bump redux dependencies (elastic#53348) [Index management] Client-side NP ready (elastic#57295) change id of x-pack event_log plugin to eventLog (elastic#57612) [eventLog] get kibana.index name from config instead of hard-coding it (elastic#57607) revert allow using any path to generate fixes ui titles (elastic#57535) Fix login redirect for expired sessions (elastic#57157) Expose Vis on the contract as it requires visTypes (elastic#56968) [SIEM][Detection Engine] Fixes queries to ignore errors when signals index is not present [Remote clusters] Migrate client-side code out of legacy (elastic#57365) Fix failed test reporter for SIEM Cypress use (elastic#57240) skip flaky suite (elastic#45244) update chromedriver to 80.0.1 (elastic#57602) change slack action to only report on whitelisted host name (elastic#57582) [kbn/optimizer] throw errors into stream on invalid completion (elastic#57735) moving visualize/utils to new platform (elastic#56650) ...
Summary
Bump
redux
dependencies and give us an access to Hooks 🎉ConnectedProps 💪
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers