-
Notifications
You must be signed in to change notification settings - Fork 121
Add ungrouped event table to Workflow History page #926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ungrouped event table to Workflow History page #926
Conversation
21de9e3
to
3c08849
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a toggleable ungrouped event timeline to the Workflow History page and covers it with unit tests.
- Registers a new
ungroupedHistoryViewEnabled
query parameter and persists it in URL. - Implements an ungrouped events table (sorting, infinite loading, and scrolling) alongside existing grouped timeline.
- Introduces related components (
WorkflowHistoryUngroupedTable
,WorkflowHistoryUngroupedEvent
), helpers, styles, and tests.
Reviewed Changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
src/views/workflow-page/config/workflow-page-query-params.config.ts | Registers ungroupedHistoryViewEnabled query param |
src/views/workflow-history/workflow-history.types.ts | Extends VisibleHistoryGroupRanges with ungrouped index fields |
src/views/workflow-history/workflow-history.tsx | Adds toggle, ungrouped events logic, scrolling, and load‐more hooks |
src/views/workflow-history/workflow-history.styles.ts | Styles for ungrouped container and rename of toggle override key |
src/views/workflow-history/workflow-history-ungrouped-table/* | New ungrouped table component, types, styles, and tests |
src/views/workflow-history/workflow-history-ungrouped-event/* | New ungrouped event component, types, styles, helpers, and tests |
src/views/workflow-history/helpers/compare-ungrouped-events.ts | Comparator for sorting ungrouped events and its unit tests |
src/views/workflow-history/config/workflow-history-page-size.config.ts | New page size constant for history pagination |
src/views/workflow-history/config/workflow-history-ungrouped-grid-template-columns.config.ts | Defines grid template for ungrouped table columns |
return ( | ||
<> | ||
<styled.TableHeader> | ||
<div>ID</div> |
Copilot
AI
Jun 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The grid template defines six columns (including a badge column) but the header only renders five <div>
cells. Add a placeholder header cell for the retries/badge column or adjust the grid template to match.
Copilot uses AI. Check for mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not wrapping the header text so adding it wont fix the alignment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Summary
Test plan
Added/updated unit tests + ran locally.
Screen.Recording.2025-06-20.at.5.14.55.PM.mov