-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsettings.html
377 lines (340 loc) · 13 KB
/
settings.html
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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pega Dev Tools Extension Options</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="resources\huebee.pkgd.min.js"></script>
<script src="resources\jquery-3.4.1.min.js"></script>
<style>
body {
color: #eee;
background-color: #3e4b55;
font-family: OpenSans, Arial;
}
input#site {
width: 240px;
margin: 2px 5px;
}
input#label {
width: 90px;
margin: 2px 5px;
}
button#color {
border: 1px solid #181818;
width: 65px;
border-radius: 2px;
}
button {
margin: 5px;
cursor: pointer;
border-radius: 7px;
}
hr {
padding: 0px;
margin: 0px;
}
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted #fff;
}
.helper {
border-bottom: 0;
top: -4px;
}
.tooltip .tooltipText {
visibility: hidden;
width: 120px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip .tooltipText::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
.tooltip:hover .tooltipText {
visibility: visible;
opacity: 1;
}
h2,
h3 {
margin-bottom: 3px;
}
.actionButton {
background-color: #1B8EC4;
color: white;
border: none;
padding: 8px;
font-size: 14px;
font-weight: bold;
}
a {
color: #beeaff;
text-decoration: none;
font-weight: bold;
}
a.siteRem {
color: #FC543C;
}
.feature {
font-size: 10px;
}
.noCheckBox {
margin-left: 20px;
}
span.feature a::after {
content: '\1F517'; /* Unicode for a link icon */
}
select {
margin-top: 2px;
}
</style>
<link rel="stylesheet" href="resources\shared.css" />
<link rel="stylesheet" href="resources\huebee.min.css" media="screen" />
</head>
<body>
<div class="PDTrow">
<div class="PDTcolumn">
<h2>Settings</h2>
<input type="checkbox" id="useSiteLabelForBrowserTitle" /><label for="useSiteLabelForBrowserTitle"
class="tooltip">Use site label for browser title
<span class="tooltipText">If you define an environment in Site Config the browser title will
be replaced with the label you provided. Makes it easier to identify
an environment in browser tabs.
</span>
</label>
<h3>
Dev Studio <span class="feature"><a
href="https://github.com/marcin-l/PegaDevTools/wiki/Developer-Studio" target="_blank"
rel="noopener noreferrer" title="Go to PegaDevTools wiki">features</a></span>
<hr />
</h3>
<span data-pdt-setting="main">
<label for="favicon" class="tooltip noCheckBox">Favicon:
<span class="tooltipText">Alters favicon to improve environment identification in browser tabs. <br>
"Abbreviated name" will be the first character of Site name plus the last character if it exists, i.e. <strong>STG1</strong> will become <strong>S1</strong>.</span> </label>
<select id="favicon" data-pdt-setting-name="favicon">
<option value="">default</option>
<option value="small">show site color</option>
<option value="large">show site color and abbreviated name</option>
</select><br />
<input type="checkbox" id="hideEnvironmentHeader" data-pdt-setting-name="hideEnvironmentHeader" /><label
for="hideEnvironmentHeader" class="tooltip">Hide OOTB environment header
<span class="tooltipText">Site Config label is shown in Dev Studio so you might not need to
see OOTB environment header.
</span>
</label>
<br />
</span>
<span data-pdt-setting="devstudio">
<div><b>Tabs:</b></div>
<input type="checkbox" id="devstudioCloseTabMiddleClick" data-pdt-setting-name="closeTabMiddleClick" />
<label for="devstudioCloseTabMiddleClick" class="tooltip">Close with middle click
<span class="tooltipText">
Known issue: might not work for already opened tabs when you reload the browser window.
</span>
</label>
<br />
<input type="checkbox" id="devstudioHideCloseButton" data-pdt-setting-name="hideCloseButton" />
<label for="devstudioHideCloseButton" class="tooltip">Hide close button
<span class="tooltipText">
Allows to fit more tabs on the screen at once. Close button is not needed when "Close tabs with
middle click" feature is enabled when using a mouse.
</span>
</label>
<br />
<input type="checkbox" id="devstudioLongerRuleNames" data-pdt-setting-name="longerRuleNames" />
<label for="devstudioLongerRuleNames" class="tooltip">Allow longer rule names
<span class="tooltipText">By default rule names in
tabs are trimmed to 14 characters,
making it sometimes difficult to know which rule is open. <br />This option increases length to
20 characters.
</span>
</label>
<br />
<div>
<input type="checkbox" id="devstudioExpandTabOnHover" data-pdt-setting-name="expandTabOnHover" />
<label for="devstudioExpandTabOnHover" class="tooltip">Expand rule names in tab on hover (BETA)
<span class="tooltipText">
Known issue: might not work for already opened tabs when you reload the browser window.
</span>
</label>
<br />
</div>
<div>
<input type="checkbox" id="devstudioCheckoutIndicator" data-pdt-setting-name="checkoutIndicator" />
<label for="devstudioCheckoutIndicator" class="tooltip">Indicate checked-out rules (ALPHA)
<span class="tooltipText">Shows asterisk (*) prefix in tab
rule name - feature in Alpha
stage</span>
</label>
<br />
</div>
</span>
<h3>
Clipboard <span class="feature"><a href="https://github.com/marcin-l/PegaDevTools/wiki/Clipboard"
target="_blank" rel="noopener noreferrer" title="Go to PegaDevTools wiki">features</a></span>
<hr />
</h3>
<span data-pdt-setting="clipboard">
<input type="checkbox" id="clipboardSplit5050" data-pdt-setting-name="split5050" />
<label for="clipboardSplit5050" class="tooltip">Make clipboard tree navigation wider (50%)
<span class="tooltipText">Makes navigation easier on bigger monitors.</span>
</label>
<br />
<input type="checkbox" id="clipboardFullscreen" data-pdt-setting-name="clipboardFullscreen" />
<label for="clipboardFullscreen" class="tooltip">Display fullscreen
<span class="tooltipText">Resizes Clipboard popup</span>
</label>
<br />
</span>
<h3>
Tracer <span class="feature"><a href="https://github.com/marcin-l/PegaDevTools/wiki/Tracer"
target="_blank" rel="noopener noreferrer" title="Go to PegaDevTools wiki">features</a></span>
<hr />
</h3>
<span data-pdt-setting="tracer">
<div><b>Settings:</b></div>
<input type="checkbox" id="tracerSettingsFullscreen" data-pdt-setting-name="settingsFullscreen" />
<label for="tracerSettingsFullscreen" class="tooltip">Display fullscreen
<span class="tooltipText">Resizes settings</span>
</label>
<br />
<div><b>Step Page popup:</b></div>
<input type="checkbox" id="tracerPageMessagesExpand" data-pdt-setting-name="pageMessagesExpand" />
<label for="tracerPageMessagesExpand" class="tooltip">Expand messages on load
<span class="tooltipText">Always expand page messages</span>
</label>
<br />
<input type="checkbox" id="tracerPageSort" data-pdt-setting-name="pagesort" />
<label for="tracerPageSort" class="tooltip">Sort properties alphabetically
<span class="tooltipText">When viewing a page or parameters top-level properties and pages will be
sorted alphabetically in descending order. OOTB order appears to be random.</span>
</label>
<br />
<!--
Open:
<div><input type="radio" name="tracerOpenBehavior" id="tracerOpenDefault" data-pdt-setting-name="openBehavior"><label
for="tracerOpenDefault">in a <b>popup</b> (default Pega behavior)</label></div>
<div><input type="radio" name="tracerOpenBehavior" id="tracerOpenTab"><label for="tracerOpenTab">in
new <b>tab</b></label> and open property windows in <select id="tracerOpenPagesBehavior">
<option value="popup">popup (default)</option>
<option value="tab">tab</option>
</select></div>
<div><input type="radio" name="tracerOpenBehavior" id="tracerOpenWindowedTab" disabled><label
for="tracerOpenWindowedTab">in new window with tabs</label></div>
-->
</span>
<h3>
Disable components
<hr />
</h3>
<span>
<p class="margin-top-0 margin-bottom-small">
When you don't like a feature or it breaks Dev Studio you can
disable it instead of the whole extension
</p>
<input type="checkbox" id="disableClipboard" /><label for="disableClipboard">Clipboard</label><br />
<input type="checkbox" id="disableTracer" /><label for="disableTracer">Tracer</label><br />
<input type="checkbox" id="disableDevStudioCustomization" /><label
for="disableDevStudioCustomization">Dev Studio customizations</label><br />
</span>
<h3>
Agile Studio
<hr />
</h3>
<span>
<p class="margin-top-0 margin-bottom-small">
Adds closing tabs by middle mouse button click and changes favicon
</p>
<input type="checkbox" id="enableAgilestudio" /><label for="enableAgilestudio">Enable</label><br />
<h3>
Deployment Manager
<hr />
</h3>
</span>
<span>
<p class="margin-top-0 margin-bottom-small">
Changes favicon
</p>
<input class="margin-top-0" type="checkbox" id="enableDeploymentManager" /><label for="enableDeploymentManager">Enable</label><br />
</span>
<div id="settingsStatus"></div>
<button id="saveSettings" class="actionButton">Save settings</button>
</div>
<div class="PDTcolumn"></div>
<div class="PDTcolumn">
<h2>Site config <button id="addSite">+ Add site</button></h2>
<div id="siteConfig"></div>
<div id="status"></div>
<button id="saveSiteConfig" class="actionButton">Save site configuration</button>
</div>
<div class="PDTcolumn">
<h2>About this extension</h2>
<div>
<p>PegaDevTools v<span id="extensionVersion">0.9.9</span> prerelease</p>
<p>Author: Marcin Leśniak</p>
<p>
Visit <a href="https://github.com/marcin-l/PegaDevTools" target="_blank"
rel="noopener noreferrer">github.com/marcin-l/PegaDevTools</a> for new releases and check out
the <a href="https://github.com/marcin-l/PegaDevTools/wiki" target="_blank"
rel="noopener noreferrer">Wiki</a>.
</p>
<p>
There is a list of
<a href="https://github.com/marcin-l/PegaDevTools/issues" target="_blank"
rel="noopener noreferrer">Known Issues</a>
(things to be fixed and features to be implemented). <br />
If you found a bug or have a new idea/feature for the extension,
<a href="https://github.com/marcin-l/PegaDevTools/issues/new" target="_blank"
rel="noopener noreferrer">you can report them on GitHub</a>.
</p>
</div>
<div data-pdt-setting="main">
<input type="checkbox" id="debug" data-pdt-setting-name="debug" />
<label for="debug" class="tooltip">Enable debug mode
<span class="tooltipText"></span>
</label>
</div>
<h2>❤️ Support</h2>
<div>
<p style="max-width: 600px;">Thank you for using PegaDevTools! If you find this tool helpful and want to help support its continued development, please consider contributing through one of the following platforms:</p>
<p>
<a style="display:none" href='https://ko-fi.com/X8X0H5EOT' target='_blank' rel="noopener"><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi2.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
<br><a href="https://ko-fi.com/pegadevguy" rel="noopener">Ko-Fi</a> - help us maintain and grow PegaDevTools with a recurring or one-time contribution</p>
<p><a href="https://www.patreon.com/pegadevguy" rel="noopener">Patreon</a> - become a patron and enjoy exclusive benefits at various tier levels</p>
<p><form style="display:none" action="https://www.paypal.com/donate" method="post" target="_top">
<input type="hidden" name="business" value="XK4QTBJRLE3H6" />
<input type="hidden" name="no_recurring" value="1" />
<input type="hidden" name="currency_code" value="USD" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
<a href="https://www.paypal.com/donate/?business=XK4QTBJRLE3H6&no_recurring=0¤cy_code=USD" rel="noopener">Paypal</a> - make a one-time donation to show your appreciation and aiding the ongoing development
<p>
Your generosity helps fuel our progress!
</p>
</div>
</div>
</div>
<!-- <script src="shared.js"></script> -->
<script src="settings.js"></script>
</body>
</html>