Skip to content

[feat] New History page with Advanced Event Filtering and Persistent Page Size#245

Merged
otc-zuul[bot] merged 17 commits intomainfrom
i79
Nov 17, 2025
Merged

[feat] New History page with Advanced Event Filtering and Persistent Page Size#245
otc-zuul[bot] merged 17 commits intomainfrom
i79

Conversation

@Aloento
Copy link
Copy Markdown
Member

@Aloento Aloento commented Sep 29, 2025

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:

    • Added filters for date range, service name, region, event type, and status.
    • Implemented client-side validation to prevent invalid date ranges.
    • Introduced a reusable filtering hook that encapsulates state management, validation, and derived sorting logic.
    • Default date range starts from 6 months ago, ensuring meaningful initial results.
  • UI Enhancements:

    • Updated the History page to use a data grid layout for better readability and interactivity.
    • Added a page-size selector with options persisted in localStorage, retaining user preferences across sessions.
    • Displayed counts for total and filtered events, improving clarity and user experience.
image image

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.
@Aloento Aloento requested a review from sgmv September 29, 2025 14:45
@Aloento Aloento self-assigned this Sep 29, 2025
@Aloento Aloento linked an issue Sep 29, 2025 that may be closed by this pull request
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.
@Aloento Aloento changed the title [feat] New History page [feat] New History page with Advanced Event Filtering and Persistent Page Size Oct 8, 2025
@Aloento Aloento marked this pull request as ready for review October 8, 2025 15:53
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.
@Aloento Aloento force-pushed the i79 branch 2 times, most recently from 14678ac to b4b6260 Compare October 16, 2025 10:35
@Aloento Aloento closed this Nov 4, 2025
@Aloento Aloento deleted the i79 branch November 4, 2025 13:06
@Aloento Aloento restored the i79 branch November 4, 2025 13:07
@Aloento Aloento reopened this Nov 4, 2025
@Aloento Aloento added the gate Merge PR label Nov 17, 2025
@otc-zuul otc-zuul Bot merged commit 405e936 into main Nov 17, 2025
9 checks passed
@otc-zuul otc-zuul Bot deleted the i79 branch November 17, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gate Merge PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prepare a mock up design for the new history page

2 participants