Skip to content

Commit 14cfa95

Browse files
committed
Update transcripts for side-by-side diffs
1 parent 04cb05d commit 14cfa95

File tree

9 files changed

+3309
-1500
lines changed

9 files changed

+3309
-1500
lines changed

transcripts/share-apis/contribution-diffs/contribution-diff.json

Lines changed: 527 additions & 237 deletions
Large diffs are not rendered by default.

transcripts/share-apis/contribution-diffs/namespace-diff.json

Lines changed: 527 additions & 237 deletions
Large diffs are not rendered by default.

transcripts/share-apis/contribution-diffs/standard-term-diff.json

Lines changed: 161 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,174 @@
11
{
22
"body": {
33
"diff": {
4-
"contents": [
5-
{
6-
"diffTag": "both",
7-
"elements": [
8-
{
9-
"annotation": {
10-
"contents": "termUpdateMe",
11-
"tag": "HashQualifier"
4+
"contents": {
5+
"left": [
6+
{
7+
"kind": "unchanged",
8+
"value": [
9+
{
10+
"diffTag": "both",
11+
"elements": {
12+
"annotation": {
13+
"contents": "termUpdateMe",
14+
"tag": "HashQualifier"
15+
},
16+
"segment": "termUpdateMe"
17+
}
1218
},
13-
"segment": "termUpdateMe"
14-
},
15-
{
16-
"annotation": {
17-
"tag": "TypeAscriptionColon"
19+
{
20+
"diffTag": "both",
21+
"elements": {
22+
"annotation": {
23+
"tag": "TypeAscriptionColon"
24+
},
25+
"segment": " :"
26+
}
1827
},
19-
"segment": " :"
20-
},
21-
{
22-
"annotation": null,
23-
"segment": " "
24-
},
25-
{
26-
"annotation": {
27-
"contents": "##Text",
28-
"tag": "TypeReference"
28+
{
29+
"diffTag": "both",
30+
"elements": {
31+
"annotation": null,
32+
"segment": " "
33+
}
2934
},
30-
"segment": "Text"
31-
},
32-
{
33-
"annotation": null,
34-
"segment": "\n"
35-
},
36-
{
37-
"annotation": {
38-
"contents": "termUpdateMe",
39-
"tag": "HashQualifier"
35+
{
36+
"diffTag": "both",
37+
"elements": {
38+
"annotation": {
39+
"contents": "##Text",
40+
"tag": "TypeReference"
41+
},
42+
"segment": "Text"
43+
}
44+
}
45+
]
46+
},
47+
{
48+
"kind": "changed",
49+
"value": [
50+
{
51+
"diffTag": "both",
52+
"elements": {
53+
"annotation": {
54+
"contents": "termUpdateMe",
55+
"tag": "HashQualifier"
56+
},
57+
"segment": "termUpdateMe"
58+
}
4059
},
41-
"segment": "termUpdateMe"
42-
},
43-
{
44-
"annotation": {
45-
"tag": "BindingEquals"
60+
{
61+
"diffTag": "both",
62+
"elements": {
63+
"annotation": {
64+
"tag": "BindingEquals"
65+
},
66+
"segment": " ="
67+
}
4668
},
47-
"segment": " ="
48-
},
49-
{
50-
"annotation": null,
51-
"segment": " "
52-
}
53-
]
54-
},
55-
{
56-
"diffTag": "old",
57-
"elements": [
58-
{
59-
"annotation": {
60-
"tag": "TextLiteral"
69+
{
70+
"diffTag": "both",
71+
"elements": {
72+
"annotation": null,
73+
"segment": " "
74+
}
6175
},
62-
"segment": "\"original\""
63-
}
64-
]
65-
},
66-
{
67-
"diffTag": "new",
68-
"elements": [
69-
{
70-
"annotation": {
71-
"tag": "TextLiteral"
76+
{
77+
"diffTag": "one-sided",
78+
"elements": {
79+
"annotation": {
80+
"tag": "TextLiteral"
81+
},
82+
"segment": "\"original\""
83+
}
84+
}
85+
]
86+
}
87+
],
88+
"right": [
89+
{
90+
"kind": "unchanged",
91+
"value": [
92+
{
93+
"diffTag": "both",
94+
"elements": {
95+
"annotation": {
96+
"contents": "termUpdateMe",
97+
"tag": "HashQualifier"
98+
},
99+
"segment": "termUpdateMe"
100+
}
72101
},
73-
"segment": "\"updated\""
74-
}
75-
]
76-
}
77-
],
102+
{
103+
"diffTag": "both",
104+
"elements": {
105+
"annotation": {
106+
"tag": "TypeAscriptionColon"
107+
},
108+
"segment": " :"
109+
}
110+
},
111+
{
112+
"diffTag": "both",
113+
"elements": {
114+
"annotation": null,
115+
"segment": " "
116+
}
117+
},
118+
{
119+
"diffTag": "both",
120+
"elements": {
121+
"annotation": {
122+
"contents": "##Text",
123+
"tag": "TypeReference"
124+
},
125+
"segment": "Text"
126+
}
127+
}
128+
]
129+
},
130+
{
131+
"kind": "changed",
132+
"value": [
133+
{
134+
"diffTag": "both",
135+
"elements": {
136+
"annotation": {
137+
"contents": "termUpdateMe",
138+
"tag": "HashQualifier"
139+
},
140+
"segment": "termUpdateMe"
141+
}
142+
},
143+
{
144+
"diffTag": "both",
145+
"elements": {
146+
"annotation": {
147+
"tag": "BindingEquals"
148+
},
149+
"segment": " ="
150+
}
151+
},
152+
{
153+
"diffTag": "both",
154+
"elements": {
155+
"annotation": null,
156+
"segment": " "
157+
}
158+
},
159+
{
160+
"diffTag": "one-sided",
161+
"elements": {
162+
"annotation": {
163+
"tag": "TextLiteral"
164+
},
165+
"segment": "\"updated\""
166+
}
167+
}
168+
]
169+
}
170+
]
171+
},
78172
"tag": "UserObject"
79173
},
80174
"diffKind": "diff",

0 commit comments

Comments
 (0)