Skip to content

Conversation

@mtopo27
Copy link
Contributor

@mtopo27 mtopo27 commented Jan 23, 2026

NOTE: the insight tabs show the # of insight cards, where within the cards, its the number of insight items, so there's a mismatch between tabs and what is on the UI. That existed already, not going to touch in this PR

  1. Prod didn't show Resolved tabs, only Unresolved
    prod
CleanShot 2026-01-23 at 13 49 02@2x PR CleanShot 2026-01-23 at 13 49 40@2x
  1. The tabs now only show the insights that were resolved or unresolved (rather than both)
    Prod
CleanShot 2026-01-23 at 13 50 20@2x

PR (filtered for unresolved)
CleanShot 2026-01-23 at 13 51 10@2x

PR (filter for resolved)
CleanShot 2026-01-23 at 13 51 32@2x

Ensure unresolved/resolved tabs only show matching diff rows and

recompute potential savings from the filtered items.
@mtopo27 mtopo27 requested a review from a team as a code owner January 23, 2026 18:51
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 23, 2026
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

);
if (resolvedInsight) {
byTab.resolved.push(resolvedInsight);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing status check for resolved tab filtering

Medium Severity

The resolved tab filtering lacks a status === 'resolved' check, unlike the unresolved and new tabs which both check the insight's status before including it. This causes any insight (regardless of status) that has removed or decreased diff items to appear in the resolved tab. An insight with status: 'unresolved' could appear in both the unresolved and resolved tabs if it has mixed diff types.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants