Skip to content

Commit 22ff2ea

Browse files
committed
wip(ui-merge): K4 — objectui.org links to objectstack.ai/docs, ObjectUI spelling
Claude-Session: https://claude.ai/code/session_01L9qibyMpJZ67jrDrno4jY1 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3624ee0 commit 22ff2ea

91 files changed

Lines changed: 184 additions & 2221 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yml‎

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ jobs:
451451
# spelled it, exactly as the two narrower `skills/` entries were.
452452
- 'docs/**'
453453
# The objectui tree, the root files the ui jobs build from, and the
454-
# three roots outside ui/ that the ui jobs' gates and tests read
454+
# four roots outside ui/ that the ui jobs' gates and tests read
455455
# (objectstack#25712):
456456
# - every root workflow, not ci.yml alone: Lint UI's pre-install
457457
# import graph check scans all of `.github/workflows/` for ui
@@ -464,7 +464,11 @@ jobs:
464464
# objectstack#26097. Lint UI's skill gates (skills-paths,
465465
# skill-examples, skill-eval-tokens, doc-json,
466466
# shell-escape-residue) and Test UI's skill readers find it
467-
# through `ui/scripts/skill-bundle-root.mjs`.
467+
# through `ui/scripts/skill-bundle-root.mjs`;
468+
# - `content/docs/frontend/**`, the ObjectUI SDK pages since the
469+
# objectui.org docs folded into this site. Lint UI's doc gates
470+
# (doc-types, doc-snippets, doc-json, doc-fences, spec-symbols)
471+
# and the Test UI tests that render a guide's example read them.
468472
ui:
469473
- 'ui/**'
470474
- 'pnpm-lock.yaml'
@@ -473,6 +477,7 @@ jobs:
473477
- '.github/workflows/**'
474478
- '.github/prompts/**'
475479
- 'skills/objectui/**'
480+
- 'content/docs/frontend/**'
476481
# turbo.json's `globalDependencies`: every build task hashes
477482
# them, so they move what the ui jobs build, the SDUI manifest's
478483
# regeneration included (#26137).
@@ -3981,8 +3986,10 @@ jobs:
39813986
# when the tree moved under `ui/` (it reads only this repository's
39823987
# `.github/workflows/`), and which objectstack#25712 deleted with the
39833988
# rest of `ui/.github/workflows/`. They judge what objectui ships
3984-
# — `ui/content/docs/**`, the skill bundle (`skills/objectui/**` at the
3985-
# repository root since objectstack#26097), the package READMEs and the
3989+
# — the ObjectUI SDK pages (`content/docs/frontend/**` since the
3990+
# objectui.org docs folded into this site), the skill bundle
3991+
# (`skills/objectui/**` at the repository root since objectstack#26097),
3992+
# the package READMEs and the
39863993
# documented component types — so the change most likely to trip them is
39873994
# a docs-only or skills-only PR, which the `filter` job's `ui` globs
39883995
# include.
@@ -3999,7 +4006,9 @@ jobs:
39994006
# job's own restore and save serve the build below). Retired since: the
40004007
# Action Ref Convention scan, which judged objectui's own workflows and
40014008
# went with them (objectstack#25712); a repository-wide action-ref
4002-
# convention needs a home that no `ui` path filter skips (sub-issue 4).
4009+
# convention needs a home that no `ui` path filter skips (sub-issue 4);
4010+
# and the Doc Example Id and Docs Route Eager Closure checks, which
4011+
# judged the retired objectui.org site and went with it.
40034012
- name: Control Byte Scan — Scan tracked text files for raw control bytes
40044013
if: ${{ !cancelled() }}
40054014
run: pnpm --dir ui run check:control-bytes
@@ -4035,10 +4044,6 @@ jobs:
40354044
pnpm --dir ui run check:doc-fences --self-test
40364045
pnpm --dir ui run check:doc-fences
40374046
4038-
- name: Doc Example Id Check — Check documented example ids against the catalog registry
4039-
if: ${{ !cancelled() }}
4040-
run: pnpm --dir ui run check:doc-example-ids
4041-
40424047
- name: Doc Component Type Check — Check documented component types against the registry
40434048
if: ${{ !cancelled() }}
40444049
run: pnpm --dir ui run check:doc-types
@@ -4059,10 +4064,6 @@ jobs:
40594064
if: ${{ !cancelled() }}
40604065
run: pnpm --dir ui run check:skill-eval-tokens
40614066

4062-
- name: Docs Route Eager Closure Check — Weigh the docs route eager closure
4063-
if: ${{ !cancelled() }}
4064-
run: pnpm --dir ui run check:docs-route-closure
4065-
40664067
- name: Install dependencies
40674068
id: install
40684069
if: ${{ !cancelled() }}

‎CONTRIBUTING.md‎

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -199,16 +199,16 @@ same list.
199199
| `content/docs/references/` | Generated from the Zod schemas by `packages/spec/scripts/build-docs.ts`. Never edit it by hand. |
200200
| `content/docs/releases/` | Written at release time from changesets. Never edit it in a code pull request. |
201201
| `examples/` | The example apps. The *Examples* table in the [package directory](#package-directory) describes each one. |
202-
| `ui/` | ObjectUI: the `@object-ui/*` packages, the Console's source and the objectui.org docs site. [UI Workspace](#ui-workspace-ui) below covers working there. |
202+
| `ui/` | ObjectUI: the `@object-ui/*` packages and the Console's source. Their guides live in `content/docs/frontend/`. [UI Workspace](#ui-workspace-ui) below covers working there. |
203203
| [ARCHITECTURE.md](./ARCHITECTURE.md) | Design details, the plugin lifecycle and the dependency graph. |
204204

205205
AGENTS.md (*Documentation Guardrails*) has the rules for every docs path, including what a
206206
new page needs before it shows up in the navigation.
207207

208208
## UI Workspace (`ui/`)
209209

210-
`ui/` holds ObjectUI, the view layer: the `@object-ui/*` packages, the Console
211-
(`ui/apps/console`) and the objectui.org docs site (`ui/apps/site`). It is a member of this
210+
`ui/` holds ObjectUI, the view layer: the `@object-ui/*` packages and the Console
211+
(`ui/apps/console`). It is a member of this
212212
workspace, so the root `pnpm install` above installs it too, and
213213
[ui/AGENTS.md](./ui/AGENTS.md) adds that tree's own rules to AGENTS.md: the spec-first and
214214
contract-first commandments, Shadcn-native styling, actions as data. Its code is MIT-licensed
@@ -219,13 +219,12 @@ contract-first commandments, Shadcn-native styling, actions as data. Its code is
219219
Run these from `ui/`:
220220

221221
```bash
222-
pnpm exec turbo run build --filter='./*/*' --filter='!@object-ui/site' # Build every ui package (turbo, parallel & cached)
223-
pnpm exec turbo run type-check --filter='./*/*' # Run tsc --noEmit across the ui packages (turbo)
224-
pnpm exec turbo run lint --filter='./*/*' # Run eslint across the ui packages (turbo)
225-
pnpm dev # The Console's Vite dev server, on :5180
226-
pnpm site:dev # The docs site, on http://localhost:3000
227-
pnpm docs:check-links # The internal-link check CI runs on ui docs
228-
pnpm test:e2e # End-to-end tests (playwright)
222+
pnpm exec turbo run build --filter='./*/*' # Build every ui package (turbo, parallel & cached)
223+
pnpm exec turbo run type-check --filter='./*/*' # Run tsc --noEmit across the ui packages (turbo)
224+
pnpm exec turbo run lint --filter='./*/*' # Run eslint across the ui packages (turbo)
225+
pnpm dev # The Console's Vite dev server, on :5180
226+
pnpm docs:check-links # The internal-link check CI runs on the ui READMEs and docs
227+
pnpm test:e2e # End-to-end tests (playwright)
229228
```
230229

231230
turbo resolves a relative filter against the directory it is launched from, so the filter above
@@ -290,32 +289,29 @@ use as a few-shot corpus. Neither declares a `dev` script.
290289
| --- | --- |
291290
| `ui/packages/*` | The published `@object-ui/*` packages, plus the private `vscode-extension`, `test-support` (test-only, never released), `runner` (workspace demo app, never released) and `app-shell` (the Console's shell and views, no longer published after 18.2.0) |
292291
| `ui/apps/console` | The Console app (Vite + React), which `pnpm console:build` builds into the `@objectstack/console` package |
293-
| `ui/apps/site` | The public docs site at <https://www.objectui.org> (fumadocs) |
294292
| `ui/examples/*` | The snippet and the schema catalog, see [UI examples](#ui-examples) |
295-
| `ui/content/docs/` | The docs site's pages |
296-
| `ui/docs/` | Internal engineering material (ADRs, audits); not part of the site |
293+
| `ui/docs/` | Internal engineering material (ADRs, audits, design records); not part of the docs site |
297294
| `ui/e2e/` | Playwright end-to-end tests |
298295

299296
The [package directory](#package-directory) lists every `@object-ui/*` package by layer.
300297

301298
### UI documentation
302299

303-
The docs site's pages live in `ui/content/docs/`, and a page's path below it becomes its
304-
route under the site's /docs base, so an internal link between pages is written
305-
`[Quick Start](/docs/guide/quick-start)`, with the prefix. `ui/docs/` is not part of the site.
300+
ObjectUI's guides are pages of the documentation site, under `content/docs/frontend/`
301+
(*Custom front-end*), and follow the `content/docs/` rules above. `ui/docs/` is not part of the site.
306302

307303
- **A code block in an ADR or a dated audit is a specimen, not an example to copy.** Fence it
308-
`plaintext`, never `ts` / `tsx`: a gate compiles the code fences of `ui/content/docs/`, and
304+
`plaintext`, never `ts` / `tsx`: a gate compiles the code fences of `content/docs/frontend/`, and
309305
a record edited until it compiles says something it never said. Code a reader may copy
310-
belongs in `ui/content/docs/` or the skills tree.
306+
belongs in `content/docs/frontend/` or the skills tree.
311307
- **A `json` fence must pass a strict `JSON.parse`.** A block annotated with comments or
312308
trailing commas is fenced `jsonc`, and must still be one JSON document once those are
313309
removed; a `${…}` expression stays on one line inside its string.
314310
- **Internal links are checked offline.** `pnpm docs:check-links` resolves every relative
315-
path and site route against the checkout, and CI runs it on every change.
311+
path in the ui READMEs and `ui/docs/` against the checkout, and CI runs it on every change.
316312

317-
ObjectUI's [Quick Start](./ui/content/docs/guide/quick-start.md) and
318-
[Component Registry](./ui/content/docs/guide/component-registry.md) guides are the place to
313+
ObjectUI's [Quick Start](./content/docs/frontend/quick-start.mdx) and
314+
[Component Registry](./content/docs/frontend/component-registry.mdx) guides are the place to
319315
start when you add a component.
320316

321317
## Package Directory

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ designers) are lazy-loaded plugins, and every schema is a TypeScript type in
251251

252252
| You want to… | Start here | Install |
253253
| :--- | :--- | :--- |
254-
| Render a JSON schema inside your React app | [Quick Start](./ui/content/docs/guide/quick-start.md) | `npm install @object-ui/react @object-ui/components` |
254+
| Render a JSON schema inside your React app | [Quick Start](https://objectstack.ai/docs/frontend/quick-start) | `npm install @object-ui/react @object-ui/components` |
255255
| Build a UI from a JSON file, no React code at all | [`@object-ui/cli`](./ui/packages/cli) | `npm install -g @object-ui/cli` |
256256

257-
The guides are published at [objectui.org](https://www.objectui.org); working on `ui/` itself
257+
The guides are published under [Custom front-end](https://objectstack.ai/docs/frontend) on the docs site; working on `ui/` itself
258258
is covered in [CONTRIBUTING.md](./CONTRIBUTING.md#ui-workspace-ui), and its packages are listed
259259
in the [package directory](./CONTRIBUTING.md#package-directory).
260260

‎ui/apps/console/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ Console App
137137
| Document | Description |
138138
|----------|-------------|
139139
| [Roadmap](https://github.com/objectstack-ai/objectstack/blob/main/ROADMAP.md) | Repo-wide development plan |
140-
| [Getting Started Guide](../../content/docs/guide/console.md) | User-facing documentation |
141-
| [Architecture Guide](../../content/docs/guide/console-architecture.md) | Technical deep-dive |
140+
| [Getting Started Guide](https://objectstack.ai/docs/build-without-code) | User-facing documentation |
141+
| [Architecture Guide](../../docs/design/console-architecture.md) | Technical deep-dive |
142142
| [UI Improvement Proposal](./docs/UI_IMPROVEMENT_PROPOSAL.md) | Modern UI design improvements for metadata inspector |
143143

144144
## License

‎ui/apps/console/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "ObjectStack Console — opinionated, fork-ready runtime console built on @object-ui/app-shell with the full plugin set wired up. Ships as a Hono UI plugin serving a pre-built SPA.",
55
"license": "MIT",
66
"type": "module",
7-
"homepage": "https://www.objectui.org/docs/guide/console",
7+
"homepage": "https://objectstack.ai/docs/build-without-code",
88
"repository": {
99
"type": "git",
1010
"url": "git+https://github.com/objectstack-ai/objectstack.git",

‎ui/apps/console/plugin.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class ConsolePlugin {
4242
readonly metadata = {
4343
author: 'ObjectUI Team',
4444
license: 'MIT',
45-
homepage: 'https://www.objectui.org',
45+
homepage: 'https://objectstack.ai/docs/frontend',
4646
repository: 'https://github.com/objectstack-ai/objectui',
4747
capabilities: [
4848
'ui-rendering',

‎ui/apps/console/src/sdui-tiers-preview.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const htmlSource = `
4747
<h2 style={{"fontSize":"1.5rem","fontWeight":"600"}}>What shipped</h2>
4848
<ul style={{"paddingLeft":"var(--space-6)","listStyleType":"disc","lineHeight":"1.9","color":"hsl(var(--muted-foreground))"}}>
4949
<li>Full HTML tag set in the <em style={{"fontStyle":"italic"}}>html</em> tier.</li>
50-
<li>A trusted <a href="https://objectui.org" style={{"fontWeight":"500","color":"hsl(var(--primary))","textDecoration":"underline"}}>react tier</a> behind a flag.</li>
50+
<li>A trusted <a href="https://objectstack.ai/docs/frontend" style={{"fontWeight":"500","color":"hsl(var(--primary))","textDecoration":"underline"}}>react tier</a> behind a flag.</li>
5151
<li>Author writes markup; the platform renders it.</li>
5252
</ul>
5353
</flex>

‎ui/docs/design/console-architecture.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ one build-time Vite variable:
7474
Apps and objects **are** authored declaratively — but in the ObjectStack **server** project
7575
(`objectstack.config.ts` there, or through Studio), not in this repo. The console is a pure
7676
consumer of whatever that server publishes; see
77-
[ObjectOS Integration](/docs/guide/objectos-integration) for the server-side shape.
77+
[Apps](https://objectstack.ai/docs/ui/apps) for the server-side shape.
7878

7979
## Routing
8080

@@ -260,5 +260,5 @@ in production, `ObjectStackAdapter` talks over HTTP to a live ObjectStack server
260260
`VITE_SERVER_URL`, and everything above the adapter in the data flow depends on that call
261261
succeeding: no server, no discovery, no apps in the sidebar.
262262

263-
See [Console App → Quick Start](/docs/guide/console#quick-start) for the dev server port, the
263+
See the Console's [README](../../apps/console/README.md) for the dev server port, the
264264
default `VITE_SERVER_URL`, and how to point the console at a different backend.

‎ui/docs/rfcs/0001-clipboard-paste.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,8 @@ Per Rule #2 (Documentation Driven Development):
488488
> the `ImportWizard` parsers in `@object-ui/plugin-grid`. Read the paths in this
489489
> section as the plan, not as pages you can open.
490490
491-
1. **This RFC** (`content/docs/rfcs/0001-clipboard-paste.md`) — frozen on
491+
1. **This RFC** (`ui/docs/rfcs/0001-clipboard-paste.md`, first published as
492+
`content/docs/rfcs/0001-clipboard-paste.md`) — frozen on
492493
acceptance.
493494
2. **User guide** (`content/docs/guide/clipboard-paste.md`) — written
494495
alongside implementation; covers enabling the feature, supported types,

‎ui/examples/schema-catalog/README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ Canonical JSON schema catalog for ObjectUI. **Private** (not published to npm).
1010
This package is the **single source of truth** for every schema example we ship.
1111
It is consumed by:
1212

13-
- 📚 The docs site (`apps/site`) — via the `<SchemaExample id="..." />` MDX component
1413
- 🧪 Smoke tests — every entry is mounted with `SchemaRenderer` and asserted not to throw
1514
- 🤖 AI agents (RAG / few-shot) — structured, machine-readable schema corpus
1615

1716
## Why a dedicated package?
1817

1918
Previously, schema examples were duplicated across:
2019

21-
- `content/docs/**/*.mdx` (inline JSX object literals — easy to corrupt, no validation)
20+
- the docs pages' MDX (inline JSX object literals — easy to corrupt, no validation)
2221
- `apps/console/src/schemas/*.ts` (real app usage)
2322

2423
They drifted, no one validated them, and the docs versions were a maintenance nightmare

0 commit comments

Comments
 (0)