Skip to content

fix(workflow): remove max height from event history table and default to timeline#3184

Merged
rossnelson merged 3 commits intomainfrom
fix/event-history-window-scroll
Feb 24, 2026
Merged

fix(workflow): remove max height from event history table and default to timeline#3184
rossnelson merged 3 commits intomainfrom
fix/event-history-window-scroll

Conversation

@rossnelson
Copy link
Collaborator

@rossnelson rossnelson commented Feb 24, 2026

Summary

  • Removes the constrained maxHeight on the event history table (calc(100vh - 555px)) so the browser window scrolls instead of the table scrolling independently
  • Updates links that navigate to other workflows to point to the Timeline tab instead of Event History
  • Updates the workflow detail page redirect to default to /timeline

Changes

  • event-summary-table.sveltemaxHeight changed from conditional calc to "none"
  • workflow-history-layout.svelte — removed minimized prop from EventSummaryTable
  • [run]/+page.ts — redirect /history/timeline
  • event-details-link.svelte — execution and child-workflow links use routeForTimeline instead of routeForEventHistory
  • workflow-header.svelte — reset workflow success link uses routeForTimeline

Test plan

  • Open Event History tab — table should not have its own scrollbar, window scrolls instead
  • Verify pagination still works correctly
  • Navigate to a workflow — should land on Timeline tab by default
  • Click a child workflow link in event details — should land on Timeline tab
  • Click an execution link in event details — should land on Timeline tab
  • Reset a workflow and click the "here" link — should land on Timeline tab
  • Timeline tab behavior unchanged (graph visibility still controlled by minimized prop)

@rossnelson rossnelson requested review from a team and rossedfort as code owners February 24, 2026 20:49
@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Feb 24, 2026 9:55pm

Request Review

@Alex-Tideman
Copy link
Collaborator

I think we need to do an audit of routeForEventHistory use and switch to a new routeForTimeline if that should be the default

… to timeline

Remove the constrained max-height on the event history table so the
window scrolls instead of the table scrolling independently.

Also update links that navigate to other workflows to point to the
Timeline tab instead of Event History:
- Default workflow detail redirect
- Child workflow and execution links in event details
- Reset workflow success link
} else if (linkType === 'child-workflow') {
return routeForEventHistory({
return routeForTimeline({
namespace: ns,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

return routeForEventHistory({
return routeForTimeline({
namespace: ns,
workflow: attrs.workflowExecutionWorkflowId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

href={routeForEventHistory({
href={routeForTimeline({
namespace,
workflow: workflowId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

@temporal-cicd
Copy link
Contributor

temporal-cicd bot commented Feb 24, 2026

Warnings
⚠️

📊 Strict Mode: 32 errors in 4 files (2.9% of 1115 total)

src/lib/utilities/event-link-href.ts (15)
  • L7:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L8:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L9:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L17:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L18:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L19:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L24:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L25:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L26:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L31:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L31:17: 'link.workflowEvent' is possibly 'null' or 'undefined'.
  • L32:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L32:16: 'link.workflowEvent' is possibly 'null' or 'undefined'.
  • L33:6: Type 'string | null | undefined' is not assignable to type 'string'.
  • L33:11: 'link.workflowEvent' is possibly 'null' or 'undefined'.
src/lib/components/event/event-details-link.svelte (2)
  • L32:8: Type 'string | undefined' is not assignable to type 'string'.
  • L33:8: Type 'string | undefined' is not assignable to type 'string'.
src/lib/layouts/workflow-header.svelte (13)
  • L136:37: Argument of type 'WorkflowExecution | null' is not assignable to parameter of type 'WorkflowExecution'.
  • L137:45: Argument of type 'WorkflowExecution | null' is not assignable to parameter of type 'WorkflowExecution'.
  • L141:13: Type 'boolean | undefined' is not assignable to type 'boolean'.
  • L142:13: Type 'boolean | undefined' is not assignable to type 'boolean'.
  • L144:13: Type 'WorkflowExecution | null' is not assignable to type 'WorkflowExecution'.
  • L169:9: Type 'boolean | undefined' is not assignable to type 'boolean'.
  • L170:9: Type 'boolean | undefined' is not assignable to type 'boolean'.
  • L172:9: Type 'WorkflowExecution | null' is not assignable to type 'WorkflowExecution'.
  • L180:20: Type 'WorkflowExecution | null' is not assignable to type 'WorkflowExecution'.
  • L236:12: Type 'string | undefined' is not assignable to type 'string'.
  • L271:11: 'workflow' is possibly 'null'.
  • L313:12: 'workflow' is possibly 'null'.
  • L313:12: 'workflow.searchAttributes' is possibly 'undefined'.
src/lib/layouts/workflow-history-layout.svelte (2)
  • L221:2: Type 'string | undefined' is not assignable to type 'string'.
  • L222:2: Type 'string | undefined' is not assignable to type 'string'.

Generated by 🚫 dangerJS against d843fbb

When an EventLink points to another workflow without a specific event,
default to the timeline tab instead of event history.
});
} else {
return routeForEventHistory({
return routeForTimeline({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ 'link.workflowEvent' is possibly 'null' or 'undefined'.
  • ⚠️ Type 'string | null | undefined' is not assignable to type 'string'.

} else {
return routeForEventHistory({
return routeForTimeline({
namespace: link.workflowEvent.namespace,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ 'link.workflowEvent' is possibly 'null' or 'undefined'.
  • ⚠️ Type 'string | null | undefined' is not assignable to type 'string'.

return routeForEventHistory({
return routeForTimeline({
namespace: link.workflowEvent.namespace,
workflow: link.workflowEvent.workflowId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ 'link.workflowEvent' is possibly 'null' or 'undefined'.
  • ⚠️ Type 'string | null | undefined' is not assignable to type 'string'.

@rossnelson rossnelson enabled auto-merge (squash) February 24, 2026 21:54
@rossnelson rossnelson merged commit 948e5d5 into main Feb 24, 2026
16 checks passed
@rossnelson rossnelson deleted the fix/event-history-window-scroll branch February 24, 2026 22:02
temporal-cicd bot pushed a commit that referenced this pull request Feb 25, 2026
Auto-generated version bump from 2.46.0 to 2.47.0

Bump type: minor

Changes included:
- [`948e5d53`](948e5d5) fix(workflow): remove max height from event history table and default to timeline (#3184)
- [`39402461`](3940246) Add back event history legend and auto refresh (#3187)
- [`d541be94`](d541be9) fix(workflow): restore input/result height and fix breadcrumb link (#3188)
- [`0ee9b8e7`](0ee9b8e) encode activity id (#3191)
- [`dbe3114e`](dbe3114) Fix workflow errors (#3190)
- [`e326c8d5`](e326c8d) Bump API to v1.62.2 (#3189)
rossedfort added a commit that referenced this pull request Feb 25, 2026
Auto-generated version bump from 2.46.0 to 2.47.0

Bump type: minor

Changes included:
- [`948e5d53`](948e5d5) fix(workflow): remove max height from event history table and default to timeline (#3184)
- [`39402461`](3940246) Add back event history legend and auto refresh (#3187)
- [`d541be94`](d541be9) fix(workflow): restore input/result height and fix breadcrumb link (#3188)
- [`0ee9b8e7`](0ee9b8e) encode activity id (#3191)
- [`dbe3114e`](dbe3114) Fix workflow errors (#3190)
- [`e326c8d5`](e326c8d) Bump API to v1.62.2 (#3189)

Co-authored-by: rossedfort <11775628+rossedfort@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants