Use title for metadata chapters

This commit is contained in:
Nicolas Mowen
2026-05-10 09:44:49 -06:00
parent da1671b6eb
commit 4006975227
+5
View File
@@ -380,7 +380,12 @@ class RecordingExporter(threading.Thread):
if label and label not in labels:
labels.append(label)
metadata = data.get("metadata") or {}
title = metadata.get("title")
if not title:
title = str(review.severity).capitalize()
if labels:
title = f"{title}: {', '.join(labels)}"