Repository navigation
Description
epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf
Filing gate: ④ topic child. Source: topic #37853 (Jack: 「"页面里加按钮"的需求 作废」 06:28Z; card 「撤掉 ask_ai」 06:30Z; 「问 AI」 06:33Z; 「同意,立专题卡,非 cloud 的任务,让 objectstack #3 座位接手」 07:12Z, all 2026-11-27). Business reason: carried by the parent.
Parent: #37853 (rulings, target experience, card table, topic acceptance). Evidence: an independent Fable review of objectstack and cloud main (2026-11-27) checked every file:line below.
Owner: repo:objectstack#3 (Jack 07:12Z 「非 cloud 的任务,让 objectstack #3 座位接手」). Reserved under topic #37853 (pm:epic), not pm:queue: other seats leave it.
Grading: area:ux · Task · p2 · size M · window 19.1 (Jack 07:12Z).
Blocked-by: #37788 (AI home page); C4 (#37860).
Dedupe: searched empty conversation, AI home suggestions: #37788 (open, AI home page) is the first consumer, not a duplicate.
维护者速读
- 是什么:一个空会话界面组件,三处共用:AI 首页(AI 问询首页 T2:平台通用的应用内 AI 问询页面(首页态、提问、恢复对话,本页隐藏机器人) #37788)、全屏新会话、窄抽屉新会话(紧凑版)。问候、大输入框、示例问题、「最近会话 · 标题」。
What to do
- One component, three uses: AI home (AI 问询首页 T2:平台通用的应用内 AI 问询页面(首页态、提问、恢复对话,本页隐藏机器人) #37788), full-screen new chat, narrow drawer (compact).
- Resolve the three overlaps with AI 问询首页 T2:平台通用的应用内 AI 问询页面(首页态、提问、恢复对话,本页隐藏机器人) #37788:
- Each suggestion carries a mode, "send" or "fill". App-configured suggestions on the AI home send (as AI 问询首页 T2:平台通用的应用内 AI 问询页面(首页态、提问、恢复对话,本页隐藏机器人) #37788 does); platform per-page suggestions in the drawer that involve the current record fill.
- 「最近会话」: on the AI home open on that page (
?c=), because the drawer is hidden there; in the drawer open in the drawer. - Suggestion source: the AI home uses the app's
ai:chatnav-item params (AI 问询首页 T1:菜单项 ai:chat 的参数 schema 与校验,链接不再带参数 #37787); the drawer uses platform suggestions by page type.
- Greeting (time of day + name) and per-page suggestions are new strings in eleven locales.
- Today's static per-agent suggestions live in
AiChatPage.tsx:1830,2123-2149.
Acceptance
- AI home: 「最近会话」 opens on the page; suggestions send or fill per mode, matching AI 问询首页 T2:平台通用的应用内 AI 问询页面(首页态、提问、恢复对话,本页隐藏机器人) #37788.
- Full-screen and drawer new chats show the layout; compact in the narrow drawer.
Activity
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibwARdVa47nQacLfco1Account:
os-teslaBranch:
claude/project-thread-wh1csyWorktree:
objectstack-issue-37862Domain:
uiArea:
o3-askai(topic #37853, C7)Seat:
repo:objectstack#3File surface:
ui/packages/app-shell/src/console/ai/{EmptyConversation.tsx (new),emptyConversationModel.ts (new),AppAskPage.tsx,ChatPane.tsx,agentCopy.ts},ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx(the empty-state slot, a suggestion filling the input),ui/packages/app-shell/src/layout/ChatDockConversation.tsxif needed (rail and sheet get the compact form),ui/packages/i18n/src/locales/**(11 packs, zh-Hant generated), the matching__tests__,.changeset/**(stop on breach; explain in the report)Container & model:
M,mode:thread,model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate",effort: highClause-②: yes (new published locale keys widen @object-ui/i18n's public surface; precedent #37932)
Metadata-protocol: none (
modeis internal to the component; AiChatNavParams and spec unchanged)Responsibility: one empty-conversation component shared by the AI home, the full-screen new conversation and the narrow drawer (full screen draws the large form, rail and sheet the compact one), with a time-of-day greeting and platform suggestions by page type (read from ChatPane's
surfaceContext.artifact.type). Ruled by the seat: the AI home uses the app's declared title when it has one, else the greeting; the drawer always greets.Thread-read: none
Premise: holds on origin/main 4de4e3e, with corrections. Blocked-by #37788 is closed (#37889 merged 10:55Z). The card's item 4 locations are stale: per-agent static suggestions are at agentCopy.ts:55-81, used at ChatPane.tsx:580-584, and the drawer's empty state is drawn at ChatbotEnhanced.tsx:619-650. The AI-home half exists (AppAskPage.tsx:326-456), so C7 extracts it into the shared component and adds the rest. Jack's ruling 7221127130 starts it now.
Serial constraints cleared:
C4 PR #37970 (draft) touches ChatPane.tsx, ChatDock*.tsx and en.ts; C1 PR #37924 touches ChatDockConversation.tsx; PR #37989 touches en.ts; C5 #37861 and Q2b #37874 also touch ChatPane.tsx and ChatbotEnhanced.tsx. The thread works in parallel, runs overlap-check against each open PR before its first push, and merges main after each lands (real merge, no rebase, no force-push).objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibwARdVa47nQacLfco1
os-dev-report
{ "issue": 37862, "status": "done", "branch": "claude/project-thread-wh1csy", "pr": "https://github.com/objectstack-ai/objectstack/pull/38011", "session": "session_01L9qibwARdVa47nQacLfco1", "premise_still_valid": true, "summary": "One EmptyConversation component (console/ai/EmptyConversation.tsx, rules in emptyConversationModel.ts) draws the empty conversation in three places: the AI home (large, its own question box in the composer slot, the entry's title else the greeting, the entry's suggestions send, recent opens on the page via ?c=), the full-window drawer (large) and the rail and phone sheet (compact). The greeting reuses Home's home.greeting* keys with the user's name. Suggestions carry a mode: in the drawer the ask agent on a record gets two fill suggestions, on a list/dashboard/report two send suggestions, elsewhere the agent starters send. ChatbotEnhanced gains renderEmptyState({send, fill}); ChatPane opts in through emptyConversation, which only the drawer passes. The drawer's recent list shows the drawer agent's threads (not the AI home's), 3 compact / 5 large, opened in the drawer.", "tests": "At bf9d5b8f: vitest app-shell/src/console/ai, app-shell/src/layout, plugin-chatbot/src: 279 files / 2428 passed. packages/i18n: 108 files, 1869 passed, 13 skipped. app-shell/src/__tests__ + clickableNonControlCensus: 27 files / 480 passed. At b41c6ea0 (last source change): ChatDock.emptyConversation-37862 (6), emptyConversationModel-37862 (8), AppAskPage-37788 (15): 29 passed; ChatbotEnhanced.renderEmptyState-37862: 6 passed. Ablation on disk, restored from the commit, each red one case: fill->send in ChatPane; size always compact; fill via plain .value setter; drawer recent without the activePackageId filter.", "gates": "dispatch-gates --commands at b41c6ea0: 41 derived families, each exit 0; --ran reconciliation 41 derived / 41 run / 0 NOT-MEASURED (derived zero). pnpm --filter @object-ui/app-shell run type-check: exit 0; pnpm --filter @object-ui/plugin-chatbot run type-check: exit 0. eslint on changed files: 0 errors, no new warning on changed lines. overlap-check --pr=37970,37924,37989,38004,38005 vs origin/main 30a8047b: VERDICT clean. CI check-runs on #38011: in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "4 — mcp__github__issue_read x3, mcp__github__pull_request_read x1 (reads only)", "api_writes": "2 — relay pr_create (POST /pulls draft + POST /issues/38011/assignees), relay comment (this report)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: none — the greeting hour buckets copy Home's pickGreetingKey (HomePage.tsx, outside the surface); noted in Acceptance notes, not filed (not one of the three classes)"] }objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim amendment 1 to 7221234060. It records the one file draft PR #38011 (head
b41c6ea0) touches outside the claimed surface, from report 7222350321.File surface adds:
ui/packages/plugin-chatbot/src/chat/types.ts, whereChatbotEnhancedPropsdeclares the newrenderEmptyStateprop.Accepted deviation, recorded in the PR's Acceptance notes: in the drawer, the input stays at the bottom and does not move to the centre of the empty state. It carries the page chip, C5's focus row and the queued sends.
Everything else in the claim is unchanged.
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Maintainer ruling 2026-11-27T15:54Z, Tesla, on the seat's decision card 「C7 全屏新会话的输入框保持在底部,你接受吗?」. Verbatim tap: 「要做成居中大输入框」 (2026-11-27T15:53Z).
This answers L2 F1 on PR #38011 (record 7222493699): topic #37853 item 9 and this card's 速读 call for a large composer in the full-screen new conversation. So:
Part of #37862and lands as PR 1: the shared empty-conversation component, the greeting, page-type suggestions, and the drawer's recent list.Fixes #37862.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Maintainer ruling 2026-11-27T15:54Z, which supersedes 7222625442. Within a minute of that tap, Tesla took it back, verbatim: 「感觉在底部也没问题,不用继续了」 (2026-11-27T15:54Z).
So the composer in the full-screen new conversation stays at the bottom. This settles L2 F1 on PR #38011 (record 7222493699) as accepted. PR #38011 keeps
Fixes #37862. There is no PR 2 and no follow-up card.