Skip to content

Commit 039a09c

Browse files
committed
refactor: Remove dashboard title from markdown generation and related tests
1 parent 5cf1c24 commit 039a09c

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

presentation/markdown_generator.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ func (m *MarkdownGenerator) Generate(stats *domain.ProfileStats) string {
2929
// Modern Header with Gradient Effect
3030
lines = append(lines, "<div align=\"center\">")
3131
lines = append(lines, "")
32-
lines = append(lines, "# 📊 Git Insights Dashboard")
33-
lines = append(lines, "")
3432
lines = append(lines, "[![Profile Stats](https://img.shields.io/badge/Git-Insights-blueviolet?style=for-the-badge&logo=github)](https://github.com/awcodify/GitInsights)")
3533
lines = append(lines, "")
3634
lines = append(lines, "</div>")

presentation/markdown_generator_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ func TestMarkdownGeneration(t *testing.T) {
5151
t.Error("Expected end marker in markdown")
5252
}
5353

54-
// Check for content
55-
if !strings.Contains(markdown, "Git Insights Dashboard") {
56-
t.Error("Expected dashboard title in markdown")
57-
}
58-
5954
if !strings.Contains(markdown, "Language Distribution") {
6055
t.Error("Expected language distribution section")
6156
}

0 commit comments

Comments
 (0)