Repository navigation
ref(agents): Remove legacy overview flag-off paths - #126303
Merged
obostjancic merged 2 commits intoOct 2, 2026
Merged
obostjancic merged 2 commits into
obostjancic merged 2 commits into
Conversation
Keep the fully rolled-out agents overview and delete the unused conversations chart. Leave the flag registration in place until the call-site cleanup deploys. Refs TET-3074
obostjancic
marked this pull request as ready for review
October 2, 2026 08:10
cleptric
approved these changes
Oct 2, 2026
obostjancic
deleted the
ognjenbostjancic/tet-3074-clean-up-overview-feature-flag
branch
October 2, 2026 11:00
ale-cota
added a commit
that referenced
this pull request
Nov 11, 2026
…tics (#130777) Two Agents analytics events are still defined, but nothing fires them anymore: - **`conversations.detail.tab-switch`**: the event stopped arriving after the conversation detail redesign rolled out. #120434 then removed the old components that fired it, and the new Transcript/Timeline tabs in `conversationDetail.tsx` never tracked it. - **`conversations.save_as`**: #126303 replaced the legacy Agents chart with dashboard `WidgetCard`s. The old chart's own menu fired this event for "Create alert" and "Add to dashboard". The shared widget context menu doesn't. Changes: - **Tab switches**: the detail page Tabs `onChange` fires `conversations.detail.tab-switch` with `fromTab` / `toTab` when the tab actually changes. - **WidgetCard callback**: new optional `onContextMenuAction(key)` prop. A small `withMenuActionCallback` helper wraps each menu item's `onAction`, including submenu children like the per-series "Create a Monitor for" items, so the existing action still runs. Other `WidgetCard` callers are unchanged. - **Agents charts**: `AgentsCharts` maps `add-to-dashboard` → `save_type: 'dashboard'` and `create-alert*` → `save_type: 'alert'`. It also sends a new `chart` param with the widget id, so we can tell which chart was saved. Tests cover the tab-switch event, the WidgetCard callback (it reports the key and still runs the original action), and Add to Dashboard from the Agents overview firing `save_as`. Follow-up to #130776. <!-- junior-request-attribution:start --> via **ale**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:local%3Aweb%3A486bbfe9b2d4cf324748a1ed --> -- [View Session in Sentry](https://sentry.sentry.io/explore/conversations/local%3Aweb%3A486bbfe9b2d4cf324748a1ed/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: ale <[email protected]>
This branch was successfully deployed
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.
Keep the fully rolled-out agents overview unconditionally and remove the legacy conversations-only path, including its unused chart and flag-off tests. Existing overview tests now run without the flag in the organization fixture.
Leave the flag registration and automator entry untouched. After this deploys everywhere, remove the automator entry, then remove the registration after the automator change deploys.
Local tests, lint, and typecheck are blocked by missing worktree dependencies; the Python environment for prek is also absent. The diff whitespace check passes.
Refs TET-3074