Repository navigation
fix(ui): show the correct Threads page size - #116349
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 6:45 AM ET / 10:45 UTC. ClawSweeper reviewWhat this changesThe PR makes the Threads page-size selector show its active page size on first render and gives the selector the localized accessible name “Rows per page.”. Merge readinessThis is a narrow, evidence-backed Control UI fix with no discrete correctness or security concern in the supplied patch. It should remain open for explicit maintainer handling because it carries the protected Priority: P2 Review scores
Verification
How this fits togetherThe Control UI renders the Threads page from session data and pagination state. Its page-size selector controls how many thread rows are shown and must expose both the active value and an accessible label to the browser. flowchart LR
A[Thread and pagination state] --> B[Threads page renderer]
B --> C[Page-size selector]
D[English translation catalog] --> C
C --> E[Rendered selected option]
C --> F[Accessible combobox name]
E --> G[Operator-visible pagination]
F --> H[Screen-reader navigation]
Decision needed
Why: The patch is a small UI correction with direct proof, but the protected maintainer label requires an explicit human landing decision. Before merge
Agent review detailsSecurityNone. PR surfaceSource +4, Tests +45. Total +49 across 4 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase or otherwise refresh the PR against current Do we have a high-confidence way to reproduce the issue? Yes, from source and supplied proof: render the Threads page with Is this the best way to solve the issue? Yes. Adding selected ownership to the matching dynamic option addresses the documented first-render ordering while preserving the existing value binding for updates; the localized accessible name is the narrowest compatible accessibility repair. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f1ee2a3098f6. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Merged via squash.
|
* origin/main: (99 commits) docs(automation): rename scheduled-tasks feature wording to Automations (#114855) feat(ui): finish cron -> Automations rename in visible strings (#114853) feat(cli): add openclaw automations alias and reword cron display prose (#114854) feat(agents): rename scheduler agent tool cron -> automations (#114841) fix(tui): preserve session state across switches and reconnects (#116399) feat(agents): report CLI command outcomes in channel progress fix(cli): preserve explicit option intent (#116389) fix(release): trust update restart harness (#116301) test(reef): remove false-green live guard smoke (#116393) test(comfy): evaluate live guards after setup (#116388) fix(heartbeat): serialize wake lifecycle state (#116351) test: remove redundant extension boundary wrapper (#116385) fix(test): bound Testbox agentic and extension suites (#115696) fix(ui): show the correct Threads page size (#116349) test(discord): align progress timing expectations (#116377) feat(ui): add composable skill references (#116330) fix(qa): prevent Slack cleanup from stalling profile runs (#116361) fix(ci): validate frozen release candidates faithfully (#116357) improve(ci): fail_fast option for release validation, off by default (#116352) fix(agents): compare shell tool names case-insensitively and stop re-parsing tool labels ...
* fix(ui): correct sessions page-size controls * test(ui): defer unrelated memory mock repair * style(ui): format page-size regression
What Problem This Solves
Fixes two issues on the Control UI Threads page: the page-size selector could display
10 per pageon first render while the page was actually using a different size, and screen readers exposed the selector as an unnamed combobox.Why This Change Was Made
The matching dynamic option now owns initial selection while the existing value binding continues to handle updates. The same selector receives a localized accessible name from the English source catalog. This is an AI-assisted change produced during a broad maintainer QA campaign.
User Impact
Operators now see the real active page size immediately, and assistive technology identifies the control as “Rows per page.”
Evidence
25, 15 rendered rows, and a selector displaying10 per page; Chrome exposed it as an unnamed combobox.combobox[name="Rows per page"]with value25on first paint.tbx_01kys6crscsg4xyw738qynvs48: 61/61 focused Control UI tests passed; final formatter-only head rerun passed 44/44 — https://github.com/openclaw/openclaw/actions/runs/30535347668pnpm ui:i18n:verify: passed (4632source keys, raw-copy baseline unchanged).0.99on the final focused branch diff.Visual proof
10 per pagewhile all 15 rows are rendered, and the accessibility tree has an unnamed combobox.25 per pagestate and is exposed as “Rows per page.”