ref(insights): collapse agents, mcp, and sessions pages#114248
Draft
ref(insights): collapse agents, mcp, and sessions pages#114248
Conversation
Collapse the agents and MCP overview pages, the sessions overview, and
the MCP/agent landing pages (toolsLandingPage, modelsLandingPage,
mcpToolsLandingPage, mcpResourcesLandingPage, mcpPromptsLandingPage)
to render their Platformized equivalents directly.
Removes legacy components, tables, and widgets only the legacy
implementations used:
- pages/agents/components/* (issuesWidget, llmCallsWidget,
modelCostWidget, modelsTable, tokenTypesWidget, tokenUsageWidget,
toolCallsWidget, toolErrorsWidget, toolsTable, common, styles)
- pages/agents/hooks/* (useAgentMonitoringTrackPageView,
useAgentSpanSearchProps, useShowAgentOnboarding)
- pages/mcp/components/* (groupedDurationWidget, groupedErrorRateWidget,
groupedTrafficWidget, mcpOverviewTable, mcpPrompt/Resource/Tool
Duration/ErrorRate/Traffic widgets, mcpToolsTable,
mcpTrafficByClientWidget, mcpTransportWidget, styles)
- pages/mcp/hooks/useMcpSpanSearchProps
- sessions/components/{filterReleaseDropdown,releaseTableSearch,
releaseHealth,releaseHealthTable} and useOrganizationReleases
CHART_MAP-referenced session widgets, charts, and queries
(crashFreeSessionsChartWidget, releaseSessionCount/Percentage,
sessionHealth*, userHealth*, unhealthySessions, releaseNewIssues,
newAndResolvedIssue) and their dependencies (chartWithIssues,
chartMap, chartPlacement, chartSelectionTitle, useReleaseSession*,
useSessionHealthBreakdown, useUserHealthBreakdown, useErroredSessions,
useCrashFreeSessions, useNewAndResolvedIssues, useSessionProjectTotal,
useProjectHasSessions, useRecentIssues, useReleaseNewIssues,
sessions util) stay in place. They get cleaned up in the final PR
of the series alongside useHasPlatformizedInsights removal.
Refs DAIN-1568
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.
Fifth in the DAIN-1568 split. Collapses the remaining Insights pages: `pages/agents/overview`, `pages/mcp/overview`, `sessions/views/overview`, and the MCP/agent landing pages (`toolsLandingPage`, `modelsLandingPage`, `mcpToolsLandingPage`, `mcpResourcesLandingPage`, `mcpPromptsLandingPage`).
Removes
Stays in place (deferred)
CHART_MAP-referenced session widgets and their dependencies stay because the chart loader still resolves them: `crashFreeSessionsChartWidget`, `releaseSessionCount/Percentage`, `sessionHealth*`, `userHealth*`, `unhealthySessions`, `releaseNewIssues`, `newAndResolvedIssue`, plus the session queries and chart helpers they import. Cleaned up in the final PR.
Verification
Refs DAIN-1568