Previews

No matching results.

x
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
<div style="display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem;">
<strong style="font-size: 0.875rem;">PR #112 — feat/timeline-component</strong>
<span class="midwest-badge size-default theme-green">
<span class="value">Merged</span>
</span>
<span class="midwest-badge size-default theme-primary">
<span class="value">6 comments</span>
</span>
</div>
<ol class="midwest-timeline is-compact" aria-label="PR review thread">
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-sm theme-blue shape-circle" title="You tabbed on an Avatar for Will Riley">
<div class="letter" title="Will Riley">
WR
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.25rem; font-size: 0.875rem;">
<strong>Will Riley</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">Yesterday at 9:14 am</span>
</p>
<p style="margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--gray-10);">
Opening for review. Added the <code>TimelineComponent</code> with vertical, horizontal, compact,
and alternating variants. Tests cover 216 assertions across all four gemfile targets.
Previews are in <code>elements/timeline_component_preview</code>.
</p>
<a class="midwest-button variant-ghost size-tiny theme-primary" name="button" href="#">
<span class="midwest-button-content">Reply</span>
<div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none">
<div class="midwest-loading-icon-inner">
<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true">
<circle cx="15" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="60" cy="15" r="9" fill-opacity="0.3">
<animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="105" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
</svg>
</div>
</div>
</a>
<ol class="midwest-timeline is-nested" aria-label="Replies">
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-xs theme-green shape-circle" title="You tabbed on an Avatar for Amy Kim">
<div class="letter" title="Amy Kim">
AK
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Amy Kim</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">9:41 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Looks great overall. One question — the nested thread connector uses a hardcoded
<code>-2.075rem</code> left offset. Is that derived from a token or is it magic?
</p>
</div>
</li>
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-xs theme-indigo shape-circle" title="You tabbed on an Avatar for Jake Sullivan">
<div class="letter" title="Jake Sullivan">
JS
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Jake Sullivan</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">10:03 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
It's <code>connector-col (1.75rem) + col-gap (0.75rem) - line-width (2px)</code> — I'd
love to see it expressed as a CSS calc so it self-documents. Otherwise LGTM.
</p>
</div>
</li>
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-xs theme-blue shape-circle" title="You tabbed on an Avatar for Will Riley">
<div class="letter" title="Will Riley">
WR
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Will Riley</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">10:22 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Good catch — I'll derive it from the tokens in the next commit so it stays in sync
if connector-col or col-gap ever change.
</p>
</div>
</li>
</ol>
</div>
</li>
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-sm theme-indigo shape-circle" title="You tabbed on an Avatar for Jake Sullivan">
<div class="letter" title="Jake Sullivan">
JS
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.25rem; font-size: 0.875rem;">
<strong>Jake Sullivan</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">Yesterday at 10:48 am</span>
</p>
<p style="margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--gray-10);">
The alternating layout is a nice touch. Did you consider adding a token for the
minimum column width so callers can tighten it on narrow viewports?
</p>
<a class="midwest-button variant-ghost size-tiny theme-primary" name="button" href="#">
<span class="midwest-button-content">Reply</span>
<div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none">
<div class="midwest-loading-icon-inner">
<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true">
<circle cx="15" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="60" cy="15" r="9" fill-opacity="0.3">
<animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="105" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
</svg>
</div>
</div>
</a>
<ol class="midwest-timeline is-nested" aria-label="Replies">
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-xs theme-blue shape-circle" title="You tabbed on an Avatar for Will Riley">
<div class="letter" title="Will Riley">
WR
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Will Riley</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">11:05 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Good idea — added <code>--timeline-alt-min-col: 12rem</code> and wired it to the
<code>1fr</code> columns. Pushed to the branch.
</p>
</div>
</li>
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-xs theme-indigo shape-circle" title="You tabbed on an Avatar for Jake Sullivan">
<div class="letter" title="Jake Sullivan">
JS
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Jake Sullivan</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">11:19 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Perfect. Approved.
</p>
</div>
</li>
</ol>
</div>
</li>
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-sm theme-violet shape-circle" title="You tabbed on an Avatar for Priya Sharma">
<div class="letter" title="Priya Sharma">
PS
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.25rem; font-size: 0.875rem;">
<strong>Priya Sharma</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">Today at 8:55 am</span>
</p>
<p style="margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--gray-10);">
Nit: compact variant last-item feels a bit tight — the bottom of the final dot
almost clips the element below it. Could we bump the padding-bottom by
<code>0.25rem</code>?
</p>
<a class="midwest-button variant-ghost size-tiny theme-primary" name="button" href="#">
<span class="midwest-button-content">Reply</span>
<div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none">
<div class="midwest-loading-icon-inner">
<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true">
<circle cx="15" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="60" cy="15" r="9" fill-opacity="0.3">
<animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="105" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
</svg>
</div>
</div>
</a>
<ol class="midwest-timeline is-nested" aria-label="Replies">
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-xs theme-blue shape-circle" title="You tabbed on an Avatar for Will Riley">
<div class="letter" title="Will Riley">
WR
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Will Riley</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">9:08 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Fixed in <code>3a91c2f</code> — overrode the last-child rule in <code>.is-compact</code>
to add the extra breathing room.
</p>
</div>
</li>
</ol>
</div>
</li>
<li class="midwest-timeline-item">
<div class="midwest-timeline-item-connector" aria-hidden="true">
<span class="midwest-timeline-item-dot">
<span class="midwest-avatar size-sm theme-green shape-circle" title="You tabbed on an Avatar for Amy Kim">
<div class="letter" title="Amy Kim">
AK
</div>
</span>
</span>
<span class="midwest-timeline-item-line"></span>
</div>
<div class="midwest-timeline-item-card">
<p style="margin: 0 0 0.25rem; font-size: 0.875rem;">
<strong>Amy Kim</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">Today at 9:31 am</span>
</p>
<p style="margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--gray-10);">
All threads resolved. Merging — nice work everyone.
</p>
<a class="midwest-button variant-ghost size-tiny theme-primary" name="button" href="#">
<span class="midwest-button-content">Reply</span>
<div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none">
<div class="midwest-loading-icon-inner">
<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true">
<circle cx="15" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="60" cy="15" r="9" fill-opacity="0.3">
<animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="105" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
</svg>
</div>
</div>
</a>
</div>
</li>
</ol>
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
<%#
PR review thread — exercises every nested connector shape:
├──● (middle replies), └──● (last / single replies), and top-level items
with no replies at all. Four comments with 3 / 2 / 1 / 0 replies.
%>
<div style="display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem;">
<strong style="font-size: 0.875rem;">PR #112 — feat/timeline-component</strong>
<%= midwest_badge('Merged', state: :success) %>
<%= midwest_badge('6 comments', state: :default) %>
</div>
<%= midwest_timeline(compact: true, label: 'PR review thread') do |t| %>
<%# ── Comment 1: three replies (├ ├ └) ───────────────────────────── %>
<% t.with_item do |item| %>
<% item.with_icon { midwest_avatar(name: 'Will Riley', size: :sm, shape: :circle, color: :blue) } %>
<p style="margin: 0 0 0.25rem; font-size: 0.875rem;">
<strong>Will Riley</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">Yesterday at 9:14 am</span>
</p>
<p style="margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--gray-10);">
Opening for review. Added the <code>TimelineComponent</code> with vertical, horizontal, compact,
and alternating variants. Tests cover 216 assertions across all four gemfile targets.
Previews are in <code>elements/timeline_component_preview</code>.
</p>
<%= midwest_button('Reply', '#', size: :tiny, variant: :ghost) %>
<% item.with_reply do |reply| %>
<% reply.with_icon { midwest_avatar(name: 'Amy Kim', size: :xs, shape: :circle, color: :green) } %>
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Amy Kim</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">9:41 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Looks great overall. One question — the nested thread connector uses a hardcoded
<code>-2.075rem</code> left offset. Is that derived from a token or is it magic?
</p>
<% end %>
<% item.with_reply do |reply| %>
<% reply.with_icon { midwest_avatar(name: 'Jake Sullivan', size: :xs, shape: :circle, color: :indigo) } %>
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Jake Sullivan</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">10:03 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
It's <code>connector-col (1.75rem) + col-gap (0.75rem) - line-width (2px)</code> — I'd
love to see it expressed as a CSS calc so it self-documents. Otherwise LGTM.
</p>
<% end %>
<% item.with_reply do |reply| %>
<% reply.with_icon { midwest_avatar(name: 'Will Riley', size: :xs, shape: :circle, color: :blue) } %>
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Will Riley</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">10:22 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Good catch — I'll derive it from the tokens in the next commit so it stays in sync
if connector-col or col-gap ever change.
</p>
<% end %>
<% end %>
<%# ── Comment 2: two replies (├ └) ──────────────────────────────── %>
<% t.with_item do |item| %>
<% item.with_icon { midwest_avatar(name: 'Jake Sullivan', size: :sm, shape: :circle, color: :indigo) } %>
<p style="margin: 0 0 0.25rem; font-size: 0.875rem;">
<strong>Jake Sullivan</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">Yesterday at 10:48 am</span>
</p>
<p style="margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--gray-10);">
The alternating layout is a nice touch. Did you consider adding a token for the
minimum column width so callers can tighten it on narrow viewports?
</p>
<%= midwest_button('Reply', '#', size: :tiny, variant: :ghost) %>
<% item.with_reply do |reply| %>
<% reply.with_icon { midwest_avatar(name: 'Will Riley', size: :xs, shape: :circle, color: :blue) } %>
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Will Riley</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">11:05 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Good idea — added <code>--timeline-alt-min-col: 12rem</code> and wired it to the
<code>1fr</code> columns. Pushed to the branch.
</p>
<% end %>
<% item.with_reply do |reply| %>
<% reply.with_icon { midwest_avatar(name: 'Jake Sullivan', size: :xs, shape: :circle, color: :indigo) } %>
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Jake Sullivan</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">11:19 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Perfect. Approved.
</p>
<% end %>
<% end %>
<%# ── Comment 3: one reply (single └) ───────────────────────────── %>
<% t.with_item do |item| %>
<% item.with_icon { midwest_avatar(name: 'Priya Sharma', size: :sm, shape: :circle, color: :violet) } %>
<p style="margin: 0 0 0.25rem; font-size: 0.875rem;">
<strong>Priya Sharma</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">Today at 8:55 am</span>
</p>
<p style="margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--gray-10);">
Nit: compact variant last-item feels a bit tight — the bottom of the final dot
almost clips the element below it. Could we bump the padding-bottom by
<code>0.25rem</code>?
</p>
<%= midwest_button('Reply', '#', size: :tiny, variant: :ghost) %>
<% item.with_reply do |reply| %>
<% reply.with_icon { midwest_avatar(name: 'Will Riley', size: :xs, shape: :circle, color: :blue) } %>
<p style="margin: 0 0 0.2rem; font-size: 0.8125rem;">
<strong>Will Riley</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">9:08 am</span>
</p>
<p style="margin: 0; font-size: 0.8125rem; color: var(--gray-10);">
Fixed in <code>3a91c2f</code> — overrode the last-child rule in <code>.is-compact</code>
to add the extra breathing room.
</p>
<% end %>
<% end %>
<%# ── Comment 4: no replies ───────────────────────────────────────── %>
<% t.with_item do |item| %>
<% item.with_icon { midwest_avatar(name: 'Amy Kim', size: :sm, shape: :circle, color: :green) } %>
<p style="margin: 0 0 0.25rem; font-size: 0.875rem;">
<strong>Amy Kim</strong>
<span style="font-size: 0.75rem; color: var(--gray-8); margin-left: 0.375rem;">Today at 9:31 am</span>
</p>
<p style="margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--gray-10);">
All threads resolved. Merging — nice work everyone.
</p>
<%= midwest_button('Reply', '#', size: :tiny, variant: :ghost) %>
<% end %>
<% end %>

No assets to display.
Add a .js or .css file alongside the component to see it here.

Accessibility

Figma embed for Timeline/thread

Annotate a preview to embed its Figma design here:

@figma "https://figma.com/..."