Skip to content

feat(explore): Add descriptions for all dropped-event reasons - #127629

Open
manessaraj wants to merge 3 commits into
masterfrom
sarajmanes/dain-1937-add-human-readable-descriptions-for-all-dropped-event
Open

manessaraj wants to merge 3 commits into
masterfrom
sarajmanes/dain-1937-add-human-readable-descriptions-for-all-dropped-event

Conversation

@manessaraj

@manessaraj manessaraj commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Expands the dropped-data reason registry in static/app/components/droppedData/outcomes.tsx from the initial ~34-reason subset (DAIN-1889) to the full set of ~130 outcome/reason codes from the "Dropped Events Descriptions for Humans and Agents" doc. Each reason now has a title (row heading), a short line (muted sub-line), and a long paragraph (drawer expansion) where the doc provides them.

Refs DAIN-1937

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 15, 2026
@linear-code

linear-code Bot commented Oct 15, 2026

Copy link
Copy Markdown

DAIN-1937

@manessaraj
manessaraj marked this pull request as ready for review October 15, 2026 20:17
@manessaraj
manessaraj enabled auto-merge (squash) October 15, 2026 20:22

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Comment thread static/app/components/droppedData/outcomes.tsx
usage_exceeded: {
title: t('Quota exceeded'),
short: dataType =>
dataType

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For descriptions like this, dataType can be required and we don't need to have the optional non-dynamic string

before_send: {
title: t('Dropped by before send'),
short: t('Event dropped by your before send function.'),
long: t(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As spoken in dms, long is no longer needed

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 512acd1. Configure here.

return (
<SimpleTable.FullWidthRow>
<Flex
align="center"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale test expects removed description

Medium Severity

ReasonExpansion no longer renders a long description after reasonLongDescription was removed, but droppedDataOutcomeList.spec.tsx still expects that copy to appear when a reason row is expanded. The leftover assertion will fail.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 512acd1. Configure here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Adjust the test to make CI happy; deletion of the long description taken care of here #127713

This branch was successfully deployed

1 active deployment
Preview — 512acd1a Deployed Oct 15, 2026 by vercel[bot]
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