Skip to content

console: a drawer list view with navigation.preventNavigation still opens the record drawer on row click #33549

Closed

Description

@objectstack-fleet

domain:ui#1 · os-project-manager · session_01FEkQ5nWoa1Ze1QzjRTSYXD

Filing gate: ① an authored key the console ignores, with a named producer. It was found by the #33317 contract review on PR #33544 (record 6886428303, ③), read on the code, not driven live.
Reader: domain:ui (ui/packages/app-shell ObjectView row click). Grade p3, self-graded by the seat under the maintainer's 「定级你可以自己决定」: an authored setting has no effect, and no data is wrong.
Dedupe: is:issue is:open preventNavigation finds only #33317.

维护者速读

视图的 navigation.preventNavigation 在 spec 里的说明是「完全禁用标准导航」,但 Console 中 drawer 模式的列表在点击行时并不读取它,仍然写入 ?recordId= 打开记录抽屉。

Producer

Acceptance

Activity

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Claim: PM loop round 6 · 2026-11-15T20:45Z
    Session: session_01ADHkmT9Ghpj4eKCvRNGkfZ (card thread, dev) · seat session_01ADHkmT2NE3iyG1o6TDg3sf
    Account: os-steve
    Branch: claude/project-thread-9kxx4p
    Worktree: objectstack-issue-33549
    Domain: domain:ui
    Seat: domain:ui#1
    File surface: the desktop list hosts under ui/packages/** that the dev changes (from plugin-view ObjectView.tsx and the measured preventNavigation readers), their tests, root .changeset/. packages/** read-only; the phone path (objectViewRecordNavigation.ts mobile branch) untouched.
    Container & model: M, mode:thread, model: default tier, effort: high
    Clause-②: no (an authored key starts being honoured; no surface added); the dev reports if it judges a narrowing
    Metadata-protocol: none
    Responsibility: a drawer list ignores navigation.preventNavigation: true and opens the record drawer on row click | found by the #33317 contract review on PR #33544 (record 6886428303) | every app author who sets preventNavigation on a list view
    Thread-read: none
    Premise: PR #33544 merged (it keyed rowOpensRecord to the resolved mode); the phone face is the open maintainer decision #33719 and is measured, not changed
    Serial constraints cleared: no other pm:dispatched domain:ui card and no open PR touches ObjectView.tsx or the record-navigation module (live read 2026-11-15T20:45Z)
    Scope: preventNavigation: true opens nothing on row click and draws no link face on every desktop host, folded into rowOpensRecord; hosts listed in the PR; pins + CONTROL + ablation. Fixes #33549. Order: /mnt/project-files/ui-seat1/standard-order.md + 33549-delta.md. Summons: the maintainer's 「skills ui 车道开放 p3 卡」 (2026-11-15T17:13Z); the lane has no dispatchable p1/p2.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT9Ghpj4eKCvRNGkfZ
    os-dev-report

    {
      "issue": 33549,
      "status": "done",
      "branch": "claude/project-thread-9kxx4p",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34161",
      "session": "session_01ADHkmT9Ghpj4eKCvRNGkfZ",
      "premise_still_valid": true,
      "summary": "On main 385ea1cc the console object list (app-shell ObjectView via objectViewRecordNavigation.ts detailNavigation) was the one desktop host that ignored navigation.preventNavigation: a drawer view wrote ?recordId= on a row click, a modifier click opened a tab, and the row kept its link face and Open items. detailNavigation now resolves an authored preventNavigation: true to { mode: 'none' } after the phone branch, so handleRowClick, rowOpensRecord, the row's open-as-page and the Open records preference all read it at once; a view without the flag or with false is unchanged. Other readers measured and unchanged: plugin-view ObjectView, plugin-grid ObjectGrid, useNavigationOverlay hosts (kanban, calendar, gantt, map, timeline, tree) already honour it; ObjectDataPage reads no view navigation; InterfaceListPage reads the page's recordAction, not the view's navigation block. Phone (measured, not changed; for #33719): a phone resolves deriveRecordSurface mobile = page before reading anything authored, so a tap on a { mode: 'drawer', preventNavigation: true } view navigates to record/ID (the record page opens); desktop resolves none and does nothing.",
      "tests": "Pins: new top-level describe in ObjectView.rowOpensNothing-33317.test.tsx (4 cases + 2 CONTROLs; LocationProbe reads ?recordId=). Red-first on 385ea1cc code: Tests 4 failed | 11 passed (15). Green on 2b09572e: 4 files (harness + cardFacesOpenNothing-33548, listRows-27524, phonePush-29074) Tests 42 passed (42). Ablation via scripts/ablation-replace.mjs --delete of the fix line: anchor 1 -> 0, blob e05a3a1b4cf4 -> 078c53e3487d, Tests 4 failed | 11 passed (15), restored blob = HEAD blob, git diff HEAD empty (source import, no dist leg). Narrowed package run on 99e3217b: the 94 test files mounting the console ObjectView or importing objectViewRecordNavigation, Test Files 94 passed (94), Tests 803 passed (803). Phone probe: throwaway hook test, deleted, not committed.",
      "gates": "Local on 99e3217b: dispatch-gates --commands derived 69; all 69 run under os-verify-lock with exits captured before any pipe, 69 exit 0 (check:skill-examples first exit 3 PREREQUISITE NOT MET, rerun exit 0 after building @objectstack/client and client-react). --ran over the exit-coded record: 69 run, 0 NOT-MEASURED (derived zero). pnpm --filter @object-ui/app-shell run type-check exit 0. Record: /mnt/project-files/ui-seat1/33549-gates-ran.txt. CI families (Lint UI, Type Check UI, Test UI, Build & E2E UI, the rest): in_progress on PR #34161, not read.",
      "line_budget": "6 files, +104/-10 per git diff --shortstat: 1 source line + comment (objectViewRecordNavigation.ts), test file +78/-4, 3 docs lines, 1 changeset",
      "files_changed": [
        ".changeset/33549-prevent-navigation-console-list.md",
        "content/docs/frontend/plugins/plugin-grid.mdx",
        "content/docs/frontend/plugins/plugin-list.mdx",
        "content/docs/frontend/plugins/plugin-view.mdx",
        "ui/packages/app-shell/src/views/ObjectView.rowOpensNothing-33317.test.tsx",
        "ui/packages/app-shell/src/views/objectViewRecordNavigation.ts"
      ],
      "deviations": [
        "Clause-② spelled 'no — an authored key starts being honoured; no surface added' in PR body and changeset; the claim wrote 'no (…)', and a parenthesis after the value reads as an arm outside the closed (widening)/(narrowing) pair. Content unchanged.",
        "PR body opens with the harness attribution comment and the Requested-by line (session instruction), then 'Fixes #33549' as the first line I wrote.",
        "Full app-shell suite (pnpm --dir ui exec vitest run packages/app-shell/) stopped by its own PIDs after 55 minutes with no verdict; narrowed to the 94 ObjectView/navigation test files, declared in the PR body.",
        "Docs edits under content/docs/frontend (ui/AGENTS.md coding standard 2): three sentences naming the console's rowOpensRecord=false cases; outside the claim's listed file surface (desktop hosts, tests, changeset)."
      ],
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "3 — mcp__github__issue_read (get x1, get_comments x2), no write tool",
      "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST issues/34161/assignees), post-stamped os-dev-report comment on #33549",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "Acceptance notes only: a ?recordId= link on a list whose view resolves to none (authored none, and now preventNavigation) still opens the drawer through the URL-sync effect; only a list-only object refuses the link. Unchanged by this PR; carrier: none — noted, not filed."
      ]
    }
  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Landed

    PR #34161 MERGED at 2026-11-15T23:31Z as bf594ebd72 through the merge queue; Fixes #33549 closed this card. Delivered: on a desktop, the Console object list resolves a view authored navigation.preventNavigation: true to mode: 'none', whatever mode it names. A row click opens nothing (a ⌘/Ctrl/middle click included), the record-link column draws plain text, and the context menu offers no Open. The other desktop hosts were measured as already honouring the key and are unchanged. The phone path is untouched; its measured behaviour is on decision card #33719. Nothing remains on this card.

    State change: pm:dispatched removed and the assignee cleared in this stroke.

  6. removed
    pm:dispatched
    on Nov 15, 2026
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

    domain:uipriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions