Skip to content

Phone list cards: while selecting, a tap on a link cell opens the link instead of ticking the card #36044

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Follow-up from #35883 / #35884 (PR #36024, the phone list cards and the floating selection bar). Under epic #35880.

What happens

On the phone list, after 「⋮ More」 → 「Select」 (or a long press), the cards are in selection mode and a tap ticks a card. A tap that lands on a link cell inside the card (an email, a phone number, a URL, a lookup name) opens the link instead of ticking the card.

Expected

While a selection is open, every tap on a card ticks or unticks it, links included, as phone apps do in selection mode. Links work again when the selection ends.

To do

  1. While the list publishes an open selection, cards swallow taps on their link cells and toggle the card instead.
  2. Pin it: in selection mode, a tap on a card's email cell ticks the card and opens nothing; after × the same tap opens the link.

Acceptance

  • In selection mode on the phone, no tap on a card opens a link or a record; each tap toggles the card.

Blocked-by: #36024

Activity

  1. added
    bug
    pm:queue
    domain:ui
    on Nov 21, 2026
  2. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:ux · Bug · on the phone list in selection mode, a tap on a link cell (email, phone, URL, lookup) opens the link instead of ticking the card; follow-up of PR #36024, topic #35880 → p2 (UX has no p3; the filed p3 is raised) · size S.

  3. added
    priority:p2
    and removed on Nov 21, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5oK4fFfnLADcipbEeT

    Claim: PM loop · area a4-H · 2026-11-22T03:29Z
    Session: session_01FEkQ5oK4fFfnLADcipbEeT
    Account: os-project-manager
    Branch: claude/issue-36044-phone-select-taps
    Worktree: objectstack-issue-36044
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-H
    File surface: the phone list card rendering and its selection mode (ui/packages/plugin-grid/src/ card faces / ObjectGrid.tsx, or ui/packages/plugin-list/src/ListViewCompact.tsx, wherever the phone cards draw link cells), tests, a changeset (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: opus (default tier; dispatch-gates --tier: no path-derived mandate on ui/**), effort: high (area order a4-H)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the phone list cards in objectstack ui/** (PR #36024) | the card-level tap toggles the selection already; link cells inside the card do not defer to it | every phone user selecting cards whose list shows an email, phone, URL or lookup cell
    Thread-read: 7062106224
    Premise: holds as filed — PR #36024 merged (411fe24, an ancestor of origin/main c30ce97); the tap-through on a link cell is the dev's first reading.
    Pre-claim lane: repo:objectstack whole-repo lane, area a4-H (phone, epic #35880); all paths under ui/**.
    Pre-claim deps: Blocked-by #36024 — merged (411fe24).
    Prior rulings read: phone,list,selecting,link,cell,opens,instead,ticking → 93 hits; ADR-0050 Decision §2, ADR-0061 D2, ADR-0069 D6, ADR-0133 D3, ADR-0018 Decision §4, ADR-0019 D1, ADR-0021 D1, ADR-0024 Decision §2, none on list selection; ObjectGrid.tsx ruling lines (objectui#9547 C, declared cell keys) are outside this change; thread: none.
    Fold-or-serial: not folded; a4-D's #36082 works in plugin-grid summaries (different files); seat 1's PR #36223 edits plugin-list/src/ListView.tsx.
    Serial constraints cleared: open PR #36223 (seat 1, plugin-list/src/ListView.tsx) — this card stays out of that file unless measured necessary; overlap-check before each push

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5oK4fFfnLADcipbEeT
    os-dev-report

    {
      "issue": 36044,
      "status": "done",
      "branch": "claude/issue-36044-phone-select-taps",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36305",
      "session": "session_01FEkQ5oK4fFfnLADcipbEeT",
      "premise_still_valid": true,
      "summary": "Premise held on main c30ce97cd: the phone card (ObjectGrid buildMobileCardRenderer) toggled only on its own bubble onClick, while every link cell (EmailCellRenderer, PhoneCellRenderer, UrlCellRenderer, ReferencedRecordLink, image/file, copy buttons) stops its click and the row's Radix 'more' trigger opens on pointer-down, so in selection mode those taps opened the link/record/menu (reproduced: 4 new pins red on main's ObjectGrid.tsx). Fix is one capture-phase guard at the card (the order's preferred route): onClickCapture, while selecting or on the click ending the long press that starts a selection, preventDefaults + stops a click whose target is inside the card and toggles the card; onPointerDownCapture preventDefaults an inner pointer-down while selecting so the Radix trigger (which skips default-prevented events) opens no menu; both skip portal targets outside the card DOM. Desktop table untouched (guard lives only on the phone card); after the selection ends the same taps open links again. Element census (order Zone 2.2): email/phone/URL anchors and their copy buttons, the lookup chip (openRecord), file links and image lightbox, the host title adornment and the row's 'more' menu are all swallowed; none was judged to need to stay live, so no open question. Pins went into the cards' existing selection harness cardSelection-35883.test.tsx as a new top-level describe, not the new file the order suggested, per AGENTS.md (a new pin for a component with a shared harness file goes into that file, ruling record 6583487846).",
      "tests": "On head 2ed630f87 after building the @object-ui/plugin-grid^... closure (lock VERDICT command-exit 0). `pnpm exec vitest run packages/plugin-grid/src/__tests__/cardSelection-35883.test.tsx` (from ui/, under os-verify-lock): green 'Tests 13 passed (13)' (8 existing + 5 new: email tick + opens nothing + after x opens; lookup chip tick + no openRecord + after x opens; 'more' trigger opens no menu and ticks; long press on the email ticks and opens nothing; desktop 1280 control keeps links live while a row is ticked). Ablation 1 = reproduction on main (ObjectGrid.tsx restored from c30ce97cd, markers onClickCapture 1->0, onPointerDownCapture 1->0): 'Tests 4 failed | 9 passed (13)', the 4 phone pins red, control green. Ablation 2 (scripts/ablation-replace.mjs, onPointerDownCapture anchor 1->0, blob 4fe1c05b->5f73c210): 'Tests 1 failed | 12 passed (13)', the 'more' pin alone. Each leg restored with git checkout HEAD, proven by hash == HEAD blob 4fe1c05b and empty git diff HEAD; green again 13/13. Test imports ../ObjectGrid from source, so no dist between mutation and run (dist preflight not applicable). Package: `pnpm exec vitest run packages/plugin-grid/` 'Test Files 300 passed (300) / Tests 2654 passed (2654)' exit 0; `pnpm run type-check` in ui/packages/plugin-grid (tsc --noEmit && tsc -p tsconfig.test.json, the second compiles tests) exit 0; eslint on both changed files 0 errors, warning count equal to main's ObjectGrid.tsx (145).",
      "gates": "Local: `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 39 families on 2ed630f87; all 39 run, each exit 0 captured before any pipe (incl. check:nul-bytes, check:test-source-alias, check:cross-package-test-inputs, check:type-check-coverage/-debt, check:published-files, check:sdui-manifest, adr-0087-registration, empty-changeset, changeset-no-major; `pnpm --dir ui exec vitest run scripts/` 172 passed / 2 skipped). `--ran` reconciliation: '39 derived famil(ies) accounted for — 39 run, 0 NOT-MEASURED (a DERIVED zero)'. overlap-check --branch: VERDICT clean exit 0 (before push). CI check-runs on 2ed630f87 at report time: in_progress for Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint (CI/release & engine, ESLint, PM dispatch-gates, docs & code guards, repo & tooling, scoped x3), PR-body guards, Type Check (consumer, debt ledger, source, workspace), filter; skipped: 18.x upgrade harness, Borrowed queue verdict, Packed-tarball smoke, Queue verdict, Schedule gate. UI jobs (Lint UI, Type Check UI, Test UI, Build & E2E UI, Live E2E UI) not yet listed: NOT MEASURED, reason: not started at report time; CI's to converge. test:repo not run locally (diff does not touch it; CI's Test Core).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (repository_dispatch POST /repos/objectstack-ai/objectstack/dispatches -> pulls #36305) and this os-dev-report comment via post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/36044/comments); plus git push of the branch (not a REST write)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed (PR Acceptance notes): keyboard inside a selecting card is uneven — Enter on an inner link fires a click and toggles the card, but Enter/Space on a focused row 'more' trigger still opens its menu (Radix opens on keydown); outside this card's tap acceptance",
        "carrier: none · noted, not filed (PR Acceptance notes): the row 'more' button stays drawn while selecting and a tap on it toggles the card per the ruling; hiding it while selecting would be a design choice this card does not make"
      ],
      "deviations": "(1) Pins placed in the existing harness cardSelection-35883.test.tsx as a top-level describe instead of the order's suggested new file, per AGENTS.md ruling record 6583487846. (2) Commit trailers are model-free (Co-Authored-By: Claude) per AGENTS.md/the order, against the harness reminder that named a model; and the PR body ends with the single AGENTS.md session-URL footer, without the harness's extra 'Generated with' lines. (3) PR body: seat signature line placed after the Fixes and declaration lines, since lines 1-2 are the order's attribution block and Fixes follows it. (4) A first closure build I started with OS_SKIP_DTS=1 was meant to be replaced; killing its wrapper left its locked child running, which rebuilt packages without declarations and failed (exit 2) — rebuilt in full afterwards (exit 0); no effect on the tree or results.",
      "files_changed": [
        ".changeset/36044-phone-select-taps.md",
        "ui/packages/plugin-grid/src/ObjectGrid.tsx",
        "ui/packages/plugin-grid/src/__tests__/cardSelection-35883.test.tsx"
      ],
      "line_budget": "n/a — no skills/** or ratcheted ledger touched",
      "net_added_lines": "+199 / -1 (3 files; 200 changed lines)"
    }
  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5oK4fFfnLADcipbEeT

    Delivered · 2026-11-22T06:45Z · area a4-H · PR #36305 merged (Fixes #36044): on a phone list, while cards are selecting, a tap anywhere in a card (email, phone, link, lookup chip, the ⋮ menu) ticks the card instead of opening things; once the selection ends the same taps open again. pm:dispatched removed. The keyboard residual is its own card, #36315.

  8. removed
    pm:dispatched
    on Nov 22, 2026
  9. added a commit that references this issue on Nov 22, 2026
    729b642
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions