Skip to content

Conversation

nikkikapadia
Copy link
Member

Now that we've returned the changedReason column from the widget and saved query apis we're creating the UI for these dropped fields warnings. This is an example of what they look like:

Explore:
image

Widgets:
image

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 10, 2025
@nikkikapadia nikkikapadia marked this pull request as ready for review October 10, 2025 19:31
@nikkikapadia nikkikapadia requested review from a team as code owners October 10, 2025 19:31
})
)
);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: Array Handling Issue in Warning Messages

The reason field for dropped equations and orderby clauses is typed as string | string[]. When this field is an array, it displays incorrectly in warning messages.

Additional Locations (1)

Fix in Cursor Fix in Web

sessionDurationWarning,
spanTimeRangeWarning,
transactionsDeprecationWarning,
droppedColumnsWarning,
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: Type Mismatch in Warnings Array

The warnings array is cast as string[], but droppedColumnsWarning (and transactionsDeprecationWarning) return React.JSX.Element | null. This type mismatch could cause runtime issues.

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.

1 participant