Skip to content

Commit 3e1b3b7

Browse files
committed
wip(ui-merge): K4 — re-point ui doc gates, drop site scripts and specs
Claude-Session: https://claude.ai/code/session_01L9qibyMpJZ67jrDrno4jY1 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 961e7c0 commit 3e1b3b7

16 files changed

Lines changed: 15 additions & 254 deletions

‎.changeset/config.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,6 @@
124124
"access": "public",
125125
"baseBranch": "main",
126126
"updateInternalDependencies": "patch",
127-
"ignore": ["@object-ui/example-*", "@object-ui/site", "@object-ui/runner", "@object-ui/test-support"],
127+
"ignore": ["@object-ui/example-*", "@object-ui/runner", "@object-ui/test-support"],
128128
"privatePackages": { "version": true, "tag": false }
129129
}

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"description": "ObjectStack Protocol & Specification - Monorepo for TypeScript Interfaces, JSON Schemas, and Convention Configurations",
66
"scripts": {
7-
"build": "turbo run build --filter=!@objectstack/docs --filter=!./ui*/apps/site",
7+
"build": "turbo run build --filter=!@objectstack/docs",
88
"dev": "node scripts/check-dev-prereqs.mjs && pnpm --filter @objectstack/example-showcase dev",
99
"dev:showcase": "node scripts/check-dev-prereqs.mjs && pnpm --filter @objectstack/example-showcase dev",
1010
"dev:crm": "node scripts/check-dev-prereqs.mjs && pnpm --filter @objectstack/example-crm dev",

‎skills/objectui/guides/app-composition.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ source of truth for that mapping.
5959
- Console routes: `packages/app-shell/src/console/AppContent.tsx`
6060
- Bare data surface decision record: `docs/adr/0055-parameterized-bare-data-surface.md`
6161
(amends ADR-0053's context table)
62-
- Human-facing version: `content/docs/guide/designing-app-navigation.md`
62+
- Human-facing version: https://objectstack.ai/docs/ui/apps#designing-the-navigation
6363
(derived from this guide — update both together)

‎skills/objectui/rules/styling.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,6 @@ channel triples, not finished colours:
315315
}
316316
```
317317

318-
See `content/docs/guide/theming.md` for the full token list and the `ThemeProvider` route.
318+
See https://objectstack.ai/docs/frontend/theming for the full token list and the `ThemeProvider` route.
319319

320320
**Without these imports, ObjectUI components will render but look completely unstyled.**

‎ui/.gitignore‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -52,28 +52,6 @@ docs/api
5252
# ObjectStack bundled files
5353
*.bundled_*.mjs
5454

55-
# Fumadocs
56-
apps/site/.next
57-
apps/site/.map.ts
58-
apps/site/.source
59-
60-
# Next.js agent-rules files, minted by `next dev` in apps/site (objectui#4160).
61-
# From next 16.3 (the #4094 bump; 16.2 bundled the docs but generated nothing),
62-
# `next dev` detects an AI coding agent from the environment (CLAUDECODE,
63-
# CURSOR, CODEX, AI_AGENT, ...) and writes AGENTS.md + CLAUDE.md next to the
64-
# app's next.config — see node_modules/next/dist/server/lib/generate-agent-files.js.
65-
# They appeared from merely RUNNING the app, were neither tracked nor ignored,
66-
# and the block's own text says "committing it with your work keeps the tree
67-
# clean": in a repo staged with `git add -A` by parallel agents that is a
68-
# contamination trap of the objectui#3430 shape. We ignore rather than commit —
69-
# the prose is tool-minted per next version, and apps/site/CLAUDE.md's
70-
# `@AGENTS.md` import would splice framework rules into this repo's own binding
71-
# instruction chain. `agentRules: false` in apps/site/next.config.mjs stops the
72-
# minting at the source; these two lines are the belt to that braces, because
73-
# the flag is upstream-owned and can be renamed or dropped by any next bump.
74-
/apps/site/AGENTS.md
75-
/apps/site/CLAUDE.md
76-
7755
# Test artifacts
7856
test-screenshots
7957
test-results

‎ui/e2e/cascading-options.spec.ts‎

Lines changed: 0 additions & 92 deletions
This file was deleted.

‎ui/e2e/docs-smoke.spec.ts‎

Lines changed: 0 additions & 116 deletions
This file was deleted.

‎ui/e2e/live/cascading-options.spec.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ import { selectOption } from './helpers';
88
* Drives the showcase `showcase_cascade` object (framework
99
* examples/app-showcase) — a `country` -> `province` cascade authored with
1010
* per-option `visibleWhen` + field-level `dependsOn`, plus a role-gated `tier`.
11-
* This is the live-backend counterpart to the no-backend docs e2e
12-
* `e2e/cascading-options.spec.ts`: it proves the dual-side B3 contract against a
13-
* REAL stack —
11+
* It proves the dual-side B3 contract against a REAL stack (its no-backend docs
12+
* counterpart drove the retired objectui.org site and was deleted with it) —
1413
*
1514
* 1. CLIENT (UX): opening the create form and driving the parent `country`
1615
* re-filters the child `province`'s OFFERED set via the canonical

‎ui/eslint.config.js‎

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ export default tseslint.config({
1919
'**/.next',
2020
'**/node_modules',
2121
'**/public',
22-
// fumadocs-mdx codegen for apps/site (gitignored — see apps/site/.gitignore).
23-
// Linting generated output only reports on the generator's choices.
24-
'**/.source',
25-
// objectui#8592 — the three remaining build artefacts that `eslint .`
26-
// still walked. Same principle as `**/.source` and `**/dist` directly
22+
// objectui#8592 — the remaining build artefacts that `eslint .`
23+
// still walked. Same principle as `**/dist` directly
2724
// above: linting generated output only reports on the generator's
2825
// choices, and the report names a file:line nobody wrote. Measured on
2926
// 290de3724 after a full `turbo run build`:
@@ -32,7 +29,7 @@ export default tseslint.config({
3229
// reported 0 in the same invocation — the two zeros are what make the 1
3330
// a reading rather than a broken invocation.
3431
//
35-
// Why three literal paths and not a `.gitignore` import: the claim this
32+
// Why literal paths and not a `.gitignore` import: the claim this
3633
// change has to keep true is that ONLY git-ignored build output leaves
3734
// the linted population and not one source file does. A literal path is
3835
// auditable one entry at a time against `git check-ignore` /
@@ -47,13 +44,10 @@ export default tseslint.config({
4744
// `tsc -p tsconfig.plugin.json` (apps/console `build:plugin`),
4845
// git-ignored at `apps/console/.gitignore` under "Compiled plugin
4946
// output".
50-
// - `apps/site/next-env.d.ts` — minted by Next's build/typegen,
51-
// git-ignored at `apps/site/.gitignore`.
5247
// ⛔ Not a suppression at the report's site: the files are regenerated on
5348
// every build, so an inline disable would vanish and the finding return.
5449
'apps/console/plugin.js',
5550
'apps/console/plugin.d.ts',
56-
'apps/site/next-env.d.ts',
5751
],
5852
}, {
5953
// objectui#4853 — a stale `eslint-disable` is an ERROR, not a warning.

‎ui/package.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
"test": "vitest run",
2323
"test:unit": "vitest run --project unit",
2424
"test:integration": "vitest run --project dom --project dom-heavy",
25-
"site:dev": "pnpm --filter @object-ui/site dev",
26-
"site:start": "pnpm --filter @object-ui/site start",
2725
"test:watch": "vitest",
2826
"test:ui": "vitest --ui",
2927
"test:coverage": "vitest run --coverage",

0 commit comments

Comments
 (0)