Skip to content

Commit 463cab8

Browse files
committed
Construct data for and style ticket changes sections
1 parent 140f4aa commit 463cab8

5 files changed

Lines changed: 929546 additions & 13885 deletions

File tree

_data/sampletickets.json

Lines changed: 269 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,227 @@
1717
"summary": "SPAM",
1818
"description": "This is a test bug...",
1919
"keywords": "Jdsharp",
20-
"closedtime": 1171873474000000
20+
"closedtime": 1171873474000000,
21+
"changes": [
22+
{
23+
"time": 1149823269000000,
24+
"author": "john",
25+
"fields": [
26+
{
27+
"field": "resolution",
28+
"oldvalue": "",
29+
"newvalue": "fixed"
30+
},
31+
{
32+
"field": "status",
33+
"oldvalue": "new",
34+
"newvalue": "closed"
35+
}
36+
]
37+
},
38+
{
39+
"time": 1159500760000000,
40+
"author": "anonymous",
41+
"fields": [
42+
{
43+
"field": "keywords",
44+
"oldvalue": "",
45+
"newvalue": "Jdsharp"
46+
},
47+
{
48+
"field": "milestone",
49+
"oldvalue": "",
50+
"newvalue": "1.0"
51+
},
52+
{
53+
"field": "resolution",
54+
"oldvalue": "fixed",
55+
"newvalue": ""
56+
},
57+
{
58+
"field": "status",
59+
"oldvalue": "closed",
60+
"newvalue": "reopened"
61+
}
62+
]
63+
},
64+
{
65+
"time": 1159612652000000,
66+
"author": "joern",
67+
"fields": [
68+
{
69+
"field": "resolution",
70+
"oldvalue": "",
71+
"newvalue": "invalid"
72+
},
73+
{
74+
"field": "status",
75+
"oldvalue": "reopened",
76+
"newvalue": "closed"
77+
}
78+
]
79+
},
80+
{
81+
"time": 1165451871000000,
82+
"author": "<Name>",
83+
"fields": [
84+
{
85+
"field": "comment",
86+
"oldvalue": "",
87+
"newvalue": "<Text>"
88+
}
89+
]
90+
},
91+
{
92+
"time": 1170709490000000,
93+
"author": "anonymous",
94+
"fields": [
95+
{
96+
"field": "resolution",
97+
"oldvalue": "invalid",
98+
"newvalue": ""
99+
},
100+
{
101+
"field": "status",
102+
"oldvalue": "closed",
103+
"newvalue": "reopened"
104+
}
105+
]
106+
},
107+
{
108+
"time": 1170861118000000,
109+
"author": "brandon",
110+
"fields": [
111+
{
112+
"field": "resolution",
113+
"oldvalue": "",
114+
"newvalue": "invalid"
115+
},
116+
{
117+
"field": "status",
118+
"oldvalue": "reopened",
119+
"newvalue": "closed"
120+
},
121+
{
122+
"field": "summary",
123+
"oldvalue": "Test Bug",
124+
"newvalue": "SPAM"
125+
}
126+
]
127+
},
128+
{
129+
"time": 1170902023000000,
130+
"author": "anonymous",
131+
"fields": [
132+
{
133+
"field": "resolution",
134+
"oldvalue": "invalid",
135+
"newvalue": ""
136+
},
137+
{
138+
"field": "status",
139+
"oldvalue": "closed",
140+
"newvalue": "reopened"
141+
}
142+
]
143+
},
144+
{
145+
"time": 1170907969000000,
146+
"author": "brandon",
147+
"fields": [
148+
{
149+
"field": "resolution",
150+
"oldvalue": "",
151+
"newvalue": "invalid"
152+
},
153+
{
154+
"field": "status",
155+
"oldvalue": "reopened",
156+
"newvalue": "closed"
157+
}
158+
]
159+
},
160+
{
161+
"time": 1170975299000000,
162+
"author": "anonymous",
163+
"fields": [
164+
{
165+
"field": "resolution",
166+
"oldvalue": "invalid",
167+
"newvalue": ""
168+
},
169+
{
170+
"field": "status",
171+
"oldvalue": "closed",
172+
"newvalue": "reopened"
173+
}
174+
]
175+
},
176+
{
177+
"time": 1171215561000000,
178+
"author": "john",
179+
"fields": [
180+
{
181+
"field": "resolution",
182+
"oldvalue": "",
183+
"newvalue": "fixed"
184+
},
185+
{
186+
"field": "status",
187+
"oldvalue": "reopened",
188+
"newvalue": "closed"
189+
}
190+
]
191+
},
192+
{
193+
"time": 1171642644000000,
194+
"author": "anonymous",
195+
"fields": [
196+
{
197+
"field": "resolution",
198+
"oldvalue": "fixed",
199+
"newvalue": ""
200+
},
201+
{
202+
"field": "status",
203+
"oldvalue": "closed",
204+
"newvalue": "reopened"
205+
}
206+
]
207+
},
208+
{
209+
"time": 1171873474000000,
210+
"author": "joern",
211+
"fields": [
212+
{
213+
"field": "comment",
214+
"oldvalue": "1081",
215+
"newvalue": ""
216+
},
217+
{
218+
"field": "resolution",
219+
"oldvalue": "",
220+
"newvalue": "invalid"
221+
},
222+
{
223+
"field": "status",
224+
"oldvalue": "reopened",
225+
"newvalue": "closed"
226+
}
227+
]
228+
},
229+
{
230+
"time": 1319488537411866,
231+
"author": "rwaldron",
232+
"fields": [
233+
{
234+
"field": "comment",
235+
"oldvalue": "1082",
236+
"newvalue": "yay! I'm getting mesages again"
237+
}
238+
]
239+
}
240+
]
21241
},
22242
{
23243
"id": 3,
@@ -37,7 +257,30 @@
37257
"summary": "DOM insertion methods fail on elements that have a length property",
38258
"description": "The DOM insertion methods append/prepend/before/after fail on elements that have a length property, like a form or text node:\\\n\\\nThe problem lies in $.clean, proposed fix (tested):\\\n{{{\\\n$.clean = function(a) {\\\n\tvar r = [];\\\n\tfor ( var i = 0; i < a.length; i++ )\\\n\t\tif ( a[i].constructor == String ) {\\\n\t\t\tvar div = document.createElement(\\\"div\\\");\\\n\t\t\tdiv.innerHTML = a[i];\\\n\t\t\tfor ( var j = 0; j < div.childNodes.length; j++ )\\\n\t\t\t\tr[r.length] = div.childNodes[j];\\\n\t\t} else if ( a[i].length && !a[i].nodeType ) // added fix for nodes with length property (form, text node)\\\n\t\t\tfor ( var j = 0; j < a[i].length; j++ )\\\n\t\t\t\tr[r.length] = a[i][j];\\\n\t\telse if ( a[i] != null )\\\n\t\t\tr[r.length] =\\\n\t\t\t\ta[i].nodeType ? a[i] : document.createTextNode(a[i].toString());\\\n\treturn r;\\\n};\\\n}}}\\\n\\\nSee http://jquery.com/discuss/2006-May/000804/",
39259
"keywords": "dom insertion",
40-
"closedtime": 1150422710000000
260+
"closedtime": 1150422710000000,
261+
"changes": [
262+
{
263+
"time": 1150422710000000,
264+
"author": "john",
265+
"fields": [
266+
{
267+
"field": "comment",
268+
"oldvalue": "",
269+
"newvalue": "Fixed in SVN #78. Thanks for the find, Klaus!"
270+
},
271+
{
272+
"field": "resolution",
273+
"oldvalue": "",
274+
"newvalue": "fixed"
275+
},
276+
{
277+
"field": "status",
278+
"oldvalue": "new",
279+
"newvalue": "closed"
280+
}
281+
]
282+
}
283+
]
41284
},
42285
{
43286
"id": 4,
@@ -57,6 +300,29 @@
57300
"summary": "hasLayout messes up fadeIn/fadeOut",
58301
"description": "From: http://www.wait-till-i.com/index.php?p=287\\\n\\\nI had some issues with one of the code examples for the upcoming book. MSIE has a very annoying bug that when you use an opacity animation – for example with YUI or jQuery: When the element you want to fade in our out has no background colour, MSIE messes up the font for some reason. Another problem is that when you use jQuery for the fading, the element needs to have hasLayout set.\\\n\\\nTest Case:\\\nhttp://icant.co.uk/sandbox/msieopacityissue/",
59302
"keywords": "ie bug",
60-
"closedtime": 1150423430000000
303+
"closedtime": 1150423430000000,
304+
"changes": [
305+
{
306+
"time": 1150423430000000,
307+
"author": "john",
308+
"fields": [
309+
{
310+
"field": "comment",
311+
"oldvalue": "",
312+
"newvalue": "This has been resolved in SVN rev [79]."
313+
},
314+
{
315+
"field": "resolution",
316+
"oldvalue": "",
317+
"newvalue": "fixed"
318+
},
319+
{
320+
"field": "status",
321+
"oldvalue": "new",
322+
"newvalue": "closed"
323+
}
324+
]
325+
}
326+
]
61327
}
62328
]

0 commit comments

Comments
 (0)