Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const mockedEndpointSpanNPlusOneMetrics: EndpointSpanNPlusOneMetrics = [

export const mockedEndpointSpanNPlusOneHighlightData: HighlightData<EndpointSpanNPlusOneMetrics> =
{
insightType: InsightType.EndpointSpanNPlusOneV2,
insightType: InsightType.EndpointSpanNPlusOne,
asset: {
name: "spanName",
displayName: "displayName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const mockedSpaNPlusOneInsights: SpaNPlusOneMetrics = [

export const mockedSpaNPlusOneHighlightData: HighlightData<SpaNPlusOneMetrics> =
{
insightType: InsightType.SpanNPlusOne,
insightType: InsightType.SpaNPlusOne,
asset: {
name: "spanName",
displayName: "displayName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const mockedSpanScalingMetrics: SpanScalingMetrics = [

export const mockedSpanScalingHighlightData: HighlightData<SpanScalingMetrics> =
{
insightType: InsightType.SpanScalingBadly,
insightType: InsightType.SpanScaling,
asset: {
name: "spanName",
displayName: "displayName",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Highlights/TopIssues/typeGuards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const isEndpointSpanNPlusOneHighlight = (
export const isSpaNPlusOneHighlight = (
highlight: HighlightData<GenericMetrics>
): highlight is HighlightData<SpaNPlusOneMetrics> =>
highlight.insightType === InsightType.SpanNPlusOne;
highlight.insightType === InsightType.SpaNPlusOne;

export const isHotSpotHighlight = (
highlight: HighlightData<GenericMetrics>
Expand All @@ -74,4 +74,4 @@ export const isHotSpotHighlight = (
export const isSpanScalingHighlight = (
highlight: HighlightData<GenericMetrics>
): highlight is HighlightData<SpanScalingMetrics> =>
highlight.insightType === InsightType.SpanScalingBadly;
highlight.insightType === InsightType.SpanScaling;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useTheme } from "styled-components";
import { getInsightStatusInfo } from "../../../Insights/common/InsightCard/InsightHeader/InsightStatusBadge/getInsightStatusInfo";
import { getInsightStatusInfo } from "../../../Insights/InsightsCatalog/InsightsPage/insightCards/common/InsightCard/InsightHeader/InsightStatusBadge/getInsightStatusInfo";
import { Tooltip } from "../../../common/v3/Tooltip";
import * as s from "./styles";
import { TableInsightStatusBadgeProps } from "./types";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from "styled-components";
import { InsightStatusBadge } from "../../../Insights/common/InsightCard/InsightHeader/InsightStatusBadge";
import { InsightStatusBadge } from "../../../Insights/InsightsCatalog/InsightsPage/insightCards/common/InsightCard/InsightHeader/InsightStatusBadge";

export const Badge = styled(InsightStatusBadge)`
font-size: inherit;
Expand Down
10 changes: 0 additions & 10 deletions src/components/Insights/BottleneckInsight/types.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/components/Insights/DurationBreakdownInsight/types.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/components/Insights/DurationSlowdownSourceInsight/types.ts

This file was deleted.

19 changes: 0 additions & 19 deletions src/components/Insights/EndpointNPlusOneInsight/types.ts

This file was deleted.

19 changes: 0 additions & 19 deletions src/components/Insights/EndpointQueryOptimizationInsight/types.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/components/Insights/ErrorsInsight/types.ts

This file was deleted.

15 changes: 0 additions & 15 deletions src/components/Insights/ExcessiveAPICallsInsight/types.ts

This file was deleted.

15 changes: 0 additions & 15 deletions src/components/Insights/HighNumberOfQueriesInsight/types.ts

This file was deleted.

Loading