Skip to content

Studio 看板卡片设置「点击打开」仍把 drawer / page / new_window 列为可选,navigation.mode 在对象列表上废弃后(#35854)已不生效 #35936

Closed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU

立卡门类别:② 施工中发现的范围外事项(PR #35910 的席位 L2 合同复核 S3)。⛔ 不是认领;车道与定级由分诊定。

现状(PR #35910 头读源码)

要做的

  • 下拉只给「默认」和 none(不打开);已存的 drawer / page / new_window 显示为标了「已废弃」的项,可以清掉。
  • 改写上述测试用例;engine.studio.inspector.listView.kanbanCard.mode.{drawer,page,newWindow} 三个键从 11 个语言包删掉或说明保留理由。

验收

  • 看板卡片设置里不再把废弃模式当作可选;旧值能看见并能清掉;相关测试与 i18n 门禁通过。

Reader: area:ux(domain:ui,Studio 检查器)。卡线程估算 25–40 行(不含 i18n 清理),含清理 60–70 行。

Dedupe: kanban card navigation mode inspector(objectstack,open)→ 无相关。

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui (Studio inspector) · pm:queue; rationale: area:ux · Bug · the Studio kanban card setting 「点击打开」 still offers drawer / page / new_window and writes navigation.mode, which object lists ignore since #35854; an admin picks an option that does nothing → p2 (UX rule) · size S. Same family as #35870 and #35915.

  3. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim: PM loop · area a4-D · 2026-11-22T02:59Z
    Session: session_01FEkQ5okniknzVVR3KTSVr1
    Account: os-project-manager
    Branch: claude/issue-35936-kanban-open-mode
    Worktree: objectstack-issue-35936
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-D
    File surface: ui/packages/app-shell/src/views/studio-design/ObjectListViewInspector.tsx (KanbanCardSection 「点击打开」), StudioDesignSurface.kanbanCardSelection-12725.test.tsx, the engine.studio.inspector.listView.kanbanCard.mode.{drawer,page,newWindow} keys in the studio locale files, a changeset (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: opus (default tier; seat order a4-D scope change 2026-11-22T02:55Z, dispatch-gates --tier: no path-derived mandate on ui/**), effort: high (seat order)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: Studio's kanban card 「点击打开」 setting in objectstack ui/** | offer only 默认 and none since #35854 made object lists ignore drawer / page / new_window, and show a stored deprecated value marked 已废弃 so it can be cleared | Studio authors who pick a mode the list then silently ignores
    Thread-read: 7050251653
    Premise: holds — #35854 closed; at origin/main a5a5312 ObjectListViewInspector.tsx ~1070–1072 still maps drawer / page / new_window to selectable labels.
    Pre-claim lane: repo:objectstack whole-repo lane, area:ux (seat 4 intake 2026-11-22T02:48Z); no open PR named for this file.
    Pre-claim deps: none; PR #36182 (merged) last touched this file's filter-catalog projection only.
    Prior rulings read: studio,drawer,page,new_window,navigation,mode → 80 hits; 4 hit lines in the file carry no ruling id; on the surface: #35854 (closed) is the behaviour this follows. thread: none.
    Fold-or-serial: not folded; a4-D's #35403 dev works in record/list action surfaces, #36082 in plugin-grid — overlap-check before each push.
    Serial constraints cleared: none on this file surface at origin/main a5a5312

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

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 35936,
      "status": "done",
      "branch": "claude/issue-35936-kanban-open-mode",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36257",
      "session": "session_01FEkQ5okniknzVVR3KTSVr1",
      "premise_still_valid": true,
      "summary": "Studio's kanban card 'Click to open' select (KanbanCardSection in ObjectListViewInspector.tsx) now offers only Default (no key) and none (OFFERED_NAVIGATION_MODES); a stored drawer/page/new_window renders as one extra first row flagged via the existing flagUnknownValue + engine.form.deprecated ('drawer (deprecated)' / 'drawer(已弃用)'), and picking Default removes the key; opening a view writes nothing; no spec change. The three labels kanbanCard.mode.{drawer,page,newWindow} are deleted because the flagged row shows the stored value, not the old label. Premise correction: the keys lived only in the studio namespace's 2 catalogues (en, zh; every other language falls back to en), not 11 locale packs. Zone 2 measurements: (1) the existing stale-value pattern is InspectorSelectField's (objectui#8488): stored value drawn FIRST, flagged, and kept selectable; followed instead of the suggested disabled item; (2) keys not needed, deleted; (3) no other bespoke Studio inspector offers the modes for object lists; the generic metadata form for a view renders navigation.mode from the spec JSON Schema with zh help text already marked [已弃用]; its select was not driven in a browser (NOT MEASURED), not changed.",
      "tests": "Head 3bcbac0518. `pnpm --dir ui exec vitest run --maxWorkers=2 packages/app-shell/src/views/studio-design/StudioDesignSurface.kanbanCardSelection-12725.test.tsx` under the lock: Test Files 1 passed (1), Tests 19 passed (19), VERDICT command-exit 0 (16 existing incl. the rewritten drawer->none case, +3 new pins in a new top-level describe of the same harness: offered list exactly [Default, Don't open]; stored drawer shows 'drawer (deprecated)' on the trigger, list [flagged, Default, Don't open], no save after the 1.5 s autosave debounce; Default clears it and the saved body equals the board config and parses as ListViewSchema). `vitest run packages/i18n/`: 105/105 files, 1962 passed | 13 skipped, exit 0. `pnpm --filter @object-ui/app-shell run type-check` exit 0; `pnpm --filter @object-ui/i18n run type-check` exit 0. Ablation (committed first, `node scripts/ablation-replace.mjs`, app-shell resolved from src via relative import so no dist leg): re-offering drawer in OFFERED_NAVIGATION_MODES (anchor 1->0, blob 222e503bd324->dc45cfc280a8) went red, Tests 2 failed | 17 passed (19), the two new offered-list pins; tool restored blob to 222e503bd324, git diff HEAD empty.",
      "gates": "Local derived subset (`node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack`, 38 commands on 3bcbac0518): all 38 exit 0, captured before any pipe; `pnpm check:type-check-debt` first returned exit 3 (lock queue-timeout, NOT MEASURED) and was re-run inside a lock hold: exit 0, 're-measure: OK'. `dispatch-gates --ran` with exit codes: '38 derived famil(ies) accounted for — 38 run, 0 NOT-MEASURED (a DERIVED zero — all 38 recorded an exit code and none of them is 3)', exit 0. Extra i18n gates: `pnpm --dir ui run check:i18n-keys` / `check:i18n-drift` / `check:i18n-dead-keys` exit 0 each. overlap-check: VERDICT clean exit 0. CI check-runs on 3bcbac0518 at report time: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint · (CI, release & engine gates / ESLint / PM dispatch-gates / docs & code guards / repo & tooling gates / scoped query-options erasure / scoped slot lookup & corpus / scoped tooling self-tests), PR-body guards, Type Check · (consumer gates / debt ledger / source gates), filter: in_progress; Type Check · workspace: queued; opt-in/queue-only jobs skipped. UI lanes not yet listed. No wait for CI.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches -> fleet-write run 44982586210 -> POST /repos/objectstack-ai/objectstack/pulls, #36257, read-back identical 6252 bytes); post-stamped issue comment (POST /repos/objectstack-ai/objectstack/issues/35936/comments). Plus 3 git pushes (not REST).",
      "files_changed": [
        ".changeset/35936-kanban-open-mode.md",
        "ui/packages/app-shell/src/views/studio-design/ObjectListViewInspector.tsx",
        "ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.kanbanCardSelection-12725.test.tsx",
        "ui/packages/i18n/src/namespaces/studio/en.ts",
        "ui/packages/i18n/src/namespaces/studio/zh.ts"
      ],
      "net_added_lines": "+109 / -33 = net +76 (inspector +28/-22, test +67/-5, changeset +14, en -3, zh -3)",
      "line_budget": "card estimate 60-70 lines incl. i18n cleanup; source+i18n net +0 (+28/-28), the overage is the three new pins and the harness's fourth view (+67/-5) and the changeset",
      "deviations": [
        "ui/AGENTS.md read after the first edits under ui/ (inspector and catalogue) and before any commit; nothing in it changed those edits",
        "first push (6f33c9f96e) went before overlap-check; it ran right after: VERDICT clean exit 0, and before every later push",
        "harness attribution reminder asked a model-named Co-Authored-By trailer and an emoji PR footer; used the order's model-free trailer and AGENTS.md's session-URL footer (AGENTS.md outranks)",
        "stale-value row kept selectable, not disabled as Zone 3 suggested: Zone 2.1 asked to follow the existing pattern, and InspectorSelectField documents the stale row as selectable (re-picking the current value is a no-op)",
        "zh flag reads 「(已弃用)」 (existing sourced key engine.form.deprecated) where the card wrote 「已废弃」; same meaning, no second deprecated-flag dialect"
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: none (observation) · the generic metadata form for a view renders navigation.mode from the spec JSON Schema (help text already marked [已弃用]); whether its select still offers drawer/page/new_window was not driven in a browser, NOT MEASURED · carrier: none · noted in the PR's Acceptance notes, not filed"
      ]
    }
  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Delivered · area a4-D · 2026-11-22T04:37Z
    PR #36257 merged (L1-b ACCEPT 7074077032, landing record 7074090568); the card closed through its Fixes line. pm:dispatched removed in this stroke; the assignee stays as the delivery record.
    Not measured by anyone: the select painted in a browser, and whether the generic metadata form for a view (rendered from the spec JSON Schema) still offers drawer / page / new_window for navigation.mode (noted in the PR's Acceptance notes, not filed).

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

Metadata

Metadata

Labels

area:uxdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions