[feat] New History page with Advanced Event Filtering and Persistent Page Size#245
Merged
otc-zuul[bot] merged 17 commits intomainfrom Nov 17, 2025
Merged
[feat] New History page with Advanced Event Filtering and Persistent Page Size#245otc-zuul[bot] merged 17 commits intomainfrom
otc-zuul[bot] merged 17 commits intomainfrom
Conversation
Eliminates the EventItem component to streamline the codebase. Enhances the History page by integrating filtering capabilities for events, including date range, service name, region, event type, and status. Also updates the UI to display events in a data grid format, improving user interaction and experience. This change addresses the need for better event management and user filtering options.
Adds a reusable event filtering UI that lets users filter by start/end date, service name, region, event type, and status. Implements client-side validation to prevent invalid date ranges, reports validation errors back to the parent, and exposes callbacks for filter updates and clearing. Improves event list usability by enabling precise, validated filtering and surface counts of matched/filtered events.
Provides a reusable hook to manage and apply filters for event history UI. Encapsulates filter state and validation, exposes a clear action, and returns a derived, sorted list of filtered events. Implements date range filtering (default start = 6 months ago), service name matching (name or abbreviation), region, event type and status filters, and orders results by start date descending to centralize and simplify UI filtering logic.
Extracts filter state, validation, and event filtering into a dedicated hook and a presentational filter component to simplify the history page, improve separation of concerns, and make the filtering logic reusable and testable. Adds a page-size menu on the data grid with selectable options and a persisted preference in localStorage so user page-size choice is retained across sessions. Also updates component metadata version.
Streamlines history pagination options and increases the default page size to 20 to provide a more practical initial view and reduce UI clutter. Preserves the existing local storage key so previously saved user preferences continue to be respected.
14678ac to
b4b6260
Compare
sgmv
approved these changes
Nov 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of the Pull Request:
This update significantly improves the History page by introducing comprehensive event filtering capabilities and UI refinements.
Key Improvements
Advanced Filtering:
UI Enhancements:
localStorage, retaining user preferences across sessions.