Repository navigation
Commit 7587fd4
docs(ui-merge): fold objectui.org into objectstack docs, K4 — retire the site, host 301s, links (#27329)
domain:devx#1 · os-tesla · session_01L9qibyMpJZ67jrDrno4jY1
<!-- claude-projects-attribution: {"github_login":"os-tesla"} -->
_Requested by **Tesla** · [project
thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoF6updQcwW9xVUmevhhFabA)_
Fixes #27145
Part of #26993
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 改了什么:删除 `ui/apps/site`(objectui.org 站点)、`ui/content/docs`(201 页)和
`deploy-ui-site` 部署任务;在 `apps/docs/redirects.mjs` 加 184 条只对 objectui.org
主机生效的永久跳转(183 页逐条 + 1 条兜底);37 个 ui package.json 的 homepage、README
链接、console 插件 homepage 改指 objectstack.ai/docs;33 处包描述 "Object UI" 改为
"ObjectUI";读旧文档页的测试和门禁改读 `content/docs/frontend`。
- 为什么改:K1–K3 已把 objectui.org 的内容并入本站,旧站和旧页继续留着就是两份会漂移的文档。
- 风险与回滚:跳转在 objectui.org 域名指向本项目前不生效(#27030),不会影响本站现有
URL;删掉的只有站点、旧页和只为它们存在的测试。回滚即还原本 PR。
- 先看:`apps/docs/redirects.mjs` 的 `objectuiRedirects` 表;下方 "Tests whose
page is gone" 一节(哪些测试删了、哪些只删了读页面的那一半);越界声明一节。
- 两分钟验证:`pnpm check:docs-redirects`;`pnpm --dir ui exec vitest run
scripts/`;`git grep -n "ui/apps/site\|ui/content/docs" --
':!**/CHANGELOG.md'` 为空。
- 需要你做的:确认下方两处越界(`content/docs/frontend` 补回 75 条 doc-snippet 标记、一处
`destructive` → `danger`),以及 filter-builder
的类型表在文档删除后改为测试内冻结列表;合并由你来做,合并后按 #27030 迁移域名。
## What changes
**Redirects.** `apps/docs/redirects.mjs` gains `objectuiRedirects`: one
row per published path of the old site (the 183 pages under its
`content/docs` at the fold, by URL, taken from the final K1 #27168, K2
#27170 and K3 #27179 mapping tables), plus a final catch-all to
`/docs/frontend` for the home page, playground, `llms.txt` and OG
images. The rows are host-scoped (`has: [{ type: 'host', value:
'(?:www\.)?objectui\.org' }]`) and permanent, so they cannot shadow a
URL of this site and stay inert until the domains move (#27030).
`scripts/check-docs-redirects.mjs` now judges them on the host the
destination is served from: every destination is a real page and none is
a `docsRedirects` source. No row targets the retired
`/docs/ui/{console,studio,setup-app}` pages.
**Deletions.** `ui/apps/site` (43 files), `ui/content/docs` (201 files),
the `deploy-ui-site` job in `docs-deploy.yml` and its CI wiring, the
site-only gates `check-doc-example-ids` and
`check-docs-route-eager-closure` with their tests, the three `site-*`
script tests, and `ui/e2e/docs-smoke.spec.ts` /
`ui/e2e/cascading-options.spec.ts`, which drove the site.
`rfcs/0001-clipboard-paste.md` moves to `ui/docs/rfcs/` and
`guide/console-architecture.md` to `ui/docs/design/`. The lockfile drops
the site importer.
**Links.** The `homepage` field of 37 `package.json` files under `ui/`,
the `homepage` in `ui/apps/console/plugin.ts`, the README and skill
links that pointed at objectui.org or at `ui/content/docs`,
`CONTRIBUTING.md`'s UI documentation paragraph, and the root
`README.md`. Each URL goes to the page that carries its content now (the
redirect table), keeping a fragment only where the target page has that
heading. The Console package's homepage is `/docs/build-without-code`,
its plugin manifest's is `/docs/frontend`. The changeset covers the 35
published `@object-ui/*` packages whose metadata changed and
`@objectstack/skills`.
**Spelling.** 33 package `description` fields say "ObjectUI" instead of
"Object UI".
**Readers re-pointed.** The ui doc gates and their tests read
`content/docs/frontend` (root = `ui/`, so labels read
`../content/docs/frontend/…`); floors were re-measured on 34 pages (76
files with the READMEs). `check-doc-links` now judges the 61
`objectstack.ai/docs` URLs against `apps/docs` instead of trusting them.
`markdown-test-inputs` resolves the monorepo docs tree too, and its
ledger is re-keyed. The ui CI filter also covers
`content/docs/ui/pages.mdx`, which two Test UI pins now read.
### Tests whose page is gone
K1 kept 34 pages of the 183 as files; the renderer pages became one
table (`frontend/renderers.mdx`) with no interface fences, and several
guides were dropped or moved into platform pages. A test that pinned
such a page was re-pointed when its content still exists, and otherwise
lost only the leg that read the page:
- Re-pointed to the page's new home: most of them (e.g. the three
`guideCrudAppRenders` tests, the layout and app-shell guide pins,
`page-body-arity-8310`, `readme-kanban-example-8256`). Two follow
content that K2 moved: `objectname-binding-required-11605` reads the
block table in `content/docs/ui/pages.mdx`, and
`element-data-source-objectname-waiver-11117` reads its `element:number`
fence there.
- Deleted whole (their only subject was a page that no longer exists):
`slotted-pages-header-example-11165`, `button-group-doc-surface-6347`,
`component-docs-disabled-inherited-7239`,
`component-docs-retired-handler-keys-7340`, `chart-type-doc-row-11521`,
`schema-reference-named-list-view-keys-7923`,
`public-block-doc-examples-bag-11321`, `calendar-doc-key-set-8830`.
- Page legs removed, declaration/mirror/renderer legs kept:
`overlay-node-slot-doc-types-7082`, `overlay-trigger-union-7081`,
`alert-dialog-read-dialect-7104`, `div-guidance-names-box` (three
surfaces now), `object-kanban-group-by-limit-7322`,
`catalog-gallery-render` and `plugin-dashboard-gallery-render` (the
docs-site host parity cases), `page-actions-refusal-7926` (one control
whose example moved to `/docs/ui/pages`), and the named-subject list in
`object-calendar-record-source-7313`.
- 1 parent 28872e6 commit 7587fd4
430 files changed
Lines changed: 1483 additions & 49115 deletions
File tree
- .changeset
- .github/workflows
- apps/docs
- lib
- content/docs/frontend
- plugins
- packages/sdui-parser/src
- scripts
- skills/objectui
- guides
- rules
- ui
- apps
- console
- src
- __tests__
- site
- app
- (home)
- api/search
- components
- docs
- [[...slug]]
- llms-full.txt
- llms.mdx/docs/[[...slug]]
- llms.txt
- og/docs/[...slug]
- playground
- components/ai
- lib
- public
- img/guide/dashboard-filters
- content/docs
- api
- blocks
- components
- basic
- complex
- data-display
- disclosure
- feedback
- form
- layout
- overlay
- core
- fields
- guide
- layout
- plugins
- utilities
- docs
- design
- rfcs
- e2e
- live
- examples/schema-catalog
- test
- packages
- app-shell
- auth
- cli
- src
- __tests__
- commands
- collaboration
- components
- src
- __tests__
- renderers
- basic
- complex
- core
- src/registry
- create-plugin
- data-objectstack
- fields
- i18n
- layout
- src/__tests__
- mobile
- permissions
- plugin-calendar
- plugin-charts
- plugin-chatbot
- plugin-dashboard
- plugin-designer
- plugin-detail
- src
- __tests__
- renderers/__tests__
- plugin-editor
- plugin-form
- src/__tests__
- plugin-gantt
- plugin-grid
- src/__tests__
- plugin-kanban
- plugin-list
- plugin-map
- plugin-markdown
- plugin-report
- plugin-timeline
- plugin-tree
- plugin-view
- providers
- react-runtime
- react
- src/__tests__
- runner
- types
- src/__tests__
- scripts
- __tests__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
468 | 475 | | |
469 | 476 | | |
470 | 477 | | |
| |||
473 | 480 | | |
474 | 481 | | |
475 | 482 | | |
| 483 | + | |
| 484 | + | |
476 | 485 | | |
477 | 486 | | |
478 | 487 | | |
| |||
3981 | 3990 | | |
3982 | 3991 | | |
3983 | 3992 | | |
3984 | | - | |
3985 | | - | |
| 3993 | + | |
| 3994 | + | |
| 3995 | + | |
| 3996 | + | |
3986 | 3997 | | |
3987 | 3998 | | |
3988 | 3999 | | |
| |||
3999 | 4010 | | |
4000 | 4011 | | |
4001 | 4012 | | |
4002 | | - | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
4003 | 4016 | | |
4004 | 4017 | | |
4005 | 4018 | | |
| |||
4035 | 4048 | | |
4036 | 4049 | | |
4037 | 4050 | | |
4038 | | - | |
4039 | | - | |
4040 | | - | |
4041 | | - | |
4042 | 4051 | | |
4043 | 4052 | | |
4044 | 4053 | | |
| |||
4059 | 4068 | | |
4060 | 4069 | | |
4061 | 4070 | | |
4062 | | - | |
4063 | | - | |
4064 | | - | |
4065 | | - | |
4066 | 4071 | | |
4067 | 4072 | | |
4068 | 4073 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
16 | 10 | | |
17 | 11 | | |
18 | 12 | | |
| |||
217 | 211 | | |
218 | 212 | | |
219 | 213 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
0 commit comments