Repository navigation
feat(console): the All documentation page has the console's top bar, groups its books by app, and searches every article - #36027
Conversation
…groups its books by app, and searches every article - /docs, a book and an article render in Home's frame; the bar reads "<product> / Documentation" and keeps search, inbox, assistant, avatar. - Books are grouped under the app that carries them, named as the launcher names them; no card shows a package id; a platform package's books are listed only under its app. - Subtitle and counts read the session language. - "Search all documentation" searches title, summary and body over one lazy GET /meta/doc?include=content; the query stays in ?q=. - An article opened under a book that does not hold it redirects to its own book; with no such book it draws no pager. - @objectstack/client meta.getItems takes an optional include. Claude-Session: https://claude.ai/code/session_01L6bhgTo4iDVWE2AcWkPm77 Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 1 package(s): 23 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 10 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. What this run could not see
Coarse fallback — 21 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin a27e0235d5f7d674c8260b348c770762a9f969a0 && git checkout a27e0235d5f7d674c8260b348c770762a9f969a0
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 9a98a4675683a405aa911cd6c3e31f88bfe24151 122847dc96a1e24adbc7f10012dbfdf8081c29a0 && git checkout -B drift-repro 9a98a4675683a405aa911cd6c3e31f88bfe24151 && git merge --no-ff 122847dc96a1e24adbc7f10012dbfdf8081c29a0
node scripts/docs-audit/affected-docs.mjs --json 9a98a4675683a405aa911cd6c3e31f88bfe24151
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T08:26Z. The brief handed to the isolated declaration-face reviewer for PR #36027 (owed by the changeset's Contract review brief — PR #36027 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4 席位核对 — ACCEPT (L1-b)Head-sha: 3f16d0b · read 2026-11-21T08:28Z · full read of 141a826..3f16d0b (32 files, +1230/−154) against card #35424 items 6–9 and its acceptance list, the PR-b brief's three carried notes, and the before/after screenshots at 1280 and 375. 维护者速读
Must-fixNone. Should-fix
Nits
Checked
Owed
|
An implicit book's hit read its package's humanized id ("Setup") while
its card reads the app's label; take the label from the listed cards.
Claude-Session: https://claude.ai/code/session_01L6bhgTo4iDVWE2AcWkPm77
Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4 席位核对 — delta ACCEPT (L1-b)Head-sha: c81b902 · read 2026-11-21T08:32Z · delta 3f16d0b..c81b902 only (one commit, 3 files), on top of ACCEPT 7059942047. 维护者速读
Must-fix / Should-fixNone. S1 from 7059942047 is closed. Checked
Owed
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Contract reviewServed-tier: Face: declaration (owed by the ① Derived judgments
② Semver level
③ Boundary flagsThe PR-b claim (card comment 7059265831) carries five readings. Here is how each is answered:
No SQL push-down (Prime Directive 5). The full-text search fetches every listed doc's body into the browser once, on the first keystroke ( Findings
Implemented-by: VERDICT: PASS |
…book keeps its own app's name - searchDocs answers every match unless a limit is passed, so the page's "N articles found" is the true count. - An implicit book listed under an app that links it is named by its own package's app, never by the linking app. - The changeset's platform-book sentence says what the grouping does: listed only under an app in the member's list that carries it. Claude-Session: https://claude.ai/code/session_01L6bhgTo4iDVWE2AcWkPm77 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4 席位核对 — delta ACCEPT (L1-b)Head-sha: 122847d · read 2026-11-21T08:41Z · delta c81b902..122847d only (one commit, 3 files), on top of delta ACCEPT 7059985289. 维护者速读
Must-fix / Should-fixNone. Nits
Checked
Owed
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Contract reviewServed-tier: This is a delta round on the declaration face, from the reviewed head
① Derived judgments
② Semver level
③ Boundary flags
Earlier findings
New findings: none. Check-runs on Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Seat landing · 2026-11-21T09:07Z · #35424 PR-b (items 6–9): the "All docs" page carries the console header, groups books by the app in the member's list that carries them, shows no package ids, and searches every listed article's text. It also carries PR-a's three review notes. |
Requested by Sales · project thread
Fixes #35424
repo:objectstack#1 · os-sales · session_01L6bhgTo4iDVWE2AcWkPm77 · Area: b1-CX
维护者速读
GET /meta/doc?include=content请求(走和列表相同的受众规则);撤回这个 PR 即恢复原样。What changes
The "All documentation" half of #35424 (its items 6–9, design figure 26), plus three notes carried from #36000.
/docs,/docs/<book>and/docs/<book>/<article>now render inside Home's frame (DefaultHomeLayout, under the same organization / permissions layout as/home). The bar reads 「 / Documentation」 (a newdocsvariant ofAppHeader; the crumb links to/docs) and keeps the centred search, inbox, assistant and avatar menu. The portal's own 「Documentation / <title>」 strip is gone (DocShelldraws no bar off an app).groupBooksByApp,docs-index.ts). A book goes under the first app whose navigation links to it (adocentry naming the book or one of its articles, innavigation, nestedchildrenorareas, so a module's navigation contributions count), else under the first app of its package; books no app carries are listed last under 「Other documentation」. Groups are named as the launcher names the app (useServedAppLabel). The subtitle and the counts read the session language (「9 篇」), through newhelp.*keys with per-locale plural forms.com.objectstack.*) are listed only under an app in the member's list that carries them (one linking them, else their own package's app), never under 「Other documentation」, so a member whose app list (/meta/app, already filtered by the server) has no such app does not see them listed. An implicit book is named by its own package's app, never by another app that links it. This is what the page lists, not who may read a doc: the server's audience gate decides that, as before.searchDocs,useDocContents). A search field on the page matches every listed article's title, summary and body (every word must match; title ranks above summary above body), and lists the matches with the words marked in context; each opens the article in its own book. Mermaid source and markup are not searched. The bodies are asked once, the first time the reader types (GET /meta/doc?include=content, which the server answers through the same audience gate as the slim list), and held for the page's life: one read of every listed doc's body per visit that searches, and none for a visit that does not. A server-side search shared with the MCP doc door is the follow-up if doc volume grows. Every match is listed and counted (no cap). The query stays in the URL (?q=). The label differs from the reader column's 「Search docs」.Notes from #36000:
/docs/<book A>/<article of book B>now redirects to the article in its own book; with no book that holds it, the reader draws no previous / next pager instead of both ends at once (bookHoldsArticle).backLink={!docsNav}toDocShell, so inside an app an article whose book is in no package keeps its 「← Back to 」 link.@objectstack/client:meta.getItems(type, { include })(both the unscoped and the environment-scoped client) sends?include=; leaving it out sends nothing, as before. The options type is exported asMetaItemsListOptions.@object-ui/app-shell:AppHeadertakes adocsvariant;DefaultHomeLayouttakesvariant.Why
The maintainer's topic #34571, card #35424, figure 26: the "All docs" page had no way back to the apps (its own one-line bar), listed books flat with package ids (
com.objectstack.setup), an English subtitle and counts under a Chinese session, the Setup book for every member, and no way to search across books.Verification
objectstack dev --fresh, console on vite), zh-CN, dark, 1280 × 800 and 375 × 812,/docs,/docs?q=Markdown,/docs/manual:com.objectstack.setupunder it; 「Books and guides from your installed packages.」 and 「8 articles」 in English; no search.docs-index.test.ts(new): grouping by link, by package, the ungrouped group, adoclink counting as linking its book, platform books only under an app in the list that carries them (and named by their own app), no package id line; search word logic and ranking, listed-books filter, a hit naming its book as the card does, every match answered, no diagram source or markup, snippet marking, CJK without spaces.docs-portal.test.tsx: the realDocsIndexunder the docs routes — groups and labels, the platform rule, search (URL, one content read for several queries, the article opened in its own book), search limited to listed books, the label differing from 「Search docs」, the N3 redirect with its control; the earlier collision pin now expects the redirect.AppHeader.centeredSearch-12472,AppHeader.aboutBuild-12970,AppHeader.searchTriggerNeedsPalette-11912: thedocsvariant (centred search, the crumb to/docs, the about item, the palette gate); the home bar's control has no crumb.client.test.ts:includesent as?include=on both getItems, nothing when left out.App.docsPortalLazy.test.tsx: the portal stays lazy inside its new frame.vitest:apps/consoledocs files (64 tests),packages/i18nin full (parity, base keys, CLDR plural categories per pack), the app-shell layout and home tests,packages/client(223 tests): all passed.tscfor console, app-shell (withtsconfig.test.json) and client;check:i18n-keys;eslintover the changed files: 0 errors, no new warnings. zh-Hant regenerated withgen:zh-hant.overlap-check.mjs: clean againstorigin/mainand the five open PRs sharing the locale files orAppHeader.tsx(feat(app-shell): connect your Slack account on the notification settings page, and an admin Slack page in Setup (Part of #34730) #35968, feat(list,detail): a change that makes other fields required asks for them in place #35994, feat(fields): select, multi-select, tags, date, time and colour open ready to pick in a grid cell (#35688 S2) #36018, feat(list): a phone list gets its own top row, one row of pills, and bottom-sheet sort, filter and view panels that apply on ✓ #36024, feat(console): a change on a list is a draft, with Discard and Save (#35955 PR 1) #36026).Clause-②: yes (widening) — @objectstack/client
meta.getItemstakes an optionalinclude('content' | 'grants', sent as?include=) and exports its options typeMetaItemsListOptions; @object-ui/i18n adds nine help.* keys (two of them plural, with their per-locale forms); nothing removedMetadata-protocol: none
Follow-ups (not in this PR): #36029 — give Setup's own books an audience, so a member without
setup.accesscannot read them, not only does not see them listed (card #35424 item 8 reads "only admins see it"; this PR makes it a listing rule).Human Minimum
packages/specholds no runtime logic. (No spec change.)pnpm lintpasses.main, one pull request.packages/spectouched: n/a.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgTo4iDVWE2AcWkPm77