-
Notifications
You must be signed in to change notification settings - Fork 2
Feature/new insights #456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/new insights #456
Conversation
src/components/Insights/index.tsx
Outdated
| }; | ||
|
|
||
| const renderDefaultContent = (data?: InsightsData): JSX.Element => { | ||
| if (!data) { |
There was a problem hiding this comment.
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
src/components/Insights/index.tsx
Outdated
| return ( | ||
| <InsightsCatalog | ||
| insights={data.insights} | ||
| totalCount={100} |
There was a problem hiding this comment.
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
src/components/Insights/types.ts
Outdated
| hasMissingDependency: boolean; | ||
| canInstrumentMethod: boolean; | ||
| needsObservabilityFix: boolean; | ||
| assetId?: string; // remove |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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}
No description provided.