Skip to content

Commit 0f8f384

Browse files
Deploying to gh-pages from @ 3b75f85 🚀
1 parent f65e9cd commit 0f8f384

File tree

5 files changed

+1730
-0
lines changed

5 files changed

+1730
-0
lines changed

analyzed_branch_data.json

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"main": [
3+
"feature/sites-40"
4+
],
5+
"release": [
6+
"feature/add-actions",
7+
"feature/add-actions",
8+
"feature/add-actions",
9+
"feature/add-actions",
10+
"feature/sites-42",
11+
"feature/sites-41"
12+
],
13+
"common": [],
14+
"mainOnly": [
15+
"feature/sites-40"
16+
],
17+
"releaseOnly": [
18+
"feature/sites-41",
19+
"feature/sites-42",
20+
"feature/add-actions"
21+
],
22+
"mainDetails": [
23+
{
24+
"name": "feature/sites-40",
25+
"merged_at": "2025-04-08T18:55:00+00:00",
26+
"pr_number": 1,
27+
"pr_title": "hello"
28+
}
29+
],
30+
"releaseDetails": [
31+
{
32+
"name": "feature/add-actions",
33+
"merged_at": "2025-04-09T02:06:18+00:00",
34+
"pr_number": 7,
35+
"pr_title": "remove the copy"
36+
},
37+
{
38+
"name": "feature/add-actions",
39+
"merged_at": "2025-04-09T02:05:01+00:00",
40+
"pr_number": 6,
41+
"pr_title": "remove interval job for now"
42+
},
43+
{
44+
"name": "feature/add-actions",
45+
"merged_at": "2025-04-09T02:03:31+00:00",
46+
"pr_number": 5,
47+
"pr_title": "handle timestamp"
48+
},
49+
{
50+
"name": "feature/add-actions",
51+
"merged_at": "2025-04-09T01:57:00+00:00",
52+
"pr_number": 4,
53+
"pr_title": "Feature/add actions"
54+
},
55+
{
56+
"name": "feature/sites-42",
57+
"merged_at": "2025-04-09T01:10:20+00:00",
58+
"pr_number": 3,
59+
"pr_title": "add sites-42"
60+
},
61+
{
62+
"name": "feature/sites-41",
63+
"merged_at": "2025-04-08T18:58:45+00:00",
64+
"pr_number": 2,
65+
"pr_title": "using grid areas"
66+
}
67+
],
68+
"timestamp": "2025-04-09T02:06:41.603290",
69+
"repository": "correasebastian/layers",
70+
"analysisDate": "latest",
71+
"stats": {
72+
"total_branches": 4,
73+
"main_count": 1,
74+
"release_count": 6,
75+
"common_count": 0,
76+
"main_only_count": 1,
77+
"release_only_count": 3,
78+
"repository": "correasebastian/layers",
79+
"timestamp": "2025-04-09T02:06:41.603290",
80+
"analysis_time": "2025-04-09T02:06:41.654082",
81+
"analysis_date": "latest",
82+
"common_percentage": 0.0,
83+
"main_only_percentage": 25.0,
84+
"release_only_percentage": 75.0
85+
}
86+
}

index.html

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Git Branch Comparison</title>
7+
<link rel="stylesheet" href="styles.css">
8+
<script src="https://d3js.org/d3.v7.min.js"></script>
9+
</head>
10+
<body>
11+
<header>
12+
<h1>Git Branch Comparison</h1>
13+
<p>Visualizing differences between main and release branches</p>
14+
</header>
15+
16+
<main>
17+
<section class="date-selector">
18+
<h2>Analysis Date</h2>
19+
<div class="date-control">
20+
<input type="date" id="analysis-date" name="analysis-date">
21+
<button id="update-date-button">Update Analysis</button>
22+
</div>
23+
<div class="date-info">
24+
<p>Current analysis: <span id="current-date">Latest</span></p>
25+
<p class="date-help">Select a date to see branch status as of that date</p>
26+
</div>
27+
</section>
28+
29+
<section class="overview">
30+
<h2>Branch Overview</h2>
31+
<div class="branch-stats">
32+
<div class="stat-card">
33+
<h3>Main Branch</h3>
34+
<p>Total merged branches: <span id="main-count">0</span></p>
35+
</div>
36+
<div class="stat-card">
37+
<h3>Release Branch</h3>
38+
<p>Total merged branches: <span id="release-count">0</span></p>
39+
</div>
40+
<div class="stat-card">
41+
<h3>Common Branches</h3>
42+
<p>Branches in both: <span id="common-count">0</span></p>
43+
</div>
44+
</div>
45+
</section>
46+
47+
<section class="visualization">
48+
<h2>Branch Visualization</h2>
49+
<div id="venn-diagram"></div>
50+
</section>
51+
52+
<section class="branch-details">
53+
<h2>Branch Details</h2>
54+
55+
<div class="branch-list">
56+
<div class="branch-column">
57+
<h3>Main Branch</h3>
58+
<ul id="main-branches">
59+
<!-- Will be populated dynamically -->
60+
</ul>
61+
</div>
62+
63+
<div class="branch-column">
64+
<h3>Release Branch</h3>
65+
<ul id="release-branches">
66+
<!-- Will be populated dynamically -->
67+
</ul>
68+
</div>
69+
</div>
70+
</section>
71+
72+
<section class="unique-branches">
73+
<h2>Unique Branches</h2>
74+
75+
<div class="branch-list">
76+
<div class="branch-column">
77+
<h3>Only in Main</h3>
78+
<ul id="main-only">
79+
<!-- Will be populated dynamically -->
80+
</ul>
81+
</div>
82+
83+
<div class="branch-column">
84+
<h3>Only in Release</h3>
85+
<ul id="release-only">
86+
<!-- Will be populated dynamically -->
87+
</ul>
88+
</div>
89+
</div>
90+
</section>
91+
92+
<section class="common-branches">
93+
<h2>Common Branches</h2>
94+
<ul id="common-branches">
95+
<!-- Will be populated dynamically -->
96+
</ul>
97+
</section>
98+
99+
<section class="history-view" id="history-section">
100+
<h2>Historical Analysis</h2>
101+
<div class="history-controls">
102+
<button id="show-history-button">Show History</button>
103+
<div id="history-dates" class="history-dates">
104+
<!-- Will be populated dynamically -->
105+
</div>
106+
</div>
107+
<div id="history-chart" class="history-chart">
108+
<!-- Will be populated dynamically -->
109+
</div>
110+
</section>
111+
</main>
112+
113+
<footer>
114+
<p>Created with ❤️ by Manus AI</p>
115+
<p class="update-info">Last updated: <span id="last-updated">Loading...</span></p>
116+
</footer>
117+
118+
<script src="script.js"></script>
119+
<script src="timeline.js"></script>
120+
</body>
121+
</html>

0 commit comments

Comments
 (0)