[NP] Get rid of usage redirectWhenMissing service#59777
Merged
sulemanof merged 18 commits intoelastic:masterfrom Mar 17, 2020
Merged
[NP] Get rid of usage redirectWhenMissing service#59777sulemanof merged 18 commits intoelastic:masterfrom
sulemanof merged 18 commits intoelastic:masterfrom
Conversation
…n_missing # Conflicts: # src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.js # src/legacy/core_plugins/kibana/public/visualize/np_ready/legacy_app.js
sulemanof
commented
Mar 11, 2020
Contributor
|
Pinging @elastic/kibana-app (Team:KibanaApp) |
7 tasks
Contributor
Author
|
@elasticmachine merge upstream |
flash1293
reviewed
Mar 11, 2020
src/plugins/kibana_utils/public/history/redirect_when_missing.tsx
Outdated
Show resolved
Hide resolved
…ana into shim/redirect_when_missing
Contributor
Author
|
@elasticmachine merge upstream |
…ana into shim/redirect_when_missing
flash1293
previously requested changes
Mar 13, 2020
src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.js
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/editor.js
Show resolved
Hide resolved
…n_missing # Conflicts: # src/legacy/core_plugins/kibana/public/discover/kibana_services.ts # src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/editor.js
kertal
approved these changes
Mar 17, 2020
Member
kertal
left a comment
There was a problem hiding this comment.
Code LGTM, tested locally in Chrome, works, the management redirection issue is no regression, I'll create an issue for that. Many thanks for taking care of ancient 🐛
Contributor
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Changes was addressed , reviewer in his well deserved holidays
sulemanof
added a commit
to sulemanof/kibana
that referenced
this pull request
Mar 17, 2020
* Move redirect_when_missing to kibana utils * Replace redirectWhenMissing in dashboard * Replace redirectWhenMissing in discover * Remove redirect in monitoring * Remove extra import * Move invalid vistype check into editor.js * Mock the history folder * Fix redirect when missing index or saved object * Move history to discover services * Use redirect to listing page Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Mar 17, 2020
* master: (30 commits) [TSVB] fix text color when using custom background color (elastic#60261) Fix import to timefilter from in TSVB (elastic#60296) [NP] Get rid of usage redirectWhenMissing service (elastic#59777) [SIEM] Fix Timeline footer styling (elastic#59587) [ML] Fixes to error handling for analytics jobs and file data viz (elastic#60249) Give better stack traces for Unhandled Promise Rejection warnings (elastic#60235) resolves elastic#58905 (elastic#60120) Added variables button for text fields in Pagerduty component. (elastic#60189) adds test that action vars are rendered for alert action parms (elastic#60310) Closes 59786 by removing the update toast (elastic#60172) [EPM] Packages list tabs (elastic#60167) Added message variables button for Webhook body form field (elastic#60174) Revert "adds new test (elastic#60064)" [Maps] move MapSavedObject type out of telemetry (elastic#60127) [Reporting] Fix error handling for job handler in route (elastic#60161) [Endpoint] TEST: verify alerts page header says 'Alerts' (elastic#60206) EMT-248: implement ack resource to accept event payload to acknowledge agent actions (elastic#60218) Migrate dual validated range (elastic#59689) Embeddable triggers (elastic#58440) [Endpoint] Sample data generator CLI script (elastic#59952) ...
sulemanof
added a commit
that referenced
this pull request
Mar 17, 2020
* Move redirect_when_missing to kibana utils * Replace redirectWhenMissing in dashboard * Replace redirectWhenMissing in discover * Remove redirect in monitoring * Remove extra import * Move invalid vistype check into editor.js * Mock the history folder * Fix redirect when missing index or saved object * Move history to discover services * Use redirect to listing page Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Mar 17, 2020
* master: (51 commits) do not update cell background if is label cell (elastic#60308) FTR configurable test users (elastic#52431) [Reporting] Wholesale moves client to newest-platform (elastic#58945) [Ingest] Support `show_user` package registry flag (elastic#60338) [SIEM] Adds 'Closes one signal when more than one opened signals are selected' test again (elastic#60380) [SIEM][Detections Engine] - Add rule markdown field to rule create, detail, and edit flows (elastic#60108) [Fleet] Add config revision to fleet agents (elastic#60292) Allow kbn-config-schema to ignore unknown keys (elastic#59560) [ML] Functional tests - disable df analytics clone tests skip flaky suite (elastic#58643) (elastic#58991) [FTR] Add support for --include and --exclude files via tags (elastic#60123) [SIEM] Fix link on overview page (elastic#60348) skip flaky test (elastic#60369) [Endpoint] Adds take action dropdown and tests to alert details flyout (elastic#59242) [Lens] Simplify state management from visualization (elastic#58279) Changing default type to start and allowing it to be configured by the event category (elastic#60323) [ML] Adds the class_assignment_objective to classification (elastic#60358) [TSVB] fix text color when using custom background color (elastic#60261) Fix import to timefilter from in TSVB (elastic#60296) [NP] Get rid of usage redirectWhenMissing service (elastic#59777) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A part of #58999.
This cutover
redirectWhenMissingtokibana_utils.Affects shimmed plugins:
dashboard,visualize,discover.Removes the reference in
x-pack/legacy/plugins/monitoringsince unused.This contains couple of fixes:
error instance of SavedObjectNotFound, look at this comment for details;visualizationwith an invalid type, added a proper warning message, redirect to the listing page;redirectionin scope of the same plugin, e.x. opening visualization with non-exists id ->Checklist
Delete any items that are not applicable to this PR.
For maintainers