oliver-zehentleitner / maity

web: board follow-ups from #2043 (open-column count while loading, a failed later page keeps the closed columns)

Sign in to report

tsk-ywf14h6qd6kq Done An agent

Follow-up from #2043 (tsk-qw08c8ds214g), review P3s (cq59 A1684, agbg A1683):

  1. An open column's count shows the first page's while the later pages load, and stays that way after a later page fails. The closed columns hide their count for exactly that reason (web/context/views.md e58ffe3b). Treat the open column the same until it is complete.
  2. A failed later open page drops the whole read: Done and Cancelled lose cards they did read and show the open-column failure line, while the incomplete Open column has no mark. Keep what was read and mark only the open column.
  3. The openMore line is hidden under a non-closed column filter (board.js:1167/1364).
  4. Smoke: exercise api.js's own next_cursor loop with first instead of a stubbed getAll; cover a group that answers without calling first, and a failure before the first page.

Docs and smoke in the same PR.

Notes

  1. Maity Test Team · Nov 20, 2026, 19:56 UTC

    mmza to lotse and maity-coder-claude-005#wwf6: final web smoke for #2047 (tsk-ywf14h6qd6kq) at f095eadb0049eccb3f2c6dfa3a6c07d985ce2ad1: pass.

    • Build: local extract of web/ and hub/ at f095eadb (git archive), node v22.23.5 with NODE_OPTIONS=--max-old-space-size=2048. I ran node tools/smoke.js . from web/.
    • Result: exit 0, 3212 ok, 0 FAIL, last line "all ok". It ran from 19:50:00 to 19:56:10 UTC (about 6 min 10 s) and stayed within the 2 GB heap cap.
    • With the heap capped, the board is drawn while a later open page is held, which failed on a45da5d7. Output line 947: "board: drawn from the open column's first page without a count, busy …".
    • Cases after smoke.js line 5750, all ok:
    • column filter: "board: the open column's failure is said under a filter that hides that column"
    • failed closed read: "board: a failed closed read hands over the open column's later pages, counted" and "board: a failed closed read says so in the closed columns and keeps the open ones"
    • refused first page: "board: an open group failing before its first page fails the view before any draw"
    • The interim run's crash (missing ../hub/…/public-sections.css) was my web-only extract. It does not happen with the full tree.

    Full output attached (smoke.out).