Skip to content

[2.0] Count acknowledged and assigned incidents in the Open card and describe the incident cards as daily activity (backport 2.0 #37830, #37916) - #38222

Merged
shah-harshit merged 1 commit into
2.0from
shah-harshit/backport-incident-cards-2.0
Nov 19, 2026
Merged

shah-harshit merged 1 commit into
2.0from
shah-harshit/backport-incident-cards-2.0

Conversation

@shah-harshit

@shah-harshit shah-harshit commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #37830 and #37916 to 2.0, in one PR.

Part of the UnionBank report: the Incident Manager summary cards didn't match the incident list (2.0.7).

Describe your changes

  • Open Incidents card now counts New, Acknowledged and Assigned events. Before, it counted New only, so incidents that had been acknowledged or assigned dropped out of the card.
  • All four incident cards show a short description below the chart saying the number reflects daily activity, not a running total (final wording from Describe the incident cards as showing daily activity #37916).
  • DQ dashboard → Open Incidents link no longer filters the list to New only, because the card now covers three statuses.
  • Both decision records come along: ADR:2026-11-16-incident-cards-show-the-latest-day-and-open-counts-new-ack-assigned and ADR:2026-11-16-incident-cards-describe-their-counts-as-daily-activity.

Adapted for 2.0:

Collate 2.0 follow-up needed: on 2.0, the Incident Manager page cards come from Collate's own IncidentManagerPageWidgets.component.tsx, which still passes incidentStatusType. This PR renames that prop to incidentStatusTypes, so a matching Collate 2.0 change has to land with the submodule bump.

Screenshots

DQ dashboard → Incident metrics, against a local 2.0.5 backend (light only; 2.0 has no dark mode).

Before (origin/2.0)
before

After (this branch)
after

Both show 9 because every seeded incident had activity on the same day. The card counts distinct incidents per day, so the numbers only differ when an incident opened on an earlier day is acknowledged or assigned on the latest day.

Testing

  • yarn jest on IncidentTypeAreaChartWidget, IncidentTimeChartWidget, DataQualityDashboard, DqDashboardSectionContent and dataQualityDashboardAPI: 6 suites, 136 tests, all passing.
  • tsc --noEmit: no errors in the changed files. 2.0 already has unrelated type errors elsewhere.
  • yarn ui-checkstyle:changed: clean for the changed files.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The reviewed changes appear safe to merge; the acknowledged Collate update remains a separate coordination requirement.

Summary

The backport expands the Open Incidents card to include acknowledged and assigned activity and adds daily-activity descriptions to all four incident cards.

  • Open Incidents counts New, Acknowledged, and Assigned activity each day.
  • All four incident cards explain that their numbers reflect daily activity.

No new actionable issues found.

Reviews (1) · Last reviewed commit: "[2.0] Count Ack/Assigned in the Open inc..." · Reviewed by Greptile

…ncident cards as daily activity (backport 2.0 #37830, #37916)

Backport of #37830 and #37916 to 2.0.

- Open Incidents card counts New, Acknowledged and Assigned events.
- All four incident cards show a description below the chart saying the
  numbers are daily activity, not totals.
- The DQ dashboard Open link no longer filters the list to New only.

Adapted for 2.0: visual-regression baselines, DataQualityIndicator,
IncidentManagerPageWidgets and it-it.json do not exist on 2.0 and are
dropped; CustomAreaChart has no ariaLabel prop on 2.0; locale keys are
added with their final #37916 wording.

(cherry picked from commit 6cfd3ec)
(cherry picked from commit 4bcd875)
@shah-harshit shah-harshit added UI UI specific issues safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check labels Nov 19, 2026
@shah-harshit
shah-harshit requested a review from a team as a code owner November 19, 2026 14:47
@shah-harshit
shah-harshit requested review from karanh37 and removed request for a team November 19, 2026 14:47
@shah-harshit shah-harshit self-assigned this Nov 19, 2026
@gitar-bot

gitar-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Changing the Open Incidents query to include New, Acknowledged, and Assigned events may make daily card counts differ from the current-status incident list.

Backport to 2.0 has the Open Incidents card count New, Acknowledged and Assigned events, so acknowledged or assigned incidents no longer drop out of the count. All four incident cards now note that their numbers reflect daily activity rather than a running total, and the DQ dashboard Open Incidents link no longer filters to New only. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@shah-harshit
shah-harshit merged commit 8c55bf4 into 2.0 Nov 19, 2026
59 of 64 checks passed
@shah-harshit
shah-harshit deleted the shah-harshit/backport-incident-cards-2.0 branch November 19, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants