Skip to content

Show work item title on pipeline detail page when triggered by a work it#300

Merged
bamdadd merged 1 commit into
mainfrom
lintel/feat/91c7e8d4-when-viewing-a-pipeline-run-that-was-tri
Apr 7, 2026
Merged

Show work item title on pipeline detail page when triggered by a work it#300
bamdadd merged 1 commit into
mainfrom
lintel/feat/91c7e8d4-when-viewing-a-pipeline-run-that-was-tri

Conversation

@bamdadd

@bamdadd bamdadd commented Apr 7, 2026

Copy link
Copy Markdown
Owner

Summary

Add work item title display to the pipeline detail page header by adding a conditional secondary useQuery for the work item, extending PageHeader with an optional subtitle link and loading skeleton, and guarding rendering on trigger_type and work_item_id — no backend changes required.

Changes

  • Verify and update TypeScript types for PipelineRun and WorkItem
  • Extend PageHeader component to support a subtitle link slot
  • Add secondary work item query and conditional header display to pipeline detail page
  • Add and update frontend tests for pipeline detail page and PageHeader

Context

When viewing a pipeline run that was triggered by a work item (trigger_type starts with "work_item:"), the pipeline detail page should display the work item title prominently — e.g. in the header or as a subtitle. Currently only the pipeline run ID and stages are shown, with no context about what work item triggered it.

Acceptance criteria:

  • Pipeline detail page fetches the associated work item (via work_item_id on the pipeline run)
  • Work item title is displayed in the pipeline header/breadcrumb area
  • Title should link to the work item on the board
  • If no work_item_id is set (e.g. chat-triggered pipelines), no title is shown

Review

✅ Automated review passed.

Tests

✅ All tests passing.


Raised by Lintel 🤖

@bamdadd

bamdadd commented Apr 7, 2026

Copy link
Copy Markdown
Owner Author

Agent review failed — defaulting to manual review.

@bamdadd
bamdadd merged commit 834b18b into main Apr 7, 2026
3 checks passed
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.

1 participant