Repository navigation
Description
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
立卡门类别:④ 协调节点的子单,承父单 #34571(控制台核心业务操作体验专题,维护者直派)。⛔ 不是认领。
维护者 2026-11-19 原话:「右侧文档页改如何优化,提出建议」;「文档页还有导航的问题不对,或者根部不需要,你画一个效果图。」;「右上角帮助图标,点全部文档,跳转之后回不来了。」;看图后:「其他应用的文档是不是很奇怪,不如叫全部文档。」;「同意,三件事都立卡」。
效果图
图 25 文档阅读页:
图 26 文档首页(全部文档):
现状(界面实测:托管环境 os-4e4qa4.objectos.app(预览版,控制台比 origin/main 旧;源码位置按 origin/main 7ece020 核对),zh-CN,2026-11-19)
应用内的文档页(/_console/apps/app.objectstack.hotcrm/docs/crm_revenue_manual/crm_revenue_quotes):
- 同一屏三套导航并排:应用图标栏(销售应用的 30 多个菜单项)、手册目录、右侧「本页目录」。
- 顶栏下面另起一条「文档 / 报价单——生成与过期」栏,路径里没有手册名。
- 手册目录只列当前这一本的 3 篇,长标题被截断(「产品与价格表——每一行明细背…」);同一应用的另外两本手册要回应用菜单才能找到。
- 「本页目录」不随滚动高亮;页尾没有上一篇 / 下一篇;文档内没有搜索。
- 正文约 590px 宽、14px 字,两侧大片空白;流程图不能放大;文中提到的功能(生成报价单)没有直达入口。
- 滚到底后还有近一屏空白。
全部文档页(顶栏帮助图标 →「全部文档」,/_console/docs,路由在 ui/apps/console/src/App.tsx:365,页面 ui/apps/console/src/pages/DocsIndex.tsx):
- 没有顶栏:没有应用切换、搜索、头像,也没有返回入口,只能用浏览器后退。
- 英文:副标题「Books and guides from your installed packages.」(
DocsIndex.tsx:57写死)、「9 articles」。 - 手册名都带「HotCRM」前缀;有一张卡显示「Setup / com.objectstack.setup」。
要做的
阅读页(图 25):
- 看文档时不显示应用菜单;左边只留一栏文档导航,顶部「← 返回〈应用名〉」。
- 顶栏照常保留,写成「〈应用名〉 / 文档」;去掉另起的「文档 / 标题」栏;标题上方的路径带手册名(文档 › 收入手册)。
- 左栏列出本应用的全部手册(可折叠),当前篇高亮,长标题换行不截断;顶部「搜索文档」;底部「全部文档 →」。
- 「本页目录」随滚动高亮当前小节;页尾加上一篇 / 下一篇。
- 正文加宽到约 720px、15px 字;流程图可点开放大;页尾不留整屏空白。
全部文档页(图 26):
6. 带上与其他页面相同的顶栏。
7. 按应用分组,用启动器里的应用名;副标题与数量用当前语言(「9 篇」)。
8. 系统包显示名称不显示包 ID,且只给管理员看。
9. 加「搜索全部文档」。
不做的
- 不改文档内容本身(手册正文里的管理员向内容、手册名的「HotCRM」前缀属 hotcrm 内容,另议)。
- 「文中功能的直达入口」需要文档内容提供链接,本卡只保证应用内链接能正常跳转。
验收
- 在销售应用里打开任一手册篇目:页面上只有一栏文档导航加右侧本页目录,顶栏在,能一步回到销售应用。
- 从帮助图标进「全部文档」:顶栏在,能回到任意应用;zh-CN 下页面无英文句子、无包 ID。
Reader: domain:ui 车道,ui/apps/console/src/pages/ 下 DocShell.tsx、DocPage.tsx、BookPage.tsx、DocsIndex.tsx、AppDocsIndex.tsx。
Dedupe: 文档页 导航、docs page navigation、全部文档 返回(objectstack / cloud / hotcrm,open)→ 0。


Activity
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Feature, from the maintainer's topic #34571 → p2 as set.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: card thread · 2026-11-21T03:35Z · PR-a of two: the article page (card items 1–5),
Part of #35424Area: b1-CX
Session:
session_01L6bhgWcCSnzHX9bYADvAVH(the card thread, building itself under the dev-thread rule)Account:
os-salesBranch: claude/project-thread-6fmf9m
Seat:
repo:objectstack#1Domain:
domain:uiFile surface:
ui/packages/app-shell/src/layout/ConsoleLayout.tsx(no app sidebar on docs routes),ui/packages/app-shell/src/layout/AppHeader.tsx(a "Docs" crumb on docs routes, no sidebar toggle),ui/apps/console/src/pages/{DocPage,DocShell,BookSidebar}.tsxplus new small docs-navigation / table-of-contents files,book-nav.ts,ui/packages/i18n/src/locales/*.ts(all 11 packs), tests, and a changeset (@object-ui/console,@object-ui/app-shell).Container & model:
L,mode:thread,model: opus,effort: highClause-②: no (provisional; measured on the built diff, and the claim is amended if it reads yes)
Metadata-protocol: none
Premise: re-read on current main by the card thread: holds.
Basis: card #35424, a p2 child of epic #34571, which the maintainer handed to this seat on 2026-11-21 03:24:57Z (「34571 专题你也接手」).
Scope: PR-a is the card's items 1–5. "Search docs" in the left rail filters this app's article titles and summaries (the list endpoint carries no full text). PR-b (items 6–9, the all-docs index, including "search all docs") follows in a new session after PR-a merges and gets its own claim amendment.
Resume-from: none
Fold-or-serial: serial; no fold. #35910 and #35918 touch the same locale files in other key ranges, so
overlap-checkruns before each push. The branch is the card thread's harness push branch, a measured platform exception toclaude/issue-<n>-<slug>.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim amendment to comment 7056714527 · 2026-11-21T05:26Z · PR-a (PR #36000,
Part of #35424) measured its declarations at build: the published@object-ui/plugin-markdownentry now exportsMermaidEnlargeContextand the typeMermaidEnlargeText, which the console's reader page (outside the package) provides. One line changes:Clause-②: yes (widening:
@object-ui/plugin-markdownexportsMermaidEnlargeContextandMermaidEnlargeText; nothing removed; the@object-ui/app-shellexports do not count, since that package is private)So the seat runs the declaration L2 at
TIER_DEFAULTon the green head. Everything else in the claim stands.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: PM loop · 2026-11-21T07:26Z (PR-b of #35424; PR-a #36000 merged 141a826)
Area: b1-CX
Session:
session_01L6bhgTo4iDVWE2AcWkPm77(card thread, dev-thread rule)Account:
os-salesBranch: claude/project-thread-m7zdqa
Seat:
repo:objectstack#1Domain:
domain:uiFile surface:
ui/apps/console/src/App.tsx(the/docssubtree moves under the/homelayout: RequireOrganization + ConsolePermissionsScope inside DefaultHomeLayout);ui/apps/console/src/pages/{DocsIndex,DocShell,DocPage}.tsxplus new docs-index grouping and full-text-search modules and their tests;ui/packages/app-shell/src/console/home/HomeLayout.tsx,ui/packages/app-shell/src/layout/AppHeader.tsx(the header's product / docs segment);packages/client/src/index.ts(meta.getItemsgains an optionalinclude: 'content', root and environment clients);ui/packages/i18n/src/locales/*.ts(newhelp.*keys, zh-Hant by the generator); changesets for@objectstack/client,@object-ui/console,@object-ui/app-shell,@object-ui/i18n.Container & model:
L, own thread,model: opus,effort: highClause-②: yes (widening): an optional
includeon@objectstack/client'sgetItems, new@object-ui/i18nkeys; nothing removed. The seat runs the L2 at the tier the final paths decide.Metadata-protocol: none
Premise: re-read by the thread on main
141a826f: holds.Basis: card #35424 items 6–9, epic #34571 (this seat's since the maintainer's 2026-11-21 03:24:57Z order); split agreed with the seat, PR-a done.
Scope and the seat's reading of it:
GET /meta/doc?include=contentonce (the parameter exists on the server, behind the same audience gate as the list) and matches title, summary and body with a snippet. No new REST route.com.objectstack.*system package's book is listed only when the caller's launcher holds that package's app (Setup needssetup.access). It is not a read permission; the article's own address still reads (the Setup overview carries nothing sensitive). The PR body says "not listed", never "not readable". A server-side gate would need an audience-scoped book for Setup and is a separate card./docssubtree carries the console header; DocShell outside an app no longer draws its own bar./docs/BOOK_A/DOC_OF_BOOK_Bredirects to the doc's own book (no pager when no book owns it); the full-text search label "Search all docs" differs from the column's "Search docs"; DocPagebackLink={!docsNav}.Resume-from: none
Fold-or-serial: serial; no fold. Overlap watch: perf(console): an app route draws the console's frame right after the session read, and the chrome no longer waits for the route's reads #36014 (Opening a record page full-page: draw the app shell as soon as the session is confirmed, not after all metadata arrives #35981, console boot and App.tsx), feat(spec, ui): an object takes a colour from a fixed palette, and the navigation draws it as a white glyph on a square of that colour #36012 (对象加颜色:从固定的一小组色板里选,图标画成彩色圆角小方块里的白色图标,菜单、标题、关联标签处处同一个样子 #35985, navigation reader);
overlap-check.mjsbefore each push. The PR carriesFixes #35424.feat(ui): the console's pages set text in two sizes, 14 and 12, and t…
feat(console): from 768 px up an app draws no top bar; the app menu, …