Use dashboards settings in report configurations
#41 opened on May 13, 2021
Repository metrics
- Stars
- (33 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Plugins Please list all plugins currently enabled.
Screenshots If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
- OS: [e.g. iOS]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Currently, the time_range component uses a constant from report_settings_constants.tsx to feed the commonlyUsedRanges property of EuiSuperDatePicker inside it.
This is not the default behavior across Kibana. The default behavior is to load this from uiSettings service, allowing the user to override the available options.
I'm proposing this change that is not a breaking change but a "fix" that makes this plugin follow the default behavior across Kibana.
This issue was originally submitted by @iget-master https://github.com/opendistro-for-elasticsearch/kibana-reports/issues/351