Skip to content

Conversation

@opoliarush
Copy link
Contributor

No description provided.

};

const renderDefaultContent = (data?: InsightsData): JSX.Element => {
if (!data) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please check what will be displayed before data arriving for the first time

return (
<InsightsCatalog
insights={data.insights}
totalCount={100}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please change to real count

hasMissingDependency: boolean;
canInstrumentMethod: boolean;
needsObservabilityFix: boolean;
assetId?: string; // remove
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please comment


if (isSpanDurationsInsight(insight)) {
return (
<DurationInsight
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please check dev console for React key warnings when there are multiple insights with the same type
If there are errors, please use the complex key
${insightType}-${spanCodeObjectId}

@opoliarush opoliarush marked this pull request as ready for review February 14, 2024 19:28
@opoliarush opoliarush merged commit fca9156 into feature/navigation Feb 14, 2024
@opoliarush opoliarush deleted the feature/new-insights branch February 14, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants