Skip to content

feat(dashboard): run filters - #900

Open
jamescmartinez wants to merge 2 commits into
mainfrom
run-features
Open

jamescmartinez wants to merge 2 commits into
mainfrom
run-features

Conversation

@jamescmartinez

@jamescmartinez jamescmartinez commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor
  • status and exact workflow-name filters
  • clickable status cards
  • shareable URLs that preserve filters through refreshes
image

@pkg-pr-new

pkg-pr-new Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/openworkflowdev/openworkflow/@openworkflow/cli@900
npm i https://pkg.pr.new/openworkflowdev/openworkflow/@openworkflow/dashboard@900
npm i https://pkg.pr.new/openworkflowdev/openworkflow@900

commit: 70e2e36

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Confidence Score: 4/5RetriggerView in Greptile

[Medium impact] The changes affect the dashboard's workflow-run browsing experience.

The older-status filter mismatch still needs a fix before merging.

Findings

  1. P1 Filters hide older runs ▶

Summary

Adds status and exact workflow-name filters to the runs page.

  • The run list filters runs by exact name or status.

Reviews (2) · Last reviewed commit: "refactor(dashboard): simplify run filter..." · Reviewed by Greptile

Comment thread apps/dashboard/src/lib/api.ts Outdated
const backend = await getBackend();
const result = await backend.listWorkflowRuns(getPaginationOptions(data));
const params: ListWorkflowRunsParams = getPaginationOptions(data);
if (data.status !== undefined) params.status = data.status;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Filters hide older runs

For databases with older runs stored as sleeping or succeeded, clicking Running or Completed excludes runs counted by that card. toWorkflowRunCounts folds these older statuses into the displayed counts, but listWorkflowRuns matches the requested status exactly. The migrations do not rewrite those statuses, so a nonzero card can lead to an empty list. Make the dashboard filters include the same statuses as the counts.

Comment thread apps/dashboard/src/lib/run-filters.ts Resolved
Comment thread apps/dashboard/src/routes/index.tsx Resolved
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

This branch has not been deployed

No deployments
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