-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreenshot-helper.html
More file actions
309 lines (287 loc) · 13.2 KB
/
Copy pathscreenshot-helper.html
File metadata and controls
309 lines (287 loc) · 13.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitRepoTools - Screenshot Helper</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
margin: 0;
padding: 20px;
background: #f6f8fa;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
background: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
h1 {
color: #24292f;
border-bottom: 1px solid #d1d9e0;
padding-bottom: 10px;
}
.screenshot-section {
margin: 30px 0;
padding: 20px;
border: 2px dashed #0969da;
border-radius: 8px;
background: #f8f9fa;
}
.dimensions {
background: #fff3cd;
border: 1px solid #ffeaa7;
padding: 10px;
border-radius: 4px;
margin: 10px 0;
font-family: monospace;
}
.instructions {
background: #d1ecf1;
border: 1px solid #bee5eb;
padding: 15px;
border-radius: 4px;
margin: 10px 0;
}
.tip {
background: #d4edda;
border: 1px solid #c3e6cb;
padding: 10px;
border-radius: 4px;
margin: 10px 0;
}
.mockup {
border: 1px solid #ddd;
padding: 20px;
margin: 15px 0;
background: white;
border-radius: 6px;
}
.github-mockup {
background: #0d1117;
color: #f0f6ff;
padding: 20px;
border-radius: 8px;
font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Menlo, "Liberation Mono", Consolas, monospace;
}
.buttons-demo {
display: flex;
gap: 8px;
margin: 15px 0;
flex-wrap: wrap;
}
.demo-button {
display: inline-flex;
align-items: center;
padding: 5px 16px;
background: #f6f8fa;
border: 1px solid #d0d7de;
border-radius: 6px;
font-size: 14px;
text-decoration: none;
color: #24292f;
gap: 4px;
}
.demo-button:hover {
background: #f3f4f6;
}
.dark-mode {
background: #0d1117;
color: #f0f6ff;
}
.dark-mode .demo-button {
background: #21262d;
border-color: #30363d;
color: #f0f6ff;
}
.popup-mockup {
width: 300px;
border: 1px solid #d1d9e0;
border-radius: 8px;
background: white;
padding: 16px;
margin: 20px auto;
box-shadow: 0 8px 24px rgba(140,149,159,0.2);
}
.checkbox-group {
margin: 10px 0;
}
.checkbox-group label {
display: flex;
align-items: center;
margin: 8px 0;
cursor: pointer;
}
.checkbox-group input {
margin-right: 8px;
}
</style>
</head>
<body>
<div class="container">
<h1>🎯 GitRepoTools - Screenshot Guide</h1>
<p>Use this guide to take perfect screenshots for your Chrome Web Store submission!</p>
<!-- Screenshot 1: Main Repository View -->
<div class="screenshot-section">
<h2>📷 Screenshot 1: Repository Page with Tools</h2>
<div class="dimensions">📐 Size: 1280x800px (recommended) or 640x400px minimum</div>
<div class="instructions">
<strong>Steps:</strong><br>
1. Load your extension in Chrome<br>
2. Visit a popular GitHub repository (e.g., microsoft/vscode)<br>
3. Ensure your extension buttons are visible<br>
4. Take full-page screenshot showing the buttons integrated naturally<br>
5. Crop to show the repository header area prominently
</div>
<div class="mockup">
<h3>Visual Reference - What to capture:</h3>
<div style="background: #f6f8fa; padding: 15px; border-radius: 6px;">
<div style="display: flex; align-items: center; gap: 15px; margin-bottom: 15px;">
<span style="font-weight: bold;">📁 microsoft/vscode</span>
<span style="background: #0969da; color: white; padding: 2px 8px; border-radius: 12px; font-size: 12px;">Public</span>
</div>
<div class="buttons-demo">
<div class="demo-button">⭐ Star</div>
<div class="demo-button">📖 DeepWiki</div>
<div class="demo-button">📊 Diagram</div>
<div class="demo-button">🔍 Gitingest</div>
<div class="demo-button">💻 IDE ▼</div>
<div class="demo-button">🔽 Code</div>
</div>
</div>
</div>
<div class="tip">
💡 <strong>Pro tip:</strong> Make sure GitHub is in light mode for this screenshot to show contrast with your buttons.
</div>
</div>
<!-- Screenshot 2: Settings Popup -->
<div class="screenshot-section">
<h2>📷 Screenshot 2: Settings Popup</h2>
<div class="dimensions">📐 Size: Can be smaller, but ensure 1280x800px canvas</div>
<div class="instructions">
<strong>Steps:</strong><br>
1. Click your extension icon in browser toolbar<br>
2. Ensure popup opens fully<br>
3. Take screenshot of the popup<br>
4. Center it on a 1280x800px canvas with nice background
</div>
<div class="popup-mockup">
<h3 style="margin: 0 0 16px; font-size: 16px; border-bottom: 1px solid #e1e4e8; padding-bottom: 8px;">GitRepoTools Settings</h3>
<div style="margin-bottom: 16px;">
<h4 style="margin: 0 0 8px; font-size: 14px;">Tool Categories</h4>
<div class="checkbox-group">
<label><input type="checkbox" checked> Show DeepWiki</label>
<label><input type="checkbox" checked> Show Diagram Tools</label>
<label><input type="checkbox" checked> Show Gitingest Button</label>
<label><input type="checkbox" checked> Show IDE Options</label>
</div>
</div>
<div style="margin-bottom: 16px;">
<h4 style="margin: 0 0 8px; font-size: 14px;">IDE Options</h4>
<div class="checkbox-group">
<label><input type="checkbox" checked> VS Code Web</label>
<label><input type="checkbox" checked> github.dev</label>
<label><input type="checkbox" checked> CodeSandbox</label>
<label><input type="checkbox" checked> StackBlitz</label>
<label><input type="checkbox" checked> Gitpod</label>
</div>
<button style="padding: 4px 8px; background: #f6f8fa; border: 1px solid #d0d7de; border-radius: 4px; margin-top: 8px;">Reset to Defaults</button>
</div>
<div style="border-top: 1px solid #e1e4e8; padding-top: 16px;">
<a href="#" style="background: #FFDD00; color: black; padding: 6px 12px; border-radius: 4px; text-decoration: none; font-size: 14px;">☕ Buy me a coffee</a>
</div>
</div>
</div>
<!-- Screenshot 3: IDE Dropdown -->
<div class="screenshot-section">
<h2>📷 Screenshot 3: IDE Dropdown in Action</h2>
<div class="dimensions">📐 Size: 1280x800px, focus on dropdown area</div>
<div class="instructions">
<strong>Steps:</strong><br>
1. On a GitHub repository page<br>
2. Click the "IDE" button to open dropdown<br>
3. Capture the dropdown menu expanded<br>
4. Show all IDE options clearly visible
</div>
<div class="mockup">
<h3>What to capture:</h3>
<div style="position: relative; display: inline-block;">
<div class="demo-button" style="background: #0969da; color: white;">💻 IDE ▼</div>
<div style="position: absolute; top: 100%; left: 0; background: white; border: 1px solid #d1d9e0; border-radius: 6px; box-shadow: 0 8px 24px rgba(140,149,159,0.2); padding: 8px 0; margin-top: 2px; min-width: 160px; z-index: 1000;">
<div style="padding: 6px 16px; font-size: 12px; color: #656d76; border-bottom: 1px solid #d1d9e0; margin-bottom: 8px;">Open in Web IDE</div>
<a href="#" style="display: block; padding: 6px 16px; color: #24292f; text-decoration: none; font-size: 14px;">VS Code</a>
<a href="#" style="display: block; padding: 6px 16px; color: #24292f; text-decoration: none; font-size: 14px;">github.dev</a>
<a href="#" style="display: block; padding: 6px 16px; color: #24292f; text-decoration: none; font-size: 14px;">CodeSandbox</a>
<a href="#" style="display: block; padding: 6px 16px; color: #24292f; text-decoration: none; font-size: 14px;">StackBlitz</a>
<a href="#" style="display: block; padding: 6px 16px; color: #24292f; text-decoration: none; font-size: 14px;">Gitpod</a>
</div>
</div>
</div>
</div>
<!-- Screenshot 4: Dark Mode -->
<div class="screenshot-section">
<h2>📷 Screenshot 4: Dark Mode Example</h2>
<div class="dimensions">📐 Size: 1280x800px</div>
<div class="instructions">
<strong>Steps:</strong><br>
1. Switch GitHub to dark mode (Settings → Appearance → Dark)<br>
2. Visit a repository page<br>
3. Show how buttons adapt to dark theme<br>
4. Capture the seamless integration
</div>
<div class="mockup dark-mode">
<h3 style="color: #f0f6ff;">Dark Mode Integration:</h3>
<div class="buttons-demo">
<div class="demo-button">📖 DeepWiki</div>
<div class="demo-button">📊 Diagram</div>
<div class="demo-button">🔍 Gitingest</div>
<div class="demo-button">💻 IDE ▼</div>
</div>
</div>
<div class="tip">
💡 <strong>Pro tip:</strong> This shows your extension respects user preferences and integrates naturally.
</div>
</div>
<!-- Screenshot 5: Mobile Responsive -->
<div class="screenshot-section">
<h2>📷 Screenshot 5: Mobile Responsive (Optional)</h2>
<div class="dimensions">📐 Size: 1280x800px, but show mobile layout</div>
<div class="instructions">
<strong>Steps:</strong><br>
1. Open Chrome DevTools (F12)<br>
2. Switch to mobile view (phone icon)<br>
3. Visit GitHub repository on mobile view<br>
4. Show how buttons stack vertically<br>
5. Capture mobile-friendly layout
</div>
<div class="tip">
💡 <strong>Note:</strong> This is optional but shows professional responsive design.
</div>
</div>
<div style="background: #fff3cd; border: 1px solid #ffeaa7; padding: 20px; border-radius: 8px; margin: 30px 0;">
<h3>🛠️ Recommended Tools:</h3>
<ul>
<li><strong>macOS:</strong> Cmd+Shift+4 (built-in screenshot) or CleanShot X</li>
<li><strong>Windows:</strong> Windows+Shift+S or Snagit</li>
<li><strong>Chrome Extension:</strong> Awesome Screenshot or Lightshot</li>
<li><strong>Online Editor:</strong> Photopea.com (free Photoshop alternative)</li>
</ul>
</div>
<div style="background: #d4edda; border: 1px solid #c3e6cb; padding: 20px; border-radius: 8px;">
<h3>✅ Final Checklist:</h3>
<ul>
<li>[ ] All screenshots are 1280x800px (or at least 640x400px)</li>
<li>[ ] Images are PNG or JPEG format</li>
<li>[ ] Text is readable and crisp</li>
<li>[ ] Screenshots show real functionality</li>
<li>[ ] No personal information visible</li>
<li>[ ] Images represent the actual extension</li>
</ul>
</div>
</div>
</body>
</html>