Repository navigation
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Description
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
立卡门类别:④ 协调节点的子单,承父单 #36107(专题:去掉顶栏和平台首页那一层,维护者直派)。第一阶段。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。
维护者说过的(2026-11-21)
- 看过十二项清单后:「按清单立卡」
- 看过 Studio 的效果图后:「可以,拆第一阶段」
- 方向上的原话全文在父单 专题:去掉顶栏和平台首页那一层——登录直接进应用,全局入口进左侧菜单,侧栏第一项是首页(分三个阶段,十二项) #36107 的「维护者说过的」一节,本卡只引和本卡有关的。
- 「右上角已经有个铅笔图标,是不是编辑应用的意思?加上文字放在哪里合适吗?」
- 「右上角不需要显示头像」
- 「帮助是不是应该在右上角已经有图标?首页右上角是不是也可以显示帮助,左侧就不需要了」
本卡是父单清单的第 3、4 项。它先做:去掉顶栏(「外壳(二)」)之前,顶栏上的编辑应用、AI、帮助要先在页面头部有位置。
现状(主干 c00be39b74,读代码加浏览器实测)
- 列表、仪表盘、设置页用同一个页面头部组件(
ui/packages/app-shell/src/layout/PageHeader.tsx)。 - 报表自己画标题,没有用这个组件(
views/ReportView.tsx、views/AppReportIndexView.tsx)。 - 自定义页面没有头部,只有一个浮动的「在 Studio 中编辑」按钮(
views/PageView.tsx)。 - 编辑应用(铅笔图标,名字就叫「编辑应用」,点了进 Studio 并打开当前对象)、AI 助手、帮助,现在都在顶栏右边(
layout/AppHeader.tsx)。 - 记录页头部已有一个带铅笔的「编辑」按钮,是编辑这条记录。
效果图
要做的
- 报表、自定义页面改用统一的页面头部:左边是这一页的名称,右边留给第 2 项的按钮组。自定义页面原来那个浮动的「在 Studio 中编辑」按钮去掉,由按钮组里的「编辑应用」代替。
- 右上角按钮组,从左到右:评论、编辑应用、AI、帮助。所有应用内页面(列表、记录、仪表盘、报表、自定义页面、首页)位置一致。
- 评论:只在列表页和记录页出现(评论专题 专题:评论重做——从「动态」页签里拿出来做成独立的评论栏,记录页、抽屉、列表共用;补「已解决」、回复通知、列表里的评论入口(分三个阶段) #36062 的图标放这个位置;那边没做完前这个位置空着)。
- 编辑应用:带文字「编辑应用」,图标不用铅笔(和记录的「编辑」区分)。点了进 Studio 并直接打开当前对象或页面,行为和现在顶栏的铅笔一样。只有能搭建的人看得到。窗口窄时收成只有图标,鼠标移上去显示文字。
- AI:打开右侧 AI 助手面板,和现在顶栏的按钮是同一个。
- 帮助:问号图标,点了是现在顶栏帮助菜单里的内容。
- 不显示「正在看这一页的人」的头像。
- 过渡期:顶栏还在的时候,这组按钮和顶栏上的会重复。本卡把按钮组做成由外壳决定显不显示;顶栏还在时默认不显示,「外壳(二)」去掉顶栏时打开。本卡合并后,使用者看到的界面没有变化,只有报表和自定义页面多了头部。
不做的
- 不去掉顶栏(「外壳(二)」)。
- 不改列表页顶部的结构(「外壳(三)」)。
- 不做评论栏。
- 不改 Studio。
验收
- 打开一个报表、一个自定义页面:顶部有和仪表盘同样样式的头部,显示页面名称。自定义页面上不再有浮动的「在 Studio 中编辑」按钮。
- 用测试开关把按钮组打开后:列表、记录、仪表盘、报表、自定义页面的右上角都有同一组按钮,顺序和位置一致。
- 点「编辑应用」:进 Studio,打开的是当前这个对象;没有搭建权限的账号看不到它。
- 点「AI」:右侧 AI 面板打开。点问号:出现帮助菜单。
- 把窗口缩窄:「编辑应用」收成图标。
- 顶栏还在、开关关着时:页面右上角没有这组按钮,顶栏上的照旧。
- PR 正文附报表、自定义页面改动前后的截图,以及按钮组打开时的截图。
协调席自己加的(不是维护者原话)
- 把父单的第 3、4 两项合成一张卡。
- 第 4 项「过渡期」的做法(顶栏还在时默认不显示)。
- 「编辑应用」不用铅笔图标、窗口窄时收成图标。
- 记录页头部较满,「编辑应用」在记录页上是直接显示还是收进「更多」,没有定;本卡先直接显示,放不下时在卡上说。
没有核对的
- 帮助菜单现在具体有哪几项,只看到「全部文档、在线文档、关于」三项,没有读代码确认是不是全部。
Reader: domain:ui 车道。ui/packages/app-shell/src/layout/PageHeader.tsx、AppHeader.tsx(按钮现在的位置)、AssistantTopBarButton.tsx、views/ReportView.tsx、views/AppReportIndexView.tsx、views/PageView.tsx。
Dedupe: 报表 页面头部、编辑应用 按钮 右上角(objectstack,open)→ 见父单 Dedupe,都是 0。
Metadata
Metadata
Assignees
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3

Activity
objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Feature · shell (1): reports and custom pages get the common page header, and every page has a fixed top-right button group (comments, edit app, AI, help); phase 1 of topic #36107, to go first → p2 as set by the coordinator · size M.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: PM loop · 2026-11-21T15:05Z · area b1-SH (epic #36107 phase 1; the maintainer took the epic for this seat on its decision card, 「接,先派 #36111」).
Area: b1-SH
Session:
session_01L6bhgVcCRGjxwhDjrRVYsY(card thread)Account:
os-salesBranch: claude/project-thread-k8r3np
Seat:
repo:objectstack#1Domain:
domain:uiFile surface: app-shell
layout/PageHeader.tsx,layout/AppHeader.tsx(the help menu and the edit-app button move out into shared components, the top bar uses the same code), a new page-actions group and its internal context provided byConsoleLayout,views/ReportView.tsx,views/AppReportIndexView.tsx,views/PageView.tsx,RecordDetailView.tsx(near the page frame only), the interface-mode list page header; tests (the three PageView edit-entry tests move to the group), changeset.Container & model:
M/L, card thread,model: opus,effort: highClause-②: no (expected: no package-root export, no i18n key, no
componentsprop; re-measured on built declarations before push)Metadata-protocol: none
Premise (thread, read on main
db9e34ad, filebuild-seat1/36111/premise.mdin the project folder): holds. The help menu has five items, not three (this app's docs when a doc exists, all docs, keyboard shortcuts, online docs, about).Basis: card #36111; epic #36107 (fig. 45, the maintainer's words).
Scope, the seat's reading: reports get the shared page header. The button group (comments slot, edit app, AI, help) is one component behind an app-shell context, default OFF while the top bar exists; tests mount the provider, and browser evidence uses a guarded localStorage switch that #36112 removes when it turns the default on. Drawn once per page (inner headers turn it off), only inside the app shell, never at phone width. Edit app: a text label with a non-pencil icon, builders only, icon-only under 1024, same target as the top-bar pencil; the read-only package's eye form carries over. On the record page the group sits at the right end of the navigation row, left of ✕, through
RecordTopBar's existingframeslot. The comments icon from #36075 stays where #36114 puts it in this PR; it joins the group's first position when #36112 turns the group on (fig. 45 and the card's order). Phones are unchanged (epic #36107: 「手机端不动」), so the custom page's floating edit button stays at phone width.Open, to the maintainer after fable review: custom pages that draw their own title (an authored
page:header, an html page's hero, the interface-mode page's own h1) would show the title twice under the card's literal text. The thread builds option C of its premise (add the shared header only where the page has none; otherwise place the group in the host slotPageHeaderTrailingContext; the interface-mode page's own row becomes the shared header) until the answer.Resume-from: none
Fold-or-serial: #36112 and #36113 wait for this card. Overlap: #36114 and #35890 (
RecordDetailView.tsx), #36047 slice 2 (report title type size).overlap-check.mjsbefore each push. L1 at L1-c. The PR carriesFixes #36111.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Maintainer ruling · 2026-11-21T15:29Z · #36111: the header on custom pages (reviewed by fable first)
At 2026-11-21T15:29Z the maintainer picked option A on the seat's decision card, "the shared header on every custom page, the author's content untouched": every custom page gets the same shared page header as dashboards (the page name on the left, the top-right button group on the right), so the group sits in one place on every page. The page name the renderer draws by itself when a page has no titled
page:headerfolds into that header and is no longer drawn twice (the dashboard precedent). Apage:headerthe author wrote is drawn as before; when its title equals the page name, the name shows twice, which is accepted. The interface-mode page's own row is replaced by the shared header (it is drawn by the platform from page config, so nothing is lost). html and react pages get the shared header too. This replaces the thread's earlier option C (group in the host slot inside the content), which would have put the group lower and inset on some pages and left no place for #36112's sidebar expand button. In this PR the two showcase pages whose authored title equals the page name (my-work, project-workspace) drop their own title line; hotcrm's sales home gets a small card. Clause-② is re-measured on built declarations before push, since turning off the renderer's own title may touch@object-ui/components.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim amendment · 2026-11-21T15:41Z · #36111, claim 7064613161, PR #36131
Clause-②: yes (widening). The thread measured it on the built dist of the final diff.
@object-ui/componentsgains one new root export,PageTitleHostContext. The renderer needs it to drop its own automatic page-name title wherever the shell draws the shared header, which is what ruling 7064921354 picked (option 1: the shared header goes on every custom page and the author's content is left alone). Nothing is removed. The seat runs the declaration-face L2 on the green head. L1 is still L1-c.Scope, as built under the ruling: the platform never hides a
page:headerthe author wrote. Two in-repo showcase pages, my-work and project-workspace, wrote apage:headerwhose title is the same as the page name, so the page name would show twice. This PR removes those two titles by hand, as the pages' author. The hotcrm sales home has the same duplicate and gets its own small card. Everything else in the claim stands.objectstack-fleet commentedon Nov 21, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
本机验收 · 2026-11-21T22:16Z · objectstack
6c7c6db250,HotCRM 6.5.0 销售应用,1440 宽。通过:报表页(各阶段商机)和自定义页面(销售主页)都有了和列表、仪表盘一样的页面头部。右上角按钮组按合并说明在顶栏还在时关闭,没有核对。
一处观察,不重开卡:自定义页面「销售主页」的名字现在出现两次,一次在新加的页面头部,一次是页面内容自己的大标题。大标题是 HotCRM 页面作者写的;去掉顶栏(#36112)之后是否由平台头部统一显示、作者的标题该怎么处理,请席位在 #36112 或后续卡里考虑。
feat(console): page header on reports and custom pages; the shell's t…
feat(console): the list page's top reads object row, view bar, condit…
feat(console): from 768 px up an app draws no top bar; the app menu, …
feat(console): the sidebar's docking model: 1280 px starts expanded, …