-
Notifications
You must be signed in to change notification settings - Fork 24
/
yoda-release-notes.html
247 lines (204 loc) · 8.92 KB
/
yoda-release-notes.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Yoda. GitHub lightweight extention for Agile Project Management using GitHub issues. Release Notes Tool.">
<!--
Copyright 2018-2023 Hewlett Packard Enterprise Development LP
Copyright 2024- Jens Vedel Markussen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<title>GitHub Release Notes</title>
<link rel="icon" href="release-icon-32.png" type="image/png" />
<script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css">
<link rel="stylesheet" type="text/css" href="yoda.css">
</head>
<body>
<div class="frame">
<div class="dropdown">
<img id="hamburger" src="threebars.png" class="dropimg">
<div id="yodamenu" class="dropdown-content"></div>
</div>
<div class="field">
<label>Owner</label>
<input type="text" id="owner" size="15">
<span class="tooltip">GitHub organisation or user</span>
</div>
<div class="field">
<label>Repositories</label>
<select id="repolist" style="width: 500px" class="select2" multiple></select>
<span class="tooltip">Repositories to show</span>
</div>
<div class="field" style="display: none;">
<label>GitHub user</label>
<input type="text" size="20" id="user" value="">
<span class="tooltip">Your GitHub user-id</span>
</div>
<div class="field" style="display: none;">
<label>GitHub token</label>
<input type="password" size="30" id="token" value="">
<span class="tooltip">GitHub personal token</span>
</div>
<div class="field">
<label>Output file name prefix</label>
<input type="text" id="filename" size="20" value="ReleaseNotes"></input>
<span class="tooltip">Output filename. Output type will be appended</span>
</div>
<div class="field">
<label>Output Format</label><div id="outputformatradio">
<label><input type="radio" name="outputformat" checked="checked" value="html">HTML</label>
<label><input type="radio" name="outputformat" value="md">Markdown</label>
</div>
<span class="tooltip">Output format</span>
</div>
<div class="field">
<label>Table Layout</label>
<input type="checkbox" id="tablelayout" checked="checked">
<span class="tooltip">Table Layout</span>
</div>
<div class="field">
<label>Show Estimates</label><div id="estimatern">
<label><input type="checkbox" id="estimatecategory">Categories</label>
<label><input type="checkbox" id="estimateissue">Issues</label>
</div>
<span class="tooltip">Include estimates in RN (for internal overview).</span>
</div>
<div class="field">
<label>Estimates</label><div id="estimateradio">
<label><input type="radio" name="estimate" value="noissues"># issues</label>
<label><input type="radio" name="estimate" value="inbody" checked="checked">In body</label>
<label><input type="radio" name="estimate" value="inlabels" >In Labels</label>
</div>
<span class="tooltip">Where to get estimates</span>
</div>
</div>
<div class="frame">
<div class="field">
<label>Headline format</label>
<input type="text" id="hlformat" size="20"></input>
<span class="tooltip">Headline formatting. Put pre-text (comma) post-text</span>
</div>
<div class="field">
<label>Section format</label>
<input type="text" id="sformat" size="20"></input>
<span class="tooltip">Section formatting. Put pre-text (comma) post-text</span>
</div>
<div class="field">
<label>Subsection format</label>
<input type="text" id="ssformat" size="20"></input>
<span class="tooltip">Subsection formatting. Put pre-text (comma) post-text</span>
</div>
<div class="field">
<label>List format</label>
<input type="text" id="listformat" size="55"></input>
<span class="tooltip">List formatting. Put pre-text (comma) post-text (comma) pre-item (comma) post-item</span>
</div>
<div class="field">
<label>Category format</label>
<input type="text" id="catformat" size="30"></input>
<span class="tooltip">Formatting for categories Special fields are category name from label (%c). Also possible (%z) total estimates.</span>
</div>
<div class="field">
<label>Issue format</label>
<input type="text" id="rnformat" size="30"></input>
<span class="tooltip">Formatting for issue. Special fields are issue nummer (%n), id (repo and number) (%d), title (%t)<br>estimate (%e) and RN (%r). Use %x for RN under title in table, use %y to use RN if not empty, otherwise title</span>
</div>
</div>
<div class="frame" style="display: none;">
<div class="field">
<label>CSS Owner</label>
<input type="text" id="cssowner" size="15">
<span class="tooltip">GitHub organization or user for CSS file</span>
</div>
<div class="field">
<label>CSS Repository</label>
<input id="cssrepo" size="15">
<span class="tooltip">Repo for CSS file</span>
</div>
<div class="field">
<label>CSS Path</label>
<input type="text" size="50" id="csspath" value="">
<span class="tooltip">Path for CSS file</span>
</div>
<div class="field">
<label>CSS Branch / Commit</label>
<input type="text" size="20" id="cssbranch" value="">
<span class="tooltip">Optional branch for CSS file</span>
</div>
</div>
<div class="frame">
<div class="field">
<label>Closed milestones</label>
<input type="checkbox" id="closedmilestones">
<span class="tooltip">Show closed milestones</span>
</div>
<div class="field">
<label>Milestones (filter)</label>
<select id="milestonelist" style="width: 350px" class="select2" multiple></select>
<span class="tooltip">Milestones to show</span>
</div>
<div class="field">
<label>Issue Types</label>
<input type="text" id="rnlabeltypes" size="30" value="T2 - Enhancement|Added Features,T1 - Defect|Solved Issues">
<span class="tooltip">Issue types (labels) to output to RN sections). Comma-separated list of Label|Header</span>
</div>
<div class="field">
<label>Skip Label</label>
<input type="text" id="rnskiplabel" size="15" value="Q - No RN">
<span class="tooltip">Label to force skipping issue into RN</span>
</div>
<div class="field">
<label>Meta Label</label>
<input type="text" id="rnmetalabel" size="15" value="T9 - MetaIssue">
<span class="tooltip">Label to indicate that a Meta issue</span>
</div>
<div class="field">
<label>Label filter</label>
<input type="text" size="20" id="labelfilter" value="">
<span class="tooltip">Label filter as comma separated list w/o spaces (AND)</span>
</div>
<div class="field">
<label>Category Label</label>
<input type="text" size="20" id="catlabel" value="General Features,^Th - (.*)">
<span class="tooltip">Fallback category (comma) regular expression for splitting into categories</span>
</div>
<button id="drawRNbutton">Show RN</button>
<button id="downloadRNbutton">Download RN</button>
</div>
<div class="frame">
<div class="field">
<label>Release Note Known Issue Label</label>
<input type="text" id="rnknownlabel" size="25" value="Q - Known Issue">
<span class="tooltip">Label value causing issue to be listed into Known Issues RN (default "Q - Known Issue")</span>
</div>
<div class="field">
<label>Known Issue Types</label>
<input type="text" id="rnknownlabeltypes" size="30" value="T2 - Enhancement|Known Limitations,T1 - Defect|Known Issues">
<span class="tooltip">Issue types (labels) to output to Known RN sections). Comma-separated list of Label|Header</span>
</div>
<button id="drawKnownbutton">Show Known Issues</button>
<button id="downloadKnownbutton">Download Known Issues</button>
</div>
<div id="RN">
</div>
<div id="snackbar">Some text some message..</div>
<script type="module">
import { init } from './yoda-release-notes.js';
init();
</script>
</body>
</html>