Skip to content

Commit 7ce97f7

Browse files
Make repo descriptions more visible in HTML report (#34)
Updated the HTML report to display repository descriptions more prominently: - Enhanced CSS styling with light background, padding, and left border - Added speech bubble emoji (💬) to clearly identify descriptions - Improved readability with better spacing and darker text color - Descriptions now stand out without being obtrusive Descriptions are shown for starred repos and newly created repos. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 0a33c1e commit 7ce97f7

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

report/html.go

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -808,8 +808,16 @@ const htmlTemplate = `<!DOCTYPE html>
808808
}
809809
.activity-details {
810810
font-size: 0.9em;
811-
color: #656d76;
812-
margin-top: 4px;
811+
color: #57606a;
812+
margin-top: 6px;
813+
padding: 6px 10px;
814+
background: #f6f8fa;
815+
border-radius: 4px;
816+
border-left: 3px solid #d0d7de;
817+
line-height: 1.5;
818+
}
819+
.activity-details:empty {
820+
display: none;
813821
}
814822
.empty-state {
815823
text-align: center;
@@ -913,7 +921,7 @@ const htmlTemplate = `<!DOCTYPE html>
913921
<div class="activity-content">
914922
<span class="activity-user">{{if .AvatarURL}}<img src="{{.AvatarURL}}" alt="{{.User}}" class="activity-avatar">{{end}}{{.User}}</span> {{aggVerb .Type .Count}} <a href="{{.RepoURL}}">{{.RepoName}}</a>
915923
<div class="activity-time">{{timeRange .FirstTime .LastTime}}</div>
916-
{{if .Details}}<div class="activity-details">{{.Details}}</div>{{end}}
924+
{{if .Details}}<div class="activity-details">💬 {{.Details}}</div>{{end}}
917925
</div>
918926
</li>
919927
{{end}}
@@ -940,7 +948,7 @@ const htmlTemplate = `<!DOCTYPE html>
940948
<div class="activity-content">
941949
<span>{{aggVerb .Type .Count}} <a href="{{.RepoURL}}">{{.RepoName}}</a></span>
942950
<div class="activity-time">{{timeRange .FirstTime .LastTime}}</div>
943-
{{if .Details}}<div class="activity-details">{{.Details}}</div>{{end}}
951+
{{if .Details}}<div class="activity-details">💬 {{.Details}}</div>{{end}}
944952
</div>
945953
</li>
946954
{{end}}

0 commit comments

Comments
 (0)