Skip to content

Commit 0d84f63

Browse files
committed
fix: truncate changelog title in analytics
1 parent d34a74e commit 0d84f63

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

widgets/copilot_stats_plots.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,7 @@ def annotate_bot_versions(
469469
text += f"Renamed to: {version.title}"
470470
if version.changed_by:
471471
text += f" by {version.changed_by.full_name()}"
472-
text = truncate_text_words(
473-
text,
474-
)
472+
text = truncate_text_words(text, 25)
475473
text += f" ({version.dt.strftime('%b %d %Y')})"
476474
labels[idx] = text
477475

0 commit comments

Comments
 (0)