From ac9df48a3d8603869bffa692b1a2591a866ece3e Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 5 Nov 2026 21:13:28 -1000 Subject: Let a keyboard scroll the stats table It scrolls sideways like the hex dump, with nothing inside a keyboard can reach, so it takes focus and the shared focus ring the same way. --- tests/t0112-stats.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/t0112-stats.sh b/tests/t0112-stats.sh index 722a61c..4b45ee8 100755 --- a/tests/t0112-stats.sh +++ b/tests/t0112-stats.sh @@ -42,6 +42,12 @@ test_expect_success 'stats page renders the authors table' ' grep "

Commits per author" tmp ' +# The table scrolls sideways on a narrow window with nothing in it a keyboard +# can reach, so the table itself takes focus. +test_expect_success 'the authors table can take keyboard focus' ' + grep "" tmp +' + test_expect_success 'stat options sit above the content' ' tr -d "\n" Commits per author.*//" | grep "cgit-panel" ' -- cgit 2.12.1