Skip to content

bug(platform): Home Inbox marks a partial selection as Select all and clears it on click #3734

Closed

Description

@yannickmonney

Selecting one row in the Home Inbox renders Select all as fully checked, even though the toolbar says 1 selected and other rows remain unchecked. Clicking it clears the one selected row instead of selecting the remaining rows.

Reproduce locally

  1. Open Home's Inbox list with multiple loaded conversations.
  2. Select just one row.
  3. Inspect the toolbar's Select all checkbox and activate it.

Expected: a partial selection is represented as mixed/indeterminate; Select all selects the visible set.

Observed in a 30-row actual-component replay: selectedBefore=1, aria-checked="true"; activating Select all produces selectedAfter=0. The status label and control disagree, including for assistive technology.

Independent evidence and control

The parent rendered actual HomeInboxList with real pagination/selection hooks and HTTP adapter reading local native fixture data. No writes were made. The same selection model in the phone Conversations list correctly returned aria-checked="mixed", and activating it selected all 201 loaded fixture rows. This is a component/DOM proof; no visual or browser-width result is claimed.

Root cause

app/features/home/components/home-inbox-list.tsx:334 uses selection.selectAllChecked ? true : .... The selection hook deliberately returns the string 'indeterminate' for a partial selection, which is truthy. The phone list passes that value through correctly.

Preserve the three-state value rather than coercing it to Boolean. Add a real-checkbox test covering none, some, all and the next click, including filtered rows. This is separate from the API bulk limit: it fails with only 30 rows and makes no request.

Audit scope and reproduction record

  • Tested source: 480ee6a3e6d33c3414a2c0f8a52fded1ddc4ca2d; local-only audit on 2026-09-28.
  • Relevant source compared with origin/main 2be6c267eaf8b7a67d0e5abe1b0b3d655eb2ca25. The cause remains present; the only changes in the compared Inbox UI files are unrelated accent/filter-error affordances.
  • Full-body dedup reviewed against the all-state issue snapshot and the existing 102-finding baseline. This is one distinct cause, not an endpoint/locale variant or documented debt.
  • Parent replay log: /Users/yannick/.codex/notes/tale-1000-additional/inbox-next/parent-boundaries.log. Retained proof code lives in the same notes directory outside the repository. No production testing, real customer data, provider calls or application source edits.
  • Source links are rooted at the tested commit.
  • Severity: P2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions