Skip to content

Improvement: Tighten webhook table Active and Last triggered column widths #2568

Closed

Description

@yannickmonney

Problem

The webhooks table allocates more horizontal space to the Active and Last triggered columns than their content needs, leaving less room for the URL column on constrained layouts.

Current behaviour

Both agent and workflow webhook tables define identical column sizes:

  • Active: size: 80 — holds only a Switch
  • Last triggered: size: 180 — muted timestamp via formatTimestamp / formatDateLong
  • URL: size: 400 with max-w-[300px] truncate on cell content

Files:

  • services/platform/app/features/workflows/triggers/components/webhooks-section.tsx (lines ~193–216)
  • services/platform/app/features/agents/components/agent-webhook-section.tsx (same column sizes)
  • services/platform/app/components/ui/data-table/data-table.tsx — table min-width is the sum of declared column sizes

Together, Active + Last triggered consume 260px of fixed budget regardless of actual content width.

Related: #2378 (webhook page layout width).

Proposed change

Reduce column sizes for Active and Last triggered to fit their content (toggle + formatted date), and give the reclaimed space to the URL column or overall table balance. Verify at common desktop widths that timestamps remain readable and the switch is not clipped.

Acceptance criteria

  • Active column is no wider than needed for the toggle control.
  • Last triggered column fits typical timestamp strings without excess padding.
  • URL column gains usable width or the table overall feels better balanced.
  • Both agent and workflow webhook tables use the same adjusted sizes.
  • No horizontal overflow or clipped controls at standard viewport widths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions