- Refactored session filtering logic to handle nested filters properly.
- Enhanced `fetchSessions` to ensure null checks and avoid errors.
- Updated `loadData` to handle `USER_PATH` and `HEATMAP` metric types.
- Improved UI consistency by adjusting spacing and formatting.
- Replaced redundant code with cleaner, more maintainable patterns.
This change improves the reliability and readability of the session
filtering and loading logic in the WidgetSessions component.
Added a conditional check to handle the FETCH metric in the SessionsBy
component. When the metric is FETCH, a specific filter with key
FETCH_URL, operator is, and value derived from data.name is applied.
This ensures proper filtering behavior for FETCH-related metrics.
- Added `checkFilterValue` function to validate and update filter values
in `SearchStoreLive`.
- Updated `FilterItem` to handle undefined `value` gracefully by providing
a default empty array.
These changes improve robustness in filter value processing.
- Introduced `roundToNextMinutes` utility function to round timestamps
to the next specified minute interval.
- Updated `Search` class to use the rounding function for non-custom
date ranges.
- Modified `getRange` in `period.js` to align LAST_24_HOURS with
15-minute intervals.
- Added `roundToNextMinutes` implementation in `utils/index.ts`.
feat(workflow): update commit timestamp for patching
Add a step to set the commit timestamp of the HEAD commit to be 1
second newer than the oldest of the last 3 commits. This ensures
proper chronological order while preserving the commit content.
- Fetch deeper history to access commit history
- Get oldest timestamp from recent commits
- Set new commit date with BSD-compatible date command
- Verify timestamp change with git log
The workflow was previously checking out 'main' branch with a
comment indicating it needed to be fixed. This change makes it
properly checkout the tag specified by the workflow input.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>