feat(admin): Load outcomes category/outcome dropdowns from Python - #8418
Open
sentry-junior[bot] wants to merge 5 commits into
Open
feat(admin): Load outcomes category/outcome dropdowns from Python#8418sentry-junior[bot] wants to merge 5 commits into
sentry-junior[bot] wants to merge 5 commits into
Conversation
Replace free-text {{category}}/{{outcome}} params with searchable
selects so outcomes analyzer templates are easier to fill. Correct
stale DataCategory IDs in help text and comments.
Co-Authored-By: Pierre Massat <pierre.massat@sentry.io>
Serve category/outcome options from Relay DataCategory and a local Outcome IntEnum via /outcomes_enum_options, instead of hardcoding lists in the query editor frontend. Co-Authored-By: Pierre Massat <pierre.massat@sentry.io>
Reject non-OK /outcomes_enum_options responses and show an inline error when category/outcome dropdown options fail to load.
phacops
approved these changes
Aug 29, 2026
Use number inputs for org/project/limit params with a default limit, and show an explicit running state next to Execute Query. Co-Authored-By: Pierre Massat <pierre.massat@sentry.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes outcomes analyzer params less painful to fill, without hardcoding enum lists in the frontend.
{{category}}and{{outcome}}now use searchable Mantine selects. Options come from/outcomes_enum_options, which builds the lists from RelayDataCategoryand a localOutcomeIntEnum (mirrors sentry/Relay producer values; snuba has no Outcome package dependency).Absolute datetime pickers were already added in #8375 for templates with
{{start_time}}/{{end_time}}.Requested by PDPM.
--
View Junior Session [Sentry]