Commit Graph
2 Commits
Author SHA1 Message Date
8480eb698f feat: support for seconds in query time range date-time selector (#4699)
#4698 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new "Seconds" option in the date-time picker for more
precise time selection.
- Updated time formats to include seconds in the start and end time
fields.
- Enhanced the component's ability to manage relative time selections
with the addition of seconds.
	- Improved handling of duration strings to recognize seconds.
- Adjusted dashboard interactions to handle date-time values more
effectively during zoom events.

- **Bug Fixes**
- Improved validation and logic for handling new time formats and
relative periods.
- Enhanced clarity and efficiency in query duration handling for search
functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-10-04 15:40:41 +05:30
3c0716f23f feat: dashboard compare with past data support (#4650)
- #4651 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced a custom date-time picker for selecting relative time
periods in dashboard queries.
- Added functionality for managing time shifts, allowing users to
compare data points over selected time ranges.

- **Enhancements**
- Improved handling of query metadata warnings to display only the first
warning.
- Enhanced dashboard panel data management with support for time shifts
in data visualization.
- Updated SQL data conversion methods for improved processing of
multiple queries.

- **Utilities**
- Added functions for converting time offsets to seconds and vice versa.

- **Bug Fixes**
- Refined error handling in query execution and data loading processes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
Co-authored-by: Sai Nikhil <nikhil@openobserve.ai>
2024-09-30 14:09:03 +05:30