Skip to content

Commit

Permalink
[8.12] Require page reload when changing timepicker:quickRanges (#1…
Browse files Browse the repository at this point in the history
…73747) (#173767)

# Backport

This will backport the following commits from `main` to `8.12`:
- [Require page reload when changing `timepicker:quickRanges`
(#173747)](#173747)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-20T16:15:54Z","message":"Require
page reload when changing `timepicker:quickRanges` (#173747)\n\n##
Summary\r\n\r\nfix
https://github.com/elastic/kibana/issues/172601\r\n\r\nI reviewed how
this setting is used. It is directly used in a lot of\r\nplaces and it
is hard to guarantee/fix that all places pick up the new\r\nsetting.
Safer to ask to
reload.","sha":"36c9d5dd3dd51f70c8d38a0a28e5ddb59d8520d7","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.13.0"],"number":173747,"url":"https://github.com/elastic/kibana/pull/173747","mergeCommit":{"message":"Require
page reload when changing `timepicker:quickRanges` (#173747)\n\n##
Summary\r\n\r\nfix
https://github.com/elastic/kibana/issues/172601\r\n\r\nI reviewed how
this setting is used. It is directly used in a lot of\r\nplaces and it
is hard to guarantee/fix that all places pick up the new\r\nsetting.
Safer to ask to
reload.","sha":"36c9d5dd3dd51f70c8d38a0a28e5ddb59d8520d7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173747","number":173747,"mergeCommit":{"message":"Require
page reload when changing `timepicker:quickRanges` (#173747)\n\n##
Summary\r\n\r\nfix
https://github.com/elastic/kibana/issues/172601\r\n\r\nI reviewed how
this setting is used. It is directly used in a lot of\r\nplaces and it
is hard to guarantee/fix that all places pick up the new\r\nsetting.
Safer to ask to
reload.","sha":"36c9d5dd3dd51f70c8d38a0a28e5ddb59d8520d7"}}]}]
BACKPORT-->

Co-authored-by: Anton Dosov <[email protected]>
  • Loading branch information
kibanamachine and Dosant authored Dec 20, 2023
1 parent 88a4218 commit 898eaf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/data/server/ui_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ export function getUiSettings(
'</a>',
},
}),
requiresPageReload: true,
schema: enableValidations
? schema.arrayOf(
schema.object({
Expand Down

0 comments on commit 898eaf4

Please sign in to comment.