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

Fix reactRouterNavigate when used with a string #80520

Merged
merged 4 commits into from
Oct 20, 2020

Conversation

yuliacech
Copy link
Contributor

Summary

Fixes #80373.
This PR updates reactRouterNavigate function to parse the url string before using it as a LocationObject.

@yuliacech yuliacech requested a review from a team as a code owner October 14, 2020 13:59
@yuliacech yuliacech requested a review from mattkime October 14, 2020 13:59
@yuliacech yuliacech added bug Fixes for quality problems that affect the customer experience v7.11.0 v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Oct 14, 2020
@yuliacech
Copy link
Contributor Author

Thanks to @alexwizp for suggesting this fix!

@yuliacech yuliacech marked this pull request as draft October 14, 2020 14:38
@yuliacech
Copy link
Contributor Author

@elasticmachine merge upstream

@yuliacech yuliacech marked this pull request as ready for review October 15, 2020 11:36
@yuliacech yuliacech requested a review from a team as a code owner October 15, 2020 11:36
@yuliacech
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

@kbn/optimizer bundle module count

id before after diff
kibanaReact 306 312 +6

async chunks size

id before after diff
kibanaReact 358.3KB 358.3KB +12.0B

page load bundle size

id before after diff
kibanaReact 133.8KB 147.3KB +13.5KB

History

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

Copy link
Contributor

@alisonelizabeth alisonelizabeth left a comment

Choose a reason for hiding this comment

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

Changes LGTM. Verified fix in Snapshot and Restore.

@yuliacech yuliacech merged commit c5bcef4 into elastic:master Oct 20, 2020
yuliacech added a commit to yuliacech/kibana that referenced this pull request Oct 20, 2020
* Fix reactRouterNavigate when used with a string

* Update license management snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Oct 20, 2020
* master: (64 commits)
  Rename Security Solution Bug Template (elastic#81187)
  Update links (elastic#81125)
  Specify format for date range query (elastic#81025)
  [Alerting] Improve toast when alert is created (elastic#80327)
  [UX] Add empty states (elastic#80904)
  Add TS config for kibana_legacy (elastic#80992)
  [Telemetry] Add method to enable endpoint security data usage example (elastic#80940)
  [Alerting] Add scoped cluster client to alerts and actions services (elastic#80794)
  Fix reactRouterNavigate when used with a string (elastic#80520)
  [Security Solution] [Detections] Read privileges for dependencies (elastic#80852)
  [ML] Fixing exclude frequent in advanced wizard (elastic#81121)
  Fix security solution template label (elastic#80976)
  [DOCS] Update index management docs (elastic#80893)
  [APM] Error rate on service list page is not in sync with the value at the transaction page (elastic#80814)
  skip flaky suite (elastic#81072)
  [Task Manager] Cleans up legacy plugin structure (elastic#80381)
  Support unsigned_long fields (elastic#81115)
  [Form lib] Export internal state instead of raw state (elastic#80842)
  [Lens] Add toast notification when visualization is saved (elastic#80788)
  Index pattern edit field formatter API (elastic#78352)
  ...
yuliacech added a commit that referenced this pull request Oct 20, 2020
* Fix reactRouterNavigate when used with a string

* Update license management snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@yuliacech yuliacech deleted the fix_react_router_navigate branch February 24, 2021 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Snapshot & Restore] Links to snapshot table don't activate filter
5 participants