Ranked discussion
Replies ranked by votes, with separate agree and disagree counts, a sort switch, and nested replies. For idea boards and open feedback.
The code
Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.
<div class="ukc-comment-vote-ranked">
<section class="vr" aria-labelledby="ukc-comment-vote-ranked-h">
<header class="top">
<div><p class="k">Idea · 38 replies</p><h3 id="ukc-comment-vote-ranked-h">Log hours by voice on site</h3></div>
<fieldset class="sort">
<legend class="sr">Sort replies</legend>
<input type="radio" id="ukc-comment-vote-ranked-top" name="ukc-comment-vote-ranked-sort" checked><label for="ukc-comment-vote-ranked-top">Top</label>
<input type="radio" id="ukc-comment-vote-ranked-new" name="ukc-comment-vote-ranked-sort"><label for="ukc-comment-vote-ranked-new">New</label>
<input type="radio" id="ukc-comment-vote-ranked-old" name="ukc-comment-vote-ranked-sort"><label for="ukc-comment-vote-ranked-old">Oldest</label>
</fieldset>
</header>
<ol class="list">
<li>
<article class="c">
<span class="rk" aria-hidden="true">1</span>
<div>
<header class="who"><b>Kit Brennan</b><time datetime="2026-10-18T07:40">4 days ago</time></header>
<p>Only if it works with gloves on and a saw running. Push to talk on the volume button would do it.</p>
<div class="acts">
<button type="button" class="v" aria-pressed="true"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 15l6-6 6 6"/></svg><span class="sr">Agree, </span>42</button>
<button type="button" class="v" aria-pressed="false"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg><span class="sr">Disagree, </span>3</button>
<button type="button" class="lnk">Reply</button>
</div>
<ol class="kids">
<li>
<article class="c sub">
<span class="av" aria-hidden="true">MR</span>
<div>
<header class="who"><b>Mara Reyes</b><span class="team">Halden team</span><time datetime="2026-10-19T10:02">3 days ago</time></header>
<p>Push to talk is in the next build. Gloves we are still testing.</p>
<div class="acts">
<button type="button" class="v" aria-pressed="false"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 15l6-6 6 6"/></svg><span class="sr">Agree, </span>18</button>
<button type="button" class="v" aria-pressed="false"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg><span class="sr">Disagree, </span>0</button>
</div>
</div>
</article>
</li>
</ol>
</div>
</article>
</li>
<li>
<article class="c">
<span class="rk" aria-hidden="true">2</span>
<div>
<header class="who"><b>Joel Pratt</b><time datetime="2026-10-18T12:15">4 days ago</time></header>
<p>I'd want it to read the hours back before saving. I mumble.</p>
<div class="acts">
<button type="button" class="v" aria-pressed="false"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 15l6-6 6 6"/></svg><span class="sr">Agree, </span>27</button>
<button type="button" class="v" aria-pressed="false"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg><span class="sr">Disagree, </span>2</button>
<button type="button" class="lnk">Reply</button>
</div>
</div>
</article>
</li>
<li class="split">
<article class="c">
<span class="rk" aria-hidden="true">3</span>
<div>
<header class="who"><b>Tess Okoro</b><span class="mixed">Split vote</span><time datetime="2026-10-20T16:30">2 days ago</time></header>
<p>Not for me. The van is too loud. Keep the big number pad.</p>
<div class="acts">
<button type="button" class="v" aria-pressed="false"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 15l6-6 6 6"/></svg><span class="sr">Agree, </span>9</button>
<button type="button" class="v" aria-pressed="false"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg><span class="sr">Disagree, </span>11</button>
<button type="button" class="lnk">Reply</button>
</div>
</div>
</article>
</li>
</ol>
<button type="button" class="more">Show 35 more replies</button>
</section>
</div>
.ukc-comment-vote-ranked { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-comment-vote-ranked *, .ukc-comment-vote-ranked *::before, .ukc-comment-vote-ranked *::after { box-sizing: border-box; }
.ukc-comment-vote-ranked :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-comment-vote-ranked :where(ul, ol) { padding: 0; list-style: none; }
.ukc-comment-vote-ranked :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-comment-vote-ranked :where(a) { color: inherit; }
.ukc-comment-vote-ranked svg { flex: none; }
.ukc-comment-vote-ranked .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ukc-comment-vote-ranked button { padding: 0; border: 0; background: none; cursor: pointer; }
.ukc-comment-vote-ranked :focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-comment-vote-ranked .av { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: var(--uk-radius-full); background: var(--tint-strong); color: var(--uk-ink); font-size: 9px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; }
.ukc-comment-vote-ranked .av.ink { background: var(--uk-ink); color: var(--uk-paper); }
.ukc-comment-vote-ranked .av.hi { background: var(--high-tint); }
.ukc-comment-vote-ranked .av.ln { background: var(--uk-surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ukc-comment-vote-ranked .vr { max-width: 580px; }
.ukc-comment-vote-ranked .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 16px; padding-bottom: 12px; border-bottom: var(--uk-border-width) solid var(--uk-line); }
.ukc-comment-vote-ranked .k { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-comment-vote-ranked h3 { margin-top: 4px; font-family: var(--uk-font-display, inherit); font-size: 20px; font-weight: 600; line-height: 1.2; }
.ukc-comment-vote-ranked .sort { position: relative; display: inline-flex; gap: 2px; margin: 0; padding: 3px; border: 0; border-radius: var(--uk-radius-sm); background: var(--ink-soft); }
.ukc-comment-vote-ranked .sort input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ukc-comment-vote-ranked .sort label { padding: 3px 10px; border-radius: var(--uk-radius-sm); font-size: 12.5px; font-weight: 600; color: var(--uk-muted); cursor: pointer; }
.ukc-comment-vote-ranked .sort label:hover { color: var(--uk-ink); }
.ukc-comment-vote-ranked .sort input:checked + label { background: var(--uk-paper); color: var(--uk-ink); box-shadow: 0 0 0 1px var(--uk-line); }
.ukc-comment-vote-ranked .sort input:focus-visible + label { outline: 2px solid var(--uk-accent); outline-offset: 1px; }
.ukc-comment-vote-ranked .list > li { padding: 14px 0; border-bottom: var(--uk-border-width) solid var(--uk-line); }
.ukc-comment-vote-ranked .c { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.ukc-comment-vote-ranked .rk { font-family: var(--uk-font-display, inherit); font-size: 24px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--line-strong); }
.ukc-comment-vote-ranked .list > li:first-child .rk { color: var(--uk-ink); }
.ukc-comment-vote-ranked .who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 14px; }
.ukc-comment-vote-ranked .who b { font-weight: 600; }
.ukc-comment-vote-ranked .who time { font-size: 12px; color: var(--uk-muted); }
.ukc-comment-vote-ranked .team, .ukc-comment-vote-ranked .mixed { padding: 0 7px; border-radius: var(--uk-radius-full); font-size: 11px; font-weight: 600; }
.ukc-comment-vote-ranked .team { background: var(--tint); }
.ukc-comment-vote-ranked .mixed { background: var(--high-tint); }
.ukc-comment-vote-ranked .c p { margin-top: 3px; font-size: 14.5px; text-wrap: pretty; }
.ukc-comment-vote-ranked .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 8px; }
.ukc-comment-vote-ranked .v { display: inline-flex; align-items: center; gap: 3px; height: 26px; padding: 0 9px 0 5px; border: var(--uk-border-width) solid var(--uk-line); border-radius: var(--uk-radius-sm); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--uk-muted); transition: border-color var(--uk-motion-duration) var(--uk-motion-ease), background-color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-comment-vote-ranked .v:hover { border-color: var(--line-strong); color: var(--uk-ink); }
.ukc-comment-vote-ranked .v[aria-pressed="true"] { border-color: var(--uk-accent); background: var(--tint); color: var(--uk-ink); }
.ukc-comment-vote-ranked .lnk { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--uk-muted); }
.ukc-comment-vote-ranked .lnk:hover { color: var(--uk-ink); text-decoration: underline; text-underline-offset: 3px; }
.ukc-comment-vote-ranked .kids { margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--uk-line); }
.ukc-comment-vote-ranked .c.sub { grid-template-columns: 24px minmax(0, 1fr); }
.ukc-comment-vote-ranked .split .c p { color: var(--uk-muted); }
.ukc-comment-vote-ranked .more { width: 100%; height: 36px; margin-top: 12px; border: var(--uk-border-width) dashed var(--line-strong); border-radius: min(var(--uk-radius-md), 10px); font-size: 13px; font-weight: 600; color: var(--uk-muted); }
.ukc-comment-vote-ranked .more:hover { border-style: solid; color: var(--uk-ink); }
@media (prefers-reduced-motion: reduce) { .ukc-comment-vote-ranked .v { transition: none; } }
More comments
All 241: Island socket, fixed 2: Utility door, open 3: Hall switch, open Snags · 2 open
-
-
Utility door hits the boiler
Opens to 70 degrees, then stops on the boiler pipe. Rehang it to swing into the hall?
-
Hall switch is behind the door
-
Mara ReyesSite lead Start date moves to Monday 3 November. Scaffold goes up the Friday before, so keep the drive clear.
Edited 2 times · last at
-
· Mara Reyes
Start date moves to Monday
removed: 27 Octoberadded: 3 November. Scaffold goes up the Friday beforeadded: , so keep the drive clear. -
· Mara Reyes
Start date
removed: staysadded: moves to Monday 27 October. added: Scaffold goes up the Friday before. -
Original ·
Start date stays Monday 27 October.
-
Quote Q-118 · $14,280
Alder St kitchen refit
Changes requested
- Sol AmariApproved
- Dana WhitfieldChanges requested
- Rhea Lund · youNot yet
Dana Whitfield asked for changes Line 4Electrical, island circuit4 h · $360
Too light. It needs its own run from the panel, so call it 8 h and $720.
Job sheets this week
-
Alder St kitchenJS-22073 newDana, Mara, Sol and 2 others 12 comments, 3 unread
Dana: Panel photo is up. Room for two more breakers.
-
Birch Ave deckJS-22111 newRhea and Sol 4 comments, 1 unread
Rhea: Split into two invoices, both sent.
-
Corbel Rd loftJS-2198Mara, Kit and Ines 7 comments
Mara: Skip collected. Closing this one out.
-
Dunmore garageJS-22140 comments
No comments yet
-
Ticket 4127 · Open
Invoice total is off by $18.40
-
Owen TullCustomer INV-0431 says $2,118.40 but the job sheet adds up to $2,100. Which one is right?
-
Ines OrtegaPublic reply Thanks Owen, looking now. You'll hear back from me this morning.
-
Ines OrtegaInternal note @Sol materials line is rounding per item again. Same as ticket 4088?
-
Idea · 38 replies
Log hours by voice on site
Only if it works with gloves on and a saw running. Push to talk on the volume button would do it.
Push to talk is in the next build. Gloves we are still testing.
I'd want it to read the hours back before saving. I mumble.
Not for me. The van is too loud. Keep the big number pad.