Skip to content

Describe the incident cards as showing daily activity - #37916

Merged
shah-harshit merged 2 commits into
mainfrom
shah-harshit/incident-cards-daily-activity
Nov 16, 2026
Merged

shah-harshit merged 2 commits into
mainfrom
shah-harshit/incident-cards-daily-activity

Conversation

@shah-harshit

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

Copy link
Copy Markdown
Contributor

Describe your changes:

Follow-up to #37830. The four incident card descriptions now say what each card counts "with daily activity":

Card Before After
Open Incidents New, Acknowledged and Assigned incidents on the latest day with activity New, Acknowledged and Assigned incidents with daily activity
Resolved Incidents Incidents resolved on the latest day with activity Incidents resolved with daily activity
Response Time Average response time across days with activity in the period Average response time with daily activity in the period
Resolution Time Average resolution time across days with activity in the period Average resolution time with daily activity in the period
  • Updated in all 21 locales, so no locale keeps the old meaning.
  • Added ADR:2026-11-16-incident-cards-describe-their-counts-as-daily-activity, which supersedes ADR:2026-11-16-incident-cards-show-the-latest-day-and-open-counts-new-ack-assigned (its description bullet named the old wording). Card behaviour is unchanged; the trade-off (the Open and Resolved descriptions no longer name the day) is recorded in its Consequences.
  • Updated the matching mock strings in two widget unit tests.

Type of change:

  • Improvement

Tests:

Unit tests

  • IncidentTimeChartWidget.test.tsx, IncidentTypeAreaChartWidget.test.tsx: 10/10 pass locally.

Visual regression baselines

  • The incident screens show these descriptions, so their baselines may need refreshing. Pending CI's visual run.

Manual testing performed

  • Copy change only; ui-checkstyle (ESLint, Prettier, organize-imports, sync-i18n) is clean.

Checklist:

  • I have read the CONTRIBUTING document.
  • Decision check: a new record supersedes the previous one in this PR.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no new actionable issues remain.

Summary

Changes the four incident-card descriptions to say “with daily activity” across all 21 locales without changing their calculations.

  • Incident cards describe their counts as daily activity.
  • The API reference lists four additional routes.

Reviews (2) · Last reviewed commit: "docs(incidents): supersede the card reco..." · Reviewed by Greptile

Reword the four incident card descriptions to "... with daily activity"
in every locale, and amend the decision record to match.
@shah-harshit
shah-harshit requested a review from a team as a code owner November 16, 2026 16:31
@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 16, 2026
@shah-harshit shah-harshit self-assigned this Nov 16, 2026
…ding

The wording change reverses the previous record's description bullet, so
add a new record and mark the old one superseded instead of amending it.
Describe the time cards separately from the latest-day cards, and stop
the widget comment claiming the description names the day.
@gitar-bot

gitar-bot Bot commented Nov 16, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk 2 closed / 2 findings

Removing the latest-day qualifier from incident-card descriptions across 21 locales could lead users to mistake daily counts for period totals.

Rewords the four incident card descriptions to say what they count "with daily activity" across all 21 locales, and adds an ADR superseding the prior card-description record. The amendment that reversed an Accepted ADR decision was resolved by superseding it instead. The dropped 'latest day' disclosure is a documented, accepted product trade-off with no open issues remaining.

✅ 2 closed
✅ Quality: Amendment reverses an Accepted ADR decision instead of superseding it

📄 docs/decisions/2026-11-16-incident-cards-show-the-latest-day-and-open-counts-new-ack-assigned.md:3-4 📄 docs/decisions/2026-11-16-incident-cards-show-the-latest-day-and-open-counts-new-ack-assigned.md:27-28 📄 docs/decisions/2026-11-16-incident-cards-show-the-latest-day-and-open-counts-new-ack-assigned.md:40-45
The Decision section of ADR:2026-11-16-incident-cards-show-the-latest-day-and-open-counts-new-ack-assigned still says (line 27-28): "Each card has a description saying what it counts and that the number is for the latest day with activity." The new v2 Amendment (lines 40-45) says "The descriptions no longer say 'on the latest day with activity'", and the locale changes remove that wording. That reverses one of the record's decision bullets, so the record now contradicts itself. docs/decisions/README.md:23-24 says a reversal gets a new record, with the old one's Status naming it as successor, and that the original is never rewritten. An amendment doesn't meet that. Either restore the "latest day" wording in the descriptions, or add a superseding record. That record would state: "Card descriptions say what each card counts 'with daily activity' and no longer say the headline number is for the latest day with activity", and give the reason this is safe given the Context. Then set this record's Status to Superseded by ADR:<date>-<slug>.

Closed: Bug: New copy drops the 'latest day' disclosure that fixed the customer bug

📄 openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json:6371 📄 openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json:6627-6629 📄 docs/decisions/2026-11-16-incident-cards-show-the-latest-day-and-open-counts-new-ack-assigned.md:14-17 📄 docs/decisions/2026-11-16-incident-cards-show-the-latest-day-and-open-counts-new-ack-assigned.md:34
The ADR's Context explains why the descriptions exist. A customer read the Open card (15) as the total number of open incidents (about 1,200). The fix was to say the headline is the latest day's events, and the Consequences rely on that: "The Open number goes up after this change, which the card's description explains." The cards still show only the last daily bucket (the amendment confirms this). But "New, Acknowledged and Assigned incidents with daily activity" and "Incidents resolved with daily activity" no longer say which day the number covers. A user can read them as a count over the whole period, which is the misreading the descriptions were added to stop. The Response/Resolution time strings have the same gap: "Average response time with daily activity in the period" no longer says the average is taken across active days. The same meaning loss is in all 21 locales. Keep the timeframe in the copy, e.g. "New, Acknowledged and Assigned incidents on the latest day with activity".

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 enabled auto-merge (squash) November 16, 2026 16:55
@shah-harshit
shah-harshit merged commit 4bcd875 into main Nov 16, 2026
66 checks passed
@shah-harshit
shah-harshit deleted the shah-harshit/incident-cards-daily-activity branch November 16, 2026 16:57
shah-harshit added a commit that referenced this pull request Nov 19, 2026
…ncident cards as daily activity (backport 2.0 #37830, #37916) (#38222)

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)
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.

3 participants