mirror of
https://github.com/Comfy-Org/comfyci-dashboard.git
synced 2026-11-04 23:47:28 +00:00
[PR #7] [MERGED] Add status filter and highlight failed runs on dashboard #6
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfyci-dashboard#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfyci-dashboard/pull/7
Author: @marawan206
Created: 6/12/2026
Status: ✅ Merged
Merged: 8/21/2026
Merged by: @marawan206
Base:
main← Head:dashboard-failure-visibility📝 Commits (1)
dc834f0Add status filter and highlight failed runs on dashboard📊 Changes
4 files changed (+68 additions, -32 deletions)
View changed files
📝
components/StatsDashboard.tsx(+1 -11)📝
pages/index.tsx(+54 -18)📝
pages/workflow/[id].tsx(+3 -3)➕
utils/format.ts(+10 -0)📄 Description
Since CI failures currently have no notifications, the dashboard is the only place anyone sees them — so this makes failures easier to spot, plus some cleanup.
Changes
/gitcommitAPI has no status parameter, so this filters the rows already loaded for the current page, client-side. A caption under the filters states the scope ("Showing N of M runs on this page matching …") so it's not mistaken for a global filter.formatDuration(utils/format.ts) replacing three diverging formatters — the oldcalculateTimeDifferencerendered e.g.1.5 minute/30 secwhile the stats card rendered1.5m/45s. Now consistent everywhere (workflow table, workflow detail, stats).console.logleft in the filter effect.Verification
pnpm buildandpnpm lintboth pass. Changes are presentational + client-side filtering; no API or data-model changes.Follow-ups (backend-gated, not in this PR)
api.comfy.org— the current stats cards are necessarily scoped to the loaded page ("in current view"). Worth a backend ticket.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.