git-reviewer 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2
+ <rect width="32" height="32" rx="7" fill="#2f363d"/>
3
+ <rect x="6" y="8" width="14" height="2.5" rx="1.25" fill="#85e89d"/>
4
+ <rect x="6" y="14" width="18" height="2.5" rx="1.25" fill="#f97583"/>
5
+ <rect x="6" y="20" width="11" height="2.5" rx="1.25" fill="#959da5"/>
6
+ <circle cx="24" cy="22" r="5" fill="#f9c513"/>
7
+ </svg>
@@ -0,0 +1,66 @@
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>Code Reviewer</title>
7
+ <link rel="icon" href="favicon.svg" type="image/svg+xml">
8
+ <link rel="stylesheet" href="style.css">
9
+ </head>
10
+ <body>
11
+ <header class="app-header">
12
+ <div class="header-content">
13
+ <h1>Code Reviewer</h1>
14
+ <div class="header-actions">
15
+ <input
16
+ type="text"
17
+ id="repoPath"
18
+ placeholder="Enter local repository path..."
19
+ value="">
20
+ <button id="loadBtn" onclick="loadRepo()">Load Repository</button>
21
+ <button id="submitReviewBtn" onclick="submitReview()" class="submit-btn hidden">
22
+ Submit Review
23
+ </button>
24
+ </div>
25
+ </div>
26
+ <div id="status" class="status"></div>
27
+ </header>
28
+
29
+ <div class="main-container">
30
+ <aside id="sidebar" class="sidebar hidden">
31
+ <div class="sidebar-header">
32
+ <h2>Changed Files</h2>
33
+ <span id="fileCount" class="file-count"></span>
34
+ </div>
35
+ <div id="filesList" class="files-list"></div>
36
+ </aside>
37
+
38
+ <div id="resizeHandle" class="resize-handle hidden"></div>
39
+
40
+ <main id="codeSection" class="code-section hidden">
41
+ <div class="code-header">
42
+ <h2 id="currentFile"></h2>
43
+ <button class="full-context-btn" onclick="showFullContext()">
44
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
45
+ <path d="M1.75 2.5a.25.25 0 00-.25.25v10.5c0 .138.112.25.25.25h12.5a.25.25 0 00.25-.25V2.75a.25.25 0 00-.25-.25H1.75zM0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0114.25 15H1.75A1.75 1.75 0 010 13.25V2.75zm9.22 3.72a.75.75 0 000 1.06L10.69 9 9.22 10.47a.75.75 0 101.06 1.06l2-2a.75.75 0 000-1.06l-2-2a.75.75 0 00-1.06 0zM6.78 6.47a.75.75 0 00-1.06 0l-2 2a.75.75 0 000 1.06l2 2a.75.75 0 001.06-1.06L5.31 9l1.47-1.47a.75.75 0 000-1.06z"></path>
46
+ </svg>
47
+ Full Context
48
+ </button>
49
+ </div>
50
+ <div id="codeViewer" class="code-viewer"></div>
51
+ </main>
52
+
53
+ <div id="commentsResizeHandle" class="resize-handle hidden"></div>
54
+
55
+ <aside id="commentsSidebar" class="comments-sidebar hidden">
56
+ <div class="comments-sidebar-header">
57
+ <h2>Comments</h2>
58
+ <span id="commentsCount" class="comments-count">0</span>
59
+ </div>
60
+ <div id="commentsList" class="comments-list"></div>
61
+ </aside>
62
+ </div>
63
+
64
+ <script src="app.js"></script>
65
+ </body>
66
+ </html>