From 9b720178a097dab0677d3a12fb456806351a6b6a Mon Sep 17 00:00:00 2001 From: builder Date: Sat, 10 Oct 2026 10:08:15 +0800 Subject: [PATCH 1/2] Show per-option vote counts next to percentages on results --- templates/poll.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/poll.html b/templates/poll.html index 73e39ba..ac060c0 100644 --- a/templates/poll.html +++ b/templates/poll.html @@ -51,7 +51,7 @@

Live results

{{ r['text'] }} - {{ r['percent'] }}% + {{ r['percent'] }}% · {{ r['votes'] }} vote{{ 's' if r['votes'] != 1 }}
{{ r['votes'] }} @@ -106,7 +106,8 @@

Live results

function barHTML(r) { return '
' + '
' + - '' + r.percent + '%
' + + '' + r.percent + '% · ' + + '' + r.votes + ' vote' + (r.votes === 1 ? '' : 's') + '
' + '
' + '' + r.votes + '
'; } From 9475256124cf2d510f8a163358a12532d31223c5 Mon Sep 17 00:00:00 2001 From: builder Date: Sat, 10 Oct 2026 10:24:06 +0800 Subject: [PATCH 2/2] CI: raise TestSprite wait timeout to 1800s (11 browser tests need ~15 min) --- .github/workflows/testsprite.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/testsprite.yml b/.github/workflows/testsprite.yml index 54fe926..519d3a3 100644 --- a/.github/workflows/testsprite.yml +++ b/.github/workflows/testsprite.yml @@ -18,3 +18,5 @@ jobs: with: api-key: ${{ secrets.TESTSPRITE_API_KEY }} project: "05ffab45-d2e7-4f74-a1a6-a90462468fcc" + # 11 browser tests take ~15 min; the default 600s wait times out + timeout: 1800