1# Picking a day narrows the list under the grid to the repos with commits2# that day, each with its count, under a head strip saying the day, how3# many, and "show all". The address keeps it (#<day>, or #<shelf>/<day>),4# so a link opens on it; picking it again, or "show all", lets it go.5. "$(dirname "$0")/../lib.sh"6. "$(dirname "$0")/../activity-fixture.sh"7p=$FORGE_WWW/dami/index.html8page() { node --no-warnings "$T_HOME/test/page.ts" activity "$p" "$@" | grep -v '^[ *] 20'; }9day='[data-activity] button[data-day="2026-09-03"]'10eq "$(page click "$day")" "8 commits in the last year11sep 3, 2026 2 repos, 5 commits show all: notes (2 commits) go (3 commits)12address: #2026-09-03"13eq "$(page '#2026-09-03')" "8 commits in the last year14sep 3, 2026 2 repos, 5 commits show all: notes (2 commits) go (3 commits)15address: #2026-09-03"16eq "$(page '#games/2026-09-03')" "6 commits in the last year17sep 3, 2026 1 repo, 3 commits show all: go (3 commits)18address: #games/2026-09-03"19eq "$(page '#games/2026-09-03' click '[data-day-reset]')" "6 commits in the last year20games 2: go chess21address: #games"22eq "$(page click "$day" click "$day")" "8 commits in the last year23all 3: notes go chess24address: "25# A day with nothing on it says so.26eq "$(page '#2026-09-02')" "8 commits in the last year27sep 2, 2026 0 repos, 0 commits show all: No commits that day.28address: #2026-09-02"29# The picked day has an ink outline: aria-pressed.30node --no-warnings "$T_HOME/test/page.ts" activity "$p" '#2026-09-01' | grep -q '^\* 2026-09-01: 3 commits l3$' || fail "Sep 1 isn't picked"