Repository navigation
Open
Feature
1 / 21 of 2 issues completed
Copy link
Labels
area:clouddomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p1High: required for production / M2
Description
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
立卡门类别:④ 协调节点的子单,承父单 #34571(控制台核心业务操作体验专题,维护者直派)。⛔ 不是认领。
维护者 2026-11-19 原话:「看一下右侧的界面,很混乱。」;「构建两个字不需要吧,切换应用也不需要吧,不管问数还是构建,始终就是当前应用。」;看过图 27 后:「立卡」。
效果图(图 27,右半部分)
现状(界面实测:托管环境 os-4e4qa4.objectos.app(预览版,控制台比 origin/main 旧),zh-CN,视口 1167×762,2026-11-19;销售应用「商机 / 进行中商机」列表,AI 助手停靠在右侧)
- 面板约 410px 宽,标题区两行共 7 个控件。第一行:「AI 用量:额度充足」图标、历史、展开、收起对话。第二行:「构建」字样、「切换应用」(显示「销售」)、「构建诊断」(虫子图标)、分享。
- 来问数据的业务用户也看到「构建」「构建诊断」。
- 回答里的表格比面板宽:第一条回答的表格列排到 x=1190,超出视口(1167),最后一列被切。表格工具的名称是英文「Copy table」「Download table」。
- 「正在看:商机」标签浮在对话内容上,压住正文最后一行。
- 输入区:模型选择占 179px 仍被截成「Fast · Claude Haiku…」;「发送」「Shift+ 换行」提示被挤成两行小字;左侧「+」按钮没有无障碍名称。模型列表对用户显示倍率(×1、×2.2、×20、×40)。
要做的
- 去掉第二行:不显示「构建」字样,不提供「切换应用」。助手的对象始终是当前应用;标题「AI 助手」旁用小字只读显示应用名。问数还是搭建由助手按输入判断,不让用户先选。
- 这改掉 AI 助手抽屉:对话跟着应用走——切到另一个应用时自动换成那个应用的对话,不再停在上一个应用的对话里 #35014 里「范围选择器保留」的做法(已随 fix(app-shell): the AI drawer's conversation follows the app #35078 落地);对话仍按应用分开、切应用自动换对话,这部分不变。
- 标题栏一行:历史、「···」、关闭(关闭按钮见 AI 助手面板右上角的「收起对话」图标改成与抽屉一致的「×」关闭 #35426)。用量、分享、铺满、构建诊断收进「···」;构建诊断只对有搭建权限的人显示。
- 回答里的表格宽度不超过面板,列多时在表格内部横向滚动;表格工具按钮用当前语言。
- 「正在看:…」放进输入框上沿,不再浮在对话内容上。
- 输入区:模型选择只显示档位名(如「快速」),列表里不显示倍率数字(改成「消耗较多」一类说明);快捷键提示只占一行,或只在输入框为空时显示;「+」补上名称「添加附件」。
待维护者确认的一点(立卡时未答复)
首页、「全部文档」这类页面没有「当前应用」。协调席的建议:在这些页面上助手只问数和问用法(范围是整个环境),要改应用时提示「请先进入要改的应用」;新建应用仍走首页的「用 AI 搭建」。车道动这一块前请先在卡上确认。
不做的
- 不改对话按应用存取的逻辑;不改 Studio 里的 AI 面板。
- 左侧列表被挤的问题另卡。
验收
- 销售应用里打开 AI 助手:标题区只有一行,页面上没有「构建」字样和「切换应用」;切到服务应用再打开,标题旁显示「服务」,对话是服务应用的。
- 问一个返回 5 列表格的问题:表格不超出面板。
- 没有搭建权限的用户看不到「构建诊断」。
Reader: domain:ui 车道,ui/packages/app-shell/src/layout/ChatDock.tsx、ChatDockConversation.tsx,文案 ui/packages/i18n/src/locales/zh-Hans.ts:2194(switchApp)、:2245(buildDoctor)。
Dedupe: AI 助手 构建 切换应用 标题栏、chat dock header scope picker remove(objectstack,open)→ 0。
Sub-issues
Collapse Sub-issuesSub-issues
Loading 2 sub-issues
Metadata
Metadata
Assignees
Labels
area:clouddomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p1High: required for production / M2

Activity
objectstack-fleet commentedon Nov 19, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
维护者裁决(2026-11-19T09:35Z):卡面「待维护者确认的一点」已确认。维护者问「没有当前应用的页面上助手对着谁,你的建议是什么?」,看过下面的方案后答复:「同意」。
在没有当前应用的页面上(首页、全部文档、应用市场、Studio 着陆页;系统设置本身是一个应用,按普通应用处理),助手对着整个环境,只负责「问」;要「改」时让用户选一个应用并带过去:
⚠ 未核实:「进入应用并把这句话带过去」需要对话跨页面延续。对话现在按应用分开存,带过去的这句话是在目标应用的对话里重发一次还是另有机制,协调席没有查代码,车道接手时先确认可行性;不可行就在卡上写明并给出替代(例如只跳转并把这句话预填进输入框)。
objectstack-fleet commentedon Nov 19, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
补充前提(2026-11-19T09:40Z):去掉「切换应用」之前,问数必须先能跨应用。
维护者 2026-11-19:「当前应用,当前对象,应该是优先问数的选择,不应该是限制,对吧」。
同日在托管环境实测:有搭建权限的账号在销售应用里问「服务模块里现在有多少未关闭的工单?另外费用报销里有几笔待审批的报销?」,助手答「这个应用里没有服务工单和费用报销的数据对象……请告诉我应用名称,我可以去那里查」。它现在靠本卡要去掉的「切换应用」来跨模块。
后端的范围限定在 cloud,已立 objectstack-ai/cloud#4894(问数面向整个环境,当前应用只作优先;改应用仍只对当前应用)。
落地顺序:本卡第 1 条(去掉「切换应用」)要与 cloud#4894 同时或在其之后上线;其余几条(标题栏一行、表格、「正在看」、输入区)不受影响,可以先做。
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Feature (AI panel header and answer layout in apps) · from the maintainer's topic #34571 → p2. The p1 was set by the coordinator with noRuling-ref:quoting the maintainer, and a Feature is never p1 under the rules of #35223; the topic sets its order. Note the 09:40Z precondition on the card: cross-app asking must land before the app switcher goes.objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Ruling-ref: priority:p1 · maintainer 2026-11-19T11:0xZ, verbatim: 「我亲自立的卡,亲自交代的 p1」
2026-11-19T11:23Z · p2 → p1, restored. My R1239 downgrade was wrong: this card was filed on the maintainer's own direction in topic #34571 and the p1 is his. The coordinator's grades on #34571 children stand as maintainer-set from here on.
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
Claim: area ux-1 round 14 · 2026-11-19T13:01Z
Session:
session_01Utp6CbSphdunq2aJq7ktuYAccount:
os-billArea: ux-1 (seat's pick by grade)
Branch:
claude/issue-35445-ai-panel-tidyWorktree:
objectstack-issue-35445Domain:
domain:uiSeat:
repo:objectstack#5File surface:
ui/packages/app-shell/src/layout/ChatDock*.tsx,ui/packages/app-shell/src/layout/chatDock*.ts(x),ui/packages/app-shell/src/layout/useConsoleChatDock.tsx,ui/packages/app-shell/src/console/ai/**,ui/packages/plugin-chatbot/src/**, the renderer that draws an answer's table and its Copy / Download buttons (wherever it lives; named in the PR),ui/packages/i18n/src/locales/*.ts(new keys only), their tests; root.changeset/. Other files read-only.Container & model: M,
mode:subagent,model: default tier,effort: highClause-②: no
Metadata-protocol: none
Responsibility: the AI panel in an app is crowded: two header rows of 7 controls, answer tables wider than the panel with English tool names, the 「正在看」 chip floating over the last line, a truncated model picker showing multipliers, a two-line shortcut hint and an unnamed 「+」 | the console chat dock header, the answer table renderer and the composer | every user who opens the AI panel in an app
Thread-read: 7007698120
Premise: measured by the coordinator on a hosted preview older than
origin/main; the dev re-readsorigin/mainand says which findings no longer hold.Pre-claim lane:
ui/packages/app-shell/**,ui/packages/plugin-chatbot/**→domain:ui, area ux-1.Pre-claim deps: item 1 (drop 「构建」 and 「切换应用」) ships with or after objectstack-ai/cloud#4894 (comment 7005401342), so it is NOT in this round; items 2–5 do not wait.
Prior rulings read: maintainer 「同意」 on the no-current-app pages (7005289154, item 1 only, not this round);
check-prior-rulings --terms "chat dock,scope picker,AI panel header,model multiplier"→ 0 hits. The dev checks whether the multiplier display (#33660) was a maintainer ruling before item 5 removes it.Serial constraints cleared: open-PR file scan of 49 open PRs: none touches the chat dock,
console/ai/orplugin-chatbot/. The dev runs overlap-check before the first push.Scope: items 2–5 — header on one row (history, 「···」, close as #35426), usage / share / fill / build diagnostics under 「···」 with build diagnostics only for users who can build; answer tables never wider than the panel, scrolling inside, tool names localized; 「正在看」 on the composer's top edge; model picker shows the tier name only and no multiplier numbers, a one-line shortcut hint, 「+」 named 「添加附件」. Rides #35426 (same header).
Refs #35445(item 1 stays open),Fixes #35426.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
os-dev-report
{ "issue": 35445, "status": "done", "branch": "claude/issue-35445-ai-panel-tidy", "pr": "https://github.com/objectstack-ai/objectstack/pull/35573", "pr_number": 35573, "final_head": "1b6dbff1bd", "diff_lines": "25 files, +732/-75 (git diff --shortstat origin/main...HEAD at 1b6dbff1bd vs origin/main 5cd2b540de)", "session": "session_01Utp6CbSphdunq2aJq7ktuY", "premise_still_valid": true, "summary": "The console AI drawer title bar is one row: History, a 「···」 menu (usage reading with its low-pool CTA and a marker on the trigger, Share, Expand/Restore, Build Doctor) and a 「×」 Close (#35426, Fixes). The Build Doctor is offered only when useCanAuthorMetadata() is true (it was shown to business users on build targets); Share and the doctor leave the pane row via ChatPane actionsInHost, with full-page chat and Studio unchanged. Composer: the 「正在看」 chip is the input frame's top row, the closed model picker shows the label alone without xN, the key hint stays on one line, and 「+」 is named 添加附件; answer-table copy/download tools are named via i18n (11 packs). Held for ruling: list-row xN (prior ruling) and the bare tier name 「快速」 (needs a spec tier key); item 1 left untouched per the ruling zone. Re-read of origin/main: the 'table wider than panel' finding no longer holds (it already scrolls inside: client 337 / scroll 655, wrapper 784-1141 inside the drawer's 757-1167), and the chip was already in flow above the input rather than floating; the English tool names, two-line hint and unnamed 「+」 held and are fixed.", "tests": "Pre-merge at 1aeec5a214 under the lock: pnpm --dir ui exec vitest run --maxWorkers=2 packages/plugin-chatbot/ packages/i18n/ packages/app-shell/ -> Test Files 2540 passed | 1 skipped (2541), Tests 24884 passed | 22 skipped (24906), VERDICT command-exit 0. Final head 1b6dbff1bd (origin/main eed422ea24 merged): typecheck app-shell, plugin-chatbot, i18n exit 0; scoped re-run Test Files 754 passed, Tests 7203 passed | 13 skipped, exit 0. New pins: ChatDock.test.tsx (7 in the one-row describe, incl. low-pool marker with CONTROL), ChatDock.appBinding-10926 (4, real body: pane row has no share/doctor; non-builder gets no doctor with builder CONTROL), surfaceContextTitle-8219 (chip inside frame), modelPicker-11865 (添加附件, nowrap hint, truncating picker), chatAnswerLayout-13032 (zh 复制表格/下载表格 + en CONTROL + scroll structure). Old pins updated: modelCostMultiplier-33660 (plugin-chatbot trigger inverted; app-shell reads trigger name); list-row xN pins unchanged. Ablations (scripts/ablation-replace.mjs, on-disk proof, restored to HEAD blob, empty git diff HEAD): drop actionsInHost prop -> 1 failed/23; Close icon swapped -> 1 failed/17; build-permission gate defeated (canAuthorMetadata || true) -> 1 failed/23; drop ...tableToolLabels -> 1 failed/36. First attempt at three of them was a no-op (empty/semicolon replacement refused by the tool), disclosed in the PR body and re-run with --delete / a distinctive replacement.", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands -> 40 derived families, each run with :: exit 0; --ran reconciliation: 40 derived, 40 run, 0 NOT-MEASURED, 0 UNRUN. ui scripts vitest Test Files 171 passed | 2 skipped. ui check-i18n-call-site-keys exit 0, check-new-cross-file-line-citations exit 0 (0 new), check-i18n-en-drift exit 0. node scripts/pm/overlap-check.mjs before push and again before pr_create: VERDICT clean exit 0 (merges cleanly onto 5cd2b540de). Model-identifier and control-byte scans of body and diff: no hits. CI on 1b6dbff1bd at report time: Governed Surface Queue Guard=success; Check Changeset, Check PR Size, Lint (CI/release/engine, ESLint, PM dispatch-gates, docs & code guards, repo & tooling, three scoped), PR-body guards, Type Check (consumer, debt ledger, source, workspace), filter = in_progress; opt-in/queue/schedule rows skipped. test:repo not run locally (diff touches no repo-project test) - declared to CI.", "dogfood_battery": "n/a — no ! in the PR title and Clause-② no (no narrowing arm)", "mcp_calls": "0", "api_writes": "2 relay dispatches (POST /repos/objectstack-ai/objectstack/dispatches): (1) pr_create -> POST pulls (draft #35573) + POST issues/35573/assignees [os-bill], read back 13394/13394 bytes identical; (2) os-dev-report comment on #35445 via post-stamped.mjs. git push to the claim branch (not REST).", "prior_ruling": "「只要选择时能够看清楚倍数」 — account owner's condition for opening the paid model picker on production, cloud#4536, quoted on #33660 triage comment 6889924748. Figure 27 annotates only the closed trigger (「只显示档位名,不显示倍率」), so xN was removed from the trigger only; list rows and the x20 confirm keep it.", "item1_feasibility": "Feasible with existing code, no new mechanism: ChatDockControl.open(target, {handoffPrompt}) in ui/packages/app-shell/src/layout/chatDockControl.tsx holds the handoff in memory (useConsoleChatDock); dockTargetFollowsApp in layout/chatDockTarget.ts shows the target in app X; ChatDockConversation seeds pendingFirstMessageRef with targetAgentRoute build; useDeferredFirstSend in console/ai/AiChatPage.tsx sends it once the conversation id lands. Limits: memory only (objectui#12493) so it does not survive a reload, it targets the build agent, and the caller must navigate into X. Prefill-only (no send) would need new code: useComposerDraftHandoff carries a draft only between panes of the same host and endpoint.", "open_questions": [ { "question": "Should the open model list drop xN for a cost word, given the prior ruling 「只要选择时能够看清楚倍数」 (cloud#4536 via #33660)?", "options": [ "A keep xN in list rows and the x20 confirm (as shipped); only the closed trigger drops it", "B replace list-row xN with a cost word; needs a maintainer ruling that supersedes the cloud#4536 condition, then a follow-up PR (about 1 file + 2 pins)" ], "recommendation": "A, because the ruling governs the moment of choice and figure 27 annotates only the closed trigger" }, { "question": "How should the closed picker show the bare tier name 「快速」 when AiModelsResponseSchema has no tier field?", "options": [ "A add a spec key (e.g. tier) to the model entry that cloud fills, then show it on the trigger: contract change, spec + cloud + one UI line", "B parse the cloud label at its first ' · ': forbidden consumer-side parse under contract-first", "C keep the truncated label (as shipped)" ], "recommendation": "A, because it is the contract-first route; C stands until then" }, { "question": "维护者速读 length: the dispatch said at most 4 lines, os-dev.md fixes six named lines. Which governs?", "options": [ "A os-dev.md six lines (used here, per 'conflict -> this file wins')", "B the dispatch's four lines; seat trims the PR body" ], "recommendation": "A, because os-dev.md says it prevails over dispatch wording; flagged rather than silently chosen" } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · console.ai.dock.collapse is now unreferenced in the drawer; left in all packs (surface is new keys only; check-i18n-dead-keys is report-only) — noted, not filed", "carrier: none · the 「···」 usage block omits the popover's reset countdown; standalone AiUsageIndicator (Studio copilot) keeps it — noted, not filed" ] }objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
Close-out of this round · 2026-11-19T16:46Z: PR #35573 merged as 83a79e6 (L1-a ACCEPT 7015101751; landing 7015132027). It delivers items 2–5: the one-row header with 「···」 and 「×」, Build Doctor only for builders, the 「正在看」 chip in the input frame, no ×N on the closed picker, a one-line key hint, 「+」 named 添加附件, and localized table tools. Answer tables already scrolled inside the panel on main; that is now pinned.
Still open on this card:
ChatDockControl.open(target, {handoffPrompt})already carries a sentence into the target app's build conversation once its id lands; it is memory only.pm:dispatched → pm:blocked.
Blocked-by: objectstack-ai/cloud#4894
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Re-route:
area:ux→area:cloud. The grade and pm state are unchanged.Rule: the maintainer said at 2026-11-24T03:50Z 「等 cloud 的任务,应该转到 area:cloud」, naming #35442 and #35445 as examples. An objectstack card whose remaining work waits on a cloud card goes to
area:cloud. This card waits on objectstack-ai/cloud#4894 (cross-app data questions must work first).