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

Bump redux dependencies #53348

Merged
merged 31 commits into from
Feb 17, 2020

Conversation

patrykkopycinski
Copy link
Contributor

@patrykkopycinski patrykkopycinski commented Dec 17, 2019

Summary

Bump redux dependencies and give us an access to Hooks 🎉

ConnectedProps 💪

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@patrykkopycinski patrykkopycinski self-assigned this Dec 17, 2019
@patrykkopycinski patrykkopycinski requested review from spalger and sebelga and removed request for spalger December 17, 2019 22:26
@patrykkopycinski patrykkopycinski added release_note:skip Skip the PR/issue when compiling release notes v7.6.0 v8.0.0 labels Dec 17, 2019
Copy link
Contributor

@sebelga sebelga left a 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! 👍

@kibanamachine
Copy link
Contributor

💔 Build Failed

History

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

@elastic elastic deleted a comment from elasticmachine Dec 22, 2019
@patrykkopycinski patrykkopycinski requested a review from a team December 22, 2019 13:24
@@ -25,7 +25,14 @@ interface ChildFunctionRendererOptions<RenderArgs extends {}> {
export const asChildFunctionRenderer = <InjectedProps extends {}, OwnProps>(
hoc: InferableComponentEnhancerWithProps<InjectedProps, OwnProps>,
{ onInitialize, onCleanup }: ChildFunctionRendererOptions<InjectedProps> = {}
) =>
): ConnectedComponent<
Copy link
Contributor Author

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 :)

Copy link
Contributor

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

@patrykkopycinski patrykkopycinski added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Dec 22, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas (Team:Canvas)

@patrykkopycinski patrykkopycinski removed the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Dec 22, 2019
Copy link
Contributor

@darnautov darnautov left a comment

Choose a reason for hiding this comment

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

LGTM

@clintandrewhall
Copy link
Contributor

Would it be more prudent to target 7.x instead of 7.6, to give this time to shake out?

Copy link
Contributor

@spalger spalger left a 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
@patrykkopycinski
Copy link
Contributor Author

do you think we can merge it now @clintandrewhall?

…edux-7

# Conflicts:
#	x-pack/legacy/plugins/siem/public/components/search_bar/index.tsx
Copy link
Contributor

@crob611 crob611 left a 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 👍

Copy link
Contributor

@flash1293 flash1293 left a 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
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@@ -70,15 +70,17 @@ describe('field_manager', () => {
store.dispatch = dispatchSpy;

instance = shallow(
// https://github.com/airbnb/enzyme/issues/2176#issuecomment-532361526
Copy link
Contributor

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
Copy link
Contributor

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

@patrykkopycinski patrykkopycinski merged commit f4d29ab into elastic:master Feb 17, 2020
@patrykkopycinski patrykkopycinski deleted the chore/react-redux-7 branch February 17, 2020 08:59
patrykkopycinski added a commit to patrykkopycinski/kibana that referenced this pull request Feb 17, 2020
jloleysens added a commit to jloleysens/kibana that referenced this pull request Feb 17, 2020
…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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.