Skip to content

docs(integration-platform): Document error-surfacing convention for all UI components#18505

Merged
priscilawebdev merged 8 commits into
masterfrom
priscilawebdev/docs/surface-integrator-errors-ui-components
Jun 24, 2026
Merged

docs(integration-platform): Document error-surfacing convention for all UI components#18505
priscilawebdev merged 8 commits into
masterfrom
priscilawebdev/docs/surface-integrator-errors-ui-components

Conversation

@priscilawebdev

@priscilawebdev priscilawebdev commented Jun 23, 2026

Copy link
Copy Markdown
Member

Document the error-surfacing response convention across all Sentry App UI components that make external requests (issue link, alert rule action, and Select FormField options), via a shared include. Follow-up to docs feedback on getsentry/sentry#116956 (comment).

image

…ll UI components

Sentry now forwards the integrator's HTTP status code and surfaces the
`message` from the error response body for issue link, select option, and
alert rule action external requests. Previously only the alert rule action
documented this convention.

Extract the convention into a shared include and reference it from the issue
link, select FormField, and alert rule action component docs so integrators
get consistent guidance on returning actionable errors.

Refs DE-1275
Co-Authored-By: Claude <noreply@anthropic.com>
@linear-code

linear-code Bot commented Jun 23, 2026

Copy link
Copy Markdown

DE-1275

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jun 23, 2026 7:03am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jun 23, 2026 7:03am

Request Review

priscilawebdev and others added 7 commits June 23, 2026 08:29
…hared include

Each page repeated a component-specific intro and trailing sentence around the
include. Make the intro and consequence generic and fold them into the include
so the convention lives in one place; pages now only carry the heading and the
include reference.

Co-Authored-By: Claude <noreply@anthropic.com>
…e shared include

The heading was the last duplicated line on each page. Fold it into the include
(normalized to a level-2 heading) so each page references the section with a
single include and the entire block lives in one place.

Co-Authored-By: Claude <noreply@anthropic.com>
… in include

Revert the rewritten copy back to the original phrasing, genericized so the
shared block fits the issue link, select FormField, and alert rule action
components.

Co-Authored-By: Claude <noreply@anthropic.com>
…message behavior

Sentry now forwards the integrator's HTTP status code and surfaces the `message`
from the error response body, falling back to a generic message when none is
provided and a 502 when the service doesn't respond. Update the shared block to
match.

Co-Authored-By: Claude <noreply@anthropic.com>
…equest types

The inherited "submits an incorrect or malformed configuration" wording only fit
the form-submission components and not the Select options request, which is a GET
that loads options. Reword the shared opener to cover any failed request.

Co-Authored-By: Claude <noreply@anthropic.com>
… surfacing-errors

Sentry makes the request to your service, so "a request from this component" was
slightly inaccurate. The surrounding page already establishes which component.

Co-Authored-By: Claude <noreply@anthropic.com>
…pener

Replace the product-jargon "surface the reason" with "show the user a specific
error message" for clarity.

Co-Authored-By: Claude <noreply@anthropic.com>
@priscilawebdev priscilawebdev merged commit e7886d9 into master Jun 24, 2026
21 checks passed
@priscilawebdev priscilawebdev deleted the priscilawebdev/docs/surface-integrator-errors-ui-components branch June 24, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants