progon-agent 1.0.1

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,443 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="stylesheet" href="popup.css" />
6
+ </head>
7
+ <body>
8
+ <div class="popup qa-popup">
9
+ <!-- ==================== Login Screen ==================== -->
10
+ <div id="loginScreen" class="screen">
11
+ <div class="login-container">
12
+ <div class="login-brand-mark">
13
+ <svg viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
14
+ <path
15
+ d="M28 5 L52 16 L28 27 Z"
16
+ fill="var(--color-primary-300)"
17
+ stroke="var(--color-primary-300)"
18
+ stroke-width="4"
19
+ stroke-linejoin="round"
20
+ />
21
+ <path
22
+ d="M59 28 L48 52 L37 28 Z"
23
+ fill="var(--color-primary-400)"
24
+ stroke="var(--color-primary-400)"
25
+ stroke-width="4"
26
+ stroke-linejoin="round"
27
+ />
28
+ <path
29
+ d="M36 59 L12 48 L36 37 Z"
30
+ fill="var(--color-secondary)"
31
+ stroke="var(--color-secondary)"
32
+ stroke-width="4"
33
+ stroke-linejoin="round"
34
+ />
35
+ <path
36
+ d="M5 36 L16 12 L27 36 Z"
37
+ fill="var(--color-primary)"
38
+ stroke="var(--color-primary)"
39
+ stroke-width="4"
40
+ stroke-linejoin="round"
41
+ />
42
+ </svg>
43
+ </div>
44
+ <div class="login-title" data-i18n="popup.title"></div>
45
+ <div class="login-subtitle" data-i18n="popup.login.subtitle">QA Testing Platform</div>
46
+
47
+ <div id="loginError" class="login-error hidden">
48
+ <svg
49
+ class="login-error-icon"
50
+ viewBox="0 0 24 24"
51
+ fill="none"
52
+ stroke="currentColor"
53
+ stroke-width="2"
54
+ stroke-linecap="round"
55
+ stroke-linejoin="round"
56
+ >
57
+ <circle cx="12" cy="12" r="10" />
58
+ <line x1="12" y1="8" x2="12" y2="12" />
59
+ <line x1="12" y1="16" x2="12.01" y2="16" />
60
+ </svg>
61
+ <span id="loginErrorText"></span>
62
+ </div>
63
+
64
+ <div class="login-form">
65
+ <div class="form-field">
66
+ <label class="field-label" data-i18n="popup.login.emailLabel"></label>
67
+ <input
68
+ type="email"
69
+ id="loginEmail"
70
+ class="field-input"
71
+ placeholder=""
72
+ data-i18n-placeholder="popup.login.emailPlaceholder"
73
+ />
74
+ </div>
75
+ <div class="form-field">
76
+ <label class="field-label" data-i18n="popup.login.passwordLabel"></label>
77
+ <input
78
+ type="password"
79
+ id="loginPassword"
80
+ class="field-input"
81
+ placeholder=""
82
+ data-i18n-placeholder="popup.login.passwordPlaceholder"
83
+ />
84
+ </div>
85
+ <button id="loginBtn" class="btn-sign-in" data-i18n="popup.login.signIn"></button>
86
+ <div class="login-links">
87
+ <a
88
+ href="#"
89
+ id="forgotPasswordLink"
90
+ class="login-link"
91
+ data-i18n="popup.login.forgotPassword"
92
+ ></a>
93
+ <a
94
+ href="#"
95
+ id="registerLink"
96
+ class="login-link"
97
+ data-i18n="popup.login.createAccount"
98
+ ></a>
99
+ </div>
100
+ </div>
101
+
102
+ <!-- Language switcher on login -->
103
+ <div class="login-language-switcher">
104
+ <div id="languageSwitcherLogin"></div>
105
+ </div>
106
+ </div>
107
+ </div>
108
+
109
+ <!-- ==================== Loading Screen ==================== -->
110
+ <div id="loadingScreen" class="screen loading-screen screen-active">
111
+ <div class="loading-container">
112
+ <div class="loading-brand">
113
+ <svg viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
114
+ <path
115
+ d="M28 5 L52 16 L28 27 Z"
116
+ fill="var(--color-primary-300)"
117
+ stroke="var(--color-primary-300)"
118
+ stroke-width="4"
119
+ stroke-linejoin="round"
120
+ />
121
+ <path
122
+ d="M59 28 L48 52 L37 28 Z"
123
+ fill="var(--color-primary-400)"
124
+ stroke="var(--color-primary-400)"
125
+ stroke-width="4"
126
+ stroke-linejoin="round"
127
+ />
128
+ <path
129
+ d="M36 59 L12 48 L36 37 Z"
130
+ fill="var(--color-secondary)"
131
+ stroke="var(--color-secondary)"
132
+ stroke-width="4"
133
+ stroke-linejoin="round"
134
+ />
135
+ <path
136
+ d="M5 36 L16 12 L27 36 Z"
137
+ fill="var(--color-primary)"
138
+ stroke="var(--color-primary)"
139
+ stroke-width="4"
140
+ stroke-linejoin="round"
141
+ />
142
+ </svg>
143
+ </div>
144
+ <div class="loading-bar">
145
+ <div class="loading-bar-fill"></div>
146
+ </div>
147
+ <div class="loading-text" data-i18n="popup.states.loading.message">
148
+ Loading workspace...
149
+ </div>
150
+ </div>
151
+ </div>
152
+
153
+ <!-- ==================== Main Screen ==================== -->
154
+ <div id="mainScreen" class="screen">
155
+ <!-- Header -->
156
+ <header class="header">
157
+ <div class="header-left">
158
+ <div class="brand-mark">
159
+ <svg viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
160
+ <path
161
+ d="M28 5 L52 16 L28 27 Z"
162
+ fill="var(--color-primary-300)"
163
+ stroke="var(--color-primary-300)"
164
+ stroke-width="4"
165
+ stroke-linejoin="round"
166
+ />
167
+ <path
168
+ d="M59 28 L48 52 L37 28 Z"
169
+ fill="var(--color-primary-400)"
170
+ stroke="var(--color-primary-400)"
171
+ stroke-width="4"
172
+ stroke-linejoin="round"
173
+ />
174
+ <path
175
+ d="M36 59 L12 48 L36 37 Z"
176
+ fill="var(--color-secondary)"
177
+ stroke="var(--color-secondary)"
178
+ stroke-width="4"
179
+ stroke-linejoin="round"
180
+ />
181
+ <path
182
+ d="M5 36 L16 12 L27 36 Z"
183
+ fill="var(--color-primary)"
184
+ stroke="var(--color-primary)"
185
+ stroke-width="4"
186
+ stroke-linejoin="round"
187
+ />
188
+ </svg>
189
+ </div>
190
+ <span class="brand-name" data-i18n="popup.title"></span>
191
+ </div>
192
+ <div class="header-right">
193
+ <div
194
+ id="avatarChip"
195
+ class="avatar-chip"
196
+ tabindex="0"
197
+ role="button"
198
+ aria-haspopup="true"
199
+ aria-expanded="false"
200
+ >
201
+ A
202
+ </div>
203
+ <div id="enabledToggleContainer" class="enabled-toggle-wrap"></div>
204
+ </div>
205
+ </header>
206
+
207
+ <!-- User Menu Dropdown (hidden by default) -->
208
+ <div id="userMenu" class="user-menu" role="menu">
209
+ <div class="user-menu-info">
210
+ <div id="userName" class="user-menu-name"></div>
211
+ <div id="userCompany" class="user-menu-company"></div>
212
+ </div>
213
+ <div class="user-menu-item" id="menuOpenWeb" role="menuitem" tabindex="-1">
214
+ <svg
215
+ viewBox="0 0 24 24"
216
+ fill="none"
217
+ stroke="currentColor"
218
+ stroke-width="2"
219
+ stroke-linecap="round"
220
+ stroke-linejoin="round"
221
+ >
222
+ <rect x="3" y="3" width="18" height="18" rx="2" />
223
+ <path d="M3 9h18" />
224
+ </svg>
225
+ <span data-i18n="popup.userMenu.openWeb">Open Progon Web</span>
226
+ </div>
227
+ <div class="user-menu-item danger" id="menuSignOut" role="menuitem" tabindex="-1">
228
+ <svg
229
+ viewBox="0 0 24 24"
230
+ fill="none"
231
+ stroke="currentColor"
232
+ stroke-width="2"
233
+ stroke-linecap="round"
234
+ stroke-linejoin="round"
235
+ >
236
+ <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
237
+ <polyline points="16 17 21 12 16 7" />
238
+ <line x1="21" y1="12" x2="9" y2="12" />
239
+ </svg>
240
+ <span data-i18n="popup.userMenu.signOut">Sign Out</span>
241
+ </div>
242
+ </div>
243
+
244
+ <!-- Scrollable content area -->
245
+ <div id="contentArea" class="content-area">
246
+ <!-- Disabled overlay message (shown when extension off) -->
247
+ <div
248
+ id="disabledMessage"
249
+ class="disabled-message hidden"
250
+ data-i18n="popup.states.disabled.message"
251
+ >
252
+ Extension is paused
253
+ </div>
254
+
255
+ <!-- Content sections wrapper (gets disabled class when extension off) -->
256
+ <div id="contentSections" class="content-sections">
257
+ <!-- Workspace Section (always open) -->
258
+ <div class="section">
259
+ <div class="section-label" data-i18n="popup.main.workspaceLabel">Workspace</div>
260
+ <div class="qa-workspace">
261
+ <div id="projectDropdown" class="qa-workspace__primary-slot"></div>
262
+ <div id="workspaceFilters" class="qa-workspace__filters hidden">
263
+ <div id="applicationSection" class="hidden">
264
+ <div id="applicationDropdown"></div>
265
+ </div>
266
+ <div id="environmentSection" class="hidden">
267
+ <div id="environmentDropdown"></div>
268
+ </div>
269
+ </div>
270
+ </div>
271
+ </div>
272
+
273
+ <!-- Page Overlays Section (always open) -->
274
+ <div class="section section-overlays">
275
+ <div class="section-label" data-i18n="popup.main.showOnPage">Page Overlays</div>
276
+ <div class="filter-chips">
277
+ <div
278
+ class="chip chip-checklists active"
279
+ data-filter="checklists"
280
+ tabindex="0"
281
+ role="checkbox"
282
+ aria-checked="true"
283
+ >
284
+ <span class="chip-dot"></span>
285
+ <span data-i18n="popup.main.filters.checklists">Checklists</span>
286
+ </div>
287
+ <div
288
+ class="chip chip-bugs active"
289
+ data-filter="bugs"
290
+ tabindex="0"
291
+ role="checkbox"
292
+ aria-checked="true"
293
+ >
294
+ <span class="chip-dot"></span>
295
+ <span data-i18n="popup.main.filters.bugs">Bugs</span>
296
+ </div>
297
+ <div
298
+ class="chip chip-incidents"
299
+ data-filter="incidents"
300
+ tabindex="0"
301
+ role="checkbox"
302
+ aria-checked="false"
303
+ >
304
+ <span class="chip-dot"></span>
305
+ <span data-i18n="popup.main.filters.incidents">Incidents</span>
306
+ </div>
307
+ </div>
308
+ </div>
309
+
310
+ <!-- Matching Section -->
311
+ <div class="section">
312
+ <div class="section-label" data-i18n="popup.main.matching.label">Matching</div>
313
+ <div class="setting-row setting-row-last">
314
+ <span class="setting-label" data-i18n="popup.main.matching.aiIntervention"
315
+ >AI intervention</span
316
+ >
317
+ <div id="aiInterventionToggleContainer" class="setting-control"></div>
318
+ </div>
319
+ </div>
320
+
321
+ <!-- Preferences Section -->
322
+ <div class="section">
323
+ <div class="section-label" data-i18n="popup.preferences.label">Preferences</div>
324
+ <!-- AI Model -->
325
+ <div class="setting-row">
326
+ <span class="setting-label">AI Model</span>
327
+ <div id="modelDropdown" class="setting-control"></div>
328
+ </div>
329
+ <!-- Theme -->
330
+ <div class="setting-row">
331
+ <span class="setting-label">Theme</span>
332
+ <div id="themeControl" class="setting-control"></div>
333
+ </div>
334
+ <!-- Language -->
335
+ <div class="setting-row">
336
+ <span class="setting-label" data-i18n="common.language">Language</span>
337
+ <div id="languageSwitcherMain" class="setting-control"></div>
338
+ </div>
339
+ <!-- Hotkey -->
340
+ <div class="setting-row">
341
+ <span class="setting-label" data-i18n="popup.main.hotkey.label">Hotkey</span>
342
+ <input type="text" id="hotkeyInput" class="hotkey-display" value="F2" readonly />
343
+ </div>
344
+ <!-- Step Pause -->
345
+ <div class="setting-row">
346
+ <span class="setting-label" data-i18n="popup.main.autoplay.stepPauseLabel"
347
+ >Step Pause</span
348
+ >
349
+ <div class="mini-input-group">
350
+ <input
351
+ type="number"
352
+ id="autoplayStepPause"
353
+ class="mini-input"
354
+ min="0"
355
+ max="10000"
356
+ step="50"
357
+ value="500"
358
+ />
359
+ <span class="mini-input-unit">ms</span>
360
+ </div>
361
+ </div>
362
+ <!-- Isolation -->
363
+ <div class="setting-row">
364
+ <span class="setting-label" data-i18n="popup.main.isolation.label">Isolation</span>
365
+ <div id="isolationControl" class="setting-control"></div>
366
+ </div>
367
+ <!-- Notifications -->
368
+ <div class="setting-row">
369
+ <span class="setting-label" data-i18n="popup.main.notifications.label"
370
+ >Notifications</span
371
+ >
372
+ <div id="notificationsToggleContainer" class="setting-control"></div>
373
+ </div>
374
+ <!-- Discovery -->
375
+ <div
376
+ id="discoverySettingRow"
377
+ class="setting-row setting-row--stacked setting-row-last"
378
+ data-discovery-state="loading"
379
+ >
380
+ <div class="setting-copy">
381
+ <span class="setting-label">Personal discovery</span>
382
+ <div id="discoverySettingDescription" class="setting-description">
383
+ Allow passive discovery for your account.
384
+ </div>
385
+ <div id="discoverySettingStatus" class="setting-status">
386
+ <span id="discoveryStatusText" class="setting-status-text">
387
+ Checking current discovery setting...
388
+ </span>
389
+ </div>
390
+ </div>
391
+ <div id="discoveryToggleContainer" class="setting-control"></div>
392
+ </div>
393
+ </div>
394
+ </div>
395
+ </div>
396
+
397
+ <!-- Error Toast (hidden by default, absolutely positioned at bottom of main screen) -->
398
+ <div id="errorToast" class="error-toast hidden">
399
+ <svg
400
+ class="error-toast-icon"
401
+ viewBox="0 0 24 24"
402
+ fill="none"
403
+ stroke="currentColor"
404
+ stroke-width="2"
405
+ stroke-linecap="round"
406
+ stroke-linejoin="round"
407
+ >
408
+ <circle cx="12" cy="12" r="10" />
409
+ <line x1="12" y1="8" x2="12" y2="12" />
410
+ <line x1="12" y1="16" x2="12.01" y2="16" />
411
+ </svg>
412
+ <span id="errorToastText" class="error-toast-text"></span>
413
+ <span id="errorToastRetry" class="error-toast-retry" data-i18n="popup.states.error.retry"
414
+ >Retry</span
415
+ >
416
+ </div>
417
+
418
+ <!-- Empty State (shown when no projects) -->
419
+ <div id="emptyState" class="empty-container hidden">
420
+ <svg
421
+ class="empty-icon"
422
+ viewBox="0 0 24 24"
423
+ fill="none"
424
+ stroke="currentColor"
425
+ stroke-width="1.5"
426
+ stroke-linecap="round"
427
+ stroke-linejoin="round"
428
+ >
429
+ <path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z" />
430
+ </svg>
431
+ <div class="empty-title" data-i18n="popup.states.empty.title">No projects found</div>
432
+ <div class="empty-desc" data-i18n="popup.states.empty.description">
433
+ Create a project in the web app to get started with Progon.
434
+ </div>
435
+ <button id="emptyOpenWebBtn" class="empty-btn" data-i18n="popup.states.empty.action">
436
+ Open Progon Web
437
+ </button>
438
+ </div>
439
+ </div>
440
+ </div>
441
+ <script src="popup.js" type="module"></script>
442
+ </body>
443
+ </html>