Skip to content

AI 助手抽屉:标题写「助手」,与顶栏按钮「AI 助手」不一致 #34827

Closed

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #34571(控制台核心业务操作体验专题,维护者直派,「都是p1」)。⛔ 不是认领。
维护者 2026-11-17 原话:「然后更新最新的代码,验收已开发完的功能」;看过验收结果里两处未立卡的问题后:「立卡」。

验收 #34608(已合并,PR #34665)时看到的收尾项,主体通过:顶栏机器人打开 420px 右侧抽屉,放大是原地铺满并可收回。

现状(界面实测:本地 cloud 环境,控制台是 objectstack origin/main 3bbda33 的构建,视口 1280×800,zh-CN,2026-11-17)

要做的

  1. 抽屉和铺满两种形态的标题都写「AI 助手」,与顶栏按钮一致;各语言同步(en 下按钮与标题也用同一个词)。
  2. 顺带检查同一面板里其他位置的自称(空状态、历史列表标题、提示文字),统一成同一个名字。

不做的

验收

  • zh-CN 下顶栏按钮、抽屉标题、铺满后的标题是同一个名字「AI 助手」。

Reader: domain:ui 车道,ChatDock 一侧的标题与 ui/packages/i18n/ 对应词条;与 #34725 的实现者对齐用词。

Dedupe: repo:objectstack-ai/objectstack AI 助手 抽屉 标题 助手 → 0(未关)。

Activity

  1. added
    enhancement
    priority:p1
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: domain:ui · pm:queue · 2026-11-17T12:48Z

    ⛔ Not a claim.

  3. added
    domain:ui
    pm:queue
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzfrh8TiPJf1i2kMSoa

    Claim: PM loop round 4 · 2026-11-17T14:34Z
    Session: session_01WGufzfrh8TiPJf1i2kMSoa
    Account: os-support-ai
    Branch: claude/issue-34827-ai-drawer-title
    Worktree: objectstack-issue-34827
    Domain: domain:ui
    Seat: repo:objectstack#3
    File surface: ui/packages/i18n/src/locales/*.ts (the drawer's self-name values: …dock.title and …assistant, plus any other self-name in the same panel the card's item 2 finds), a pin under ui/packages/i18n/ or ui/packages/app-shell/src/layout/__tests__/, root .changeset/. ui/packages/app-shell/src/layout/ChatDock*.tsx only if the title cannot be fixed by a value change (stated in the PR body). ⛔ Not the Studio panel (#34725), no layout or behaviour change.
    Container & model: S, mode:subagent (area o3-H), model: TIER_DEFAULT (no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack: the drawer's title values say 「助手」 / "Assistant" while the top-bar button says 「AI 助手」 / "AI assistant" | none | every console user who opens the AI drawer
    Thread-read: 6948492375
    Premise: holds (area read at origin/main d947a93: zh-Hans dock.title: '助手' (ui/packages/i18n/src/locales/zh-Hans.ts:2509) and assistant: '助手' (:2280) beside the button's aiChat: 'AI 助手' (:2150); en dock.title: 'Assistant' (en.ts:2994), assistant: 'Assistant' (:2733), button aiChat: 'AI assistant' (:2585).)
    Serial constraints cleared: #34725 (Studio panel naming, card thread) does not touch the dock keys; PRs #34845 and #34879 touch AiChatPage.tsx, not the locale files: overlap-check before the first push
    Pre-claim lane: domain:ui — ui/packages/i18n/**; routed to area o3-H by the seat (13:40Z)
    Pre-claim deps: no Blocked-by:; #34608 (the drawer) merged
    Prior rulings read: assistant,drawer,title,dock → ADR-0030 §2, ADR-0037 §2, ADR-0040 §1 (superseded by ADR-0063) / §2: term matches, none on the drawer's display name; thread: triage 6948492375 only.

    Lease o3-H (seat post #34584); sub-issue of #34571. The i18n-locale-en eager budget is nearly full: the PR measures it on the merged tree, never edits the ceiling, and stops if over. Locale-keys only ⇒ L1 alone (seat 13:40Z).

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzfrh8TiPJf1i2kMSoa
    os-dev-report

    Reported 2026-11-17T16:35Z for PR #34930 (draft).

    {
      "issue": 34827,
      "status": "done",
      "branch": "claude/issue-34827-ai-drawer-title",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34930",
      "head": "b34dabff8",
      "session": "session_01WGufzfrh8TiPJf1i2kMSoa",
      "premise_still_valid": true,
      "summary": "console.ai.dock.title now equals topbar.aiAssistant in all 11 packs (zh-Hans/zh-Hant 'AI 助手', en 'AI Assistant', the rest each pack's own top-bar word). That one key titles the rail, the window-filling form and the phone sheet; nothing in the Console passes a title prop, and Studio no longer mounts ChatDockPanel. The two inline defaultValues in ChatDock.tsx moved 'Assistant' -> 'AI Assistant' because check-i18n-call-site-keys requires literal defaults to equal en (its test went red on the value change alone), so app-shell is touched for that reason only. The dispatch named the en button as aiChat 'AI assistant'; that key is console.shortcuts.groups.aiChat (shortcuts dialog heading), the robot reads topbar.aiAssistant 'AI Assistant', which is what was matched. Item 2: dock.description, history list, build/ask empty states and unavailable copy already use the full name or carry no self-name; console.ai.assistant (agent-label fallback) and emptyDescription live in ChatPane, which the Studio panel shares, so they were left (#34725 scope); dock.open is read only by ChatDockLauncher, which no Console path mounts. The French dock.title cognate exemption in console-namespace-3546.test.tsx emptied (fr now 'Assistant IA').",
      "tests": "head b34dabff8 (origin/main fc5913e1 merged): pnpm --dir ui exec vitest run packages/i18n/ packages/app-shell/src/layout/ -> Test Files 243 passed (243), Tests 2890 passed | 13 skipped (2903); scripts/__tests__/check-i18n-call-site-keys.test.ts -> Tests 152 passed (152) (was 3 failed before the defaultValue alignment); type-check @object-ui/i18n exit 0, @object-ui/app-shell exit 0; ESLint on changed test files + en.ts exit 0. New pin ChatDock.titleMatchesTopBar-34827.test.tsx (4 cases: zh+en rail and full window, with a control reading the resize handle's name from the same pack; zh phone sheet; every pack dock.title === topbar.aiAssistant). Ablation via scripts/ablation-replace.mjs: zh-Hans dock.title back to '助手' (mutated blob 77e56f98 = origin/main zh-Hans blob), anchor 1 -> 0, pin red 'Tests 3 failed | 1 passed (4)' (the three zh cases; en green); restore blob ba955246 = HEAD, git diff HEAD empty. Eager budget on the merged tree: vite build + check:eager-closure exit 0, i18n-locale-en gzipBytes 61818 / 62_000 ceiling (182 bytes headroom), ceiling untouched. App-shell full suite left to CI Test UI (declared narrowing: one literal changed, no app-shell test outside layout/ reads the key).",
      "gates": "dispatch-gates --commands: 40 derived; 39 re-run on b34dabff8, each exit 0; the 40th (pnpm --dir ui exec vitest run scripts/) ran on 6069d44b: Test Files 1 failed | 170 passed | 2 skipped (173), the failing file being check-i18n-call-site-keys.test.ts, re-run green on the final tree (152/152). --ran: 40 derived, 40 run, 0 NOT-MEASURED, 0 UNRUN. Also ran: check-i18n-call-site-keys.mjs, check-i18n-en-drift.mjs, check-i18n-dead-keys.mjs, check:new-line-citations (0 new), all exit 0. overlap-check: VERDICT clean exit 0 at ad4288c6 (before the first content push) and at b34dabff8 (run right after the merge push, not before; see deviations). CI on PR #34930 at report time: all required jobs in_progress (Lint, Type Check, Governed Surface Queue Guard, Check Changeset, PR-body guards running); none concluded.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "3 — mcp__github__issue_read (get, get_comments), mcp__github__pull_request_read (get_check_runs); read-only",
      "api_writes": "2 — fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/34930/assignees os-support-ai; read-back 8854 bytes identical); post-stamped os-dev-report comment on #34827",
      "deviations": "overlap-check was run right after the merge push (b34dabff8) instead of before it; verdict clean. Locked verification waited about 40 min on another worktree's holder (objectstack-issue-34706 vitest run, pid 12948) before it got the lock.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "noted, not filed: console.ai.assistant ('助手' / 'Assistant') and console.ai.emptyDescription are rendered by ChatPane, shared by the console drawer and the Studio panel; changing them renames Studio text, so they belong to whoever settles #34725's wording. carrier: #34725",
        "noted, not filed: console.ai.dock.open ('打开助手' / 'Open assistant') is read only by ChatDockLauncher, which no Console path mounts (only its own test). Unused code, no filing class. carrier: none"
      ]
    }
  7. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzfrh8TiPJf1i2kMSoa

    Claim amendment (area o3-H) · 2026-11-17T17:59Z

    Amends claim 6951092301, File surface: line, for PR #34930 (L1-d REWORK M1, comment 6956430137):

    File surface (added): the existing shared harness files ui/packages/i18n/src/__tests__/console-namespace-3546.test.tsx (the French dock.title cognate exemption retires because the value now differs from en; the pin keeps asserting every French value that contains the word differs from en) and ui/packages/i18n/src/__tests__/marketplace-preview-namespace-3546.test.tsx (one comment line), per AGENTS.md's shared-harness rule (ruling record 6583487846), which outranks the claim's "a pin" wording. Nothing else in the claim changes (Clause-②: no, Metadata-protocol: none, Fixes #34827).

  8. removed
    pm:dispatched
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:uienhancementpriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions