Skip to content

ref(conversations): Remove redesign feature flag and old components - #120434

Merged
ArthurKnaus merged 2 commits into
masterfrom
arthurknaus/tet-2742-remove-conversations-redesign-flag
Jul 23, 2026
Merged

ArthurKnaus merged 2 commits into
masterfrom
arthurknaus/tet-2742-remove-conversations-redesign-flag

Conversation

@ArthurKnaus

@ArthurKnaus ArthurKnaus commented Jul 23, 2026 •

Copy link
Copy Markdown
Member

Makes the redesigned conversations experience the only path now that the gen-ai-conversations-redesign rollout is complete.

Removes the flag checks across the conversations product area and the trace AI drawer, and deletes the components that only existed to serve the flag-off state. Helpers the redesigned components still depend on are moved into their New counterparts so nothing survives purely to re-export them.

The New suffixes are intentionally left in place — a follow-up stacked PR renames them to their base names, which stays a mechanical change after this.

Refs TET-2742

@linear-code

linear-code Bot commented Jul 23, 2026

Copy link
Copy Markdown

TET-2742

ArthurKnaus and others added 2 commits July 23, 2026 14:18
The gen-ai-conversations-redesign rollout is complete, so make the
redesigned components the only path and drop the flag checks throughout the
conversations product area and the trace AI drawer.

Delete the superseded flag-off components. Helpers that the redesigned
components still rely on are moved into their New counterparts so no module
survives purely to re-export them, keeping the follow-up rename mechanical.

Refs TET-2742
Co-Authored-By: Claude <[email protected]>
The multi-tag ToolTags overflow component was only used by the deleted
flag-off conversations table; the redesigned summary renders tools with
ToolTag and its own overflow handling. Knip flagged it as unused.

Refs TET-2742
Co-Authored-By: Claude <[email protected]>
@ArthurKnaus
ArthurKnaus force-pushed the arthurknaus/tet-2742-remove-conversations-redesign-flag branch from 015cfcb to 6a8e619 Compare July 23, 2026 12:18
@ArthurKnaus
ArthurKnaus marked this pull request as ready for review July 23, 2026 12:31
@ArthurKnaus
ArthurKnaus requested review from a team as code owners July 23, 2026 12:31

@priscilawebdev priscilawebdev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🙏

@ArthurKnaus
ArthurKnaus merged commit 047d123 into master Jul 23, 2026
72 checks passed
@ArthurKnaus
ArthurKnaus deleted the arthurknaus/tet-2742-remove-conversations-redesign-flag branch July 23, 2026 12:39
ArthurKnaus added a commit that referenced this pull request Jul 23, 2026
Follow-up to #120434 (stacked on it).

Now that the flag-off components are deleted, this renames the
redesigned components and their files to their base names — dropping the
`New` suffix that only existed to distinguish them from the originals —
and folds the thin `conversationDetail` wrapper into the page it
delegated to.

Pure rename with no behavior change; kept separate from the deletion PR
so that diff stays reviewable as logic and this one reviews as a
mechanical rename.

Replaces #120436, which was recreated cleanly on the rebased base
branch.

Refs TET-2742

Co-authored-by: Claude <[email protected]>
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

1 active deployment
Preview — 6a8e6198 Deployed Jul 23, 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