opensearch-project / opensearch-project/reporting
Use dashboards settings in report configurations
@zhongnansu is already working on this.
Since May 14, 2021.
- Dominant language
- Kotlin
- Stars
- 35
- Forks
- 87
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 7
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.