-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
feat(workflow): Add team issues and time to resolution #29095
Conversation
size-limit report
|
@@ -10,6 +9,8 @@ import {t} from 'app/locale'; | |||
import space from 'app/styles/space'; | |||
import {Organization} from 'app/types'; | |||
|
|||
import {convertDaySeriesToWeeks} from './utils'; |
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.
nice
function convertKeyValueToSeries(data: Record<string, number>): SeriesDataUnit[] { | ||
return Object.entries(data).map(([bucket, count]) => ({ | ||
value: count, | ||
name: new Date(bucket).getTime(), | ||
})); | ||
} |
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.
Is this something that could be moved to static/app/views/teamInsights/utils.tsx
and reused in static/app/views/teamInsights/teamAlertsTriggered.tsx
?
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.
oh yeah probably, might need a better name
719a3ce
to
0a6f197
Compare
Adds two new team insights widgets.