Skip to content

Commit 2a4e213

Browse files
jherrclaude
andcommitted
docs: add admin UI screenshots to README, docs, and Base onboarding
Capture the schema-driven admin (dashboard, content list, block editor, media library, review queue, profile) from the wp-vs-tanstack example and embed them: - README: new "The admin UI" showcase - docs/getting-started/overview: dashboard hero + admin-UI gallery - docs/getting-started/quick-start: content-list shot at "Run the dev server" - app/base/README: shared-admin dashboard + review queue in "Explore the demo" Images live in docs/images/ and are referenced with relative paths. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 2f6cd7e commit 2a4e213

10 files changed

Lines changed: 52 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,27 @@ pnpm exec tanstack-cms init
1919
Read the docs at [tanstack.com/cms](https://tanstack.com/cms), starting with the
2020
[quick start](./docs/getting-started/quick-start.md).
2121

22+
## The admin UI
23+
24+
The admin ships in `@tanstack/cms-ui-react` and mounts into your app with
25+
`createRoutes(definition)`. It is driven entirely by your schema: a dashboard,
26+
a content list across every collection, the block editor, a media library, the
27+
review queue, and a profile screen.
28+
29+
![The CMS dashboard: per-collection counts, the review queue, and recent activity](./docs/images/admin-dashboard.png)
30+
31+
<table>
32+
<tr>
33+
<td width="50%"><img src="./docs/images/admin-content.png" alt="Content list across every collection with search, status filters, and per-collection create"><br><sub><b>Content</b> — every collection, with search, status filters, and bulk actions.</sub></td>
34+
<td width="50%"><img src="./docs/images/admin-review.png" alt="Review queue listing pending agent changes above a chronological audit trail"><br><sub><b>Review queue</b> — every agent and unprivileged write waits here, above a full audit trail.</sub></td>
35+
</tr>
36+
</table>
37+
38+
The block editor keeps the editorial workflow in the sidebar: revisions and
39+
restore, scheduled publish and unpublish, assignment, inline comments, and SEO.
40+
41+
![The block editor with the revisions, scheduling, assignment, comments, and SEO panels in the sidebar](./docs/images/admin-editor.png)
42+
2243
## TanStack Base
2344

2445
[Base](./app/base/README.md) is the Dockerized application distribution: a seeded

‎app/base/README.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ The default Compose configuration binds only to host loopback.
3030

3131
## Explore the demo
3232

33+
Base builds on the shared TanStack CMS admin from `@tanstack/cms-ui-react`. The
34+
dashboard, content list, block editor, and review queue below come straight from
35+
the libraries; Base adds its coffee-shop collections, onboarding, and reports on
36+
top.
37+
38+
![The shared CMS admin dashboard: per-collection counts, the review queue, and recent activity](../../docs/images/admin-dashboard.png)
39+
40+
![The review queue where every agent write waits for human approval, above the audit trail](../../docs/images/admin-review.png)
41+
3342
- **Collections (admin):** create collections, add fields, and review schema
3443
changes before publishing. Definitions are stored in the database.
3544
- **Shop:** collection viewers backed by TanStack DB live queries. Use **Content**

‎docs/getting-started/overview.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ keywords:
1818

1919
TanStack CMS is an agent-native CMS for TanStack Start apps. Developers, editors, and AI agents work on the same schema-driven content model, with role-based access control, drafts and revisions, and one human review queue that every agent write passes through.
2020

21+
![The TanStack CMS dashboard showing per-collection counts, the review queue, and recent activity](../images/admin-dashboard.png)
22+
2123
It's built on two TanStack libraries. [TanStack Start](https://tanstack.com/start) is the runtime: the admin, public pages, and API are Start routes mounted from a package, and every operation is a Start server function. [TanStack DB](https://tanstack.com/db) is the data layer for your app's UI: any CMS collection can be a live, writable TanStack DB collection, queried and joined with your other data. See [Data Layer with TanStack DB](../architecture/data-layer).
2224

2325
Build a blog and page CMS from one config file in [Build a Blog & Page CMS](../tutorials/blog-cms).
@@ -28,6 +30,22 @@ Connect Claude Desktop over HTTP MCP or an in-browser agent over WebMCP in [Conn
2830

2931
Port an existing Payload, Astro Starlight, EmDash, or WordPress project with a migration skill in [Migration Overview](../migration/overview).
3032

33+
## The admin UI
34+
35+
The admin mounts into your Start app from `@tanstack/cms-ui-react` and is generated from your schema. Nothing below is bespoke to one app: the same screens appear for any `defineCms` config.
36+
37+
The content list spans every collection with search, status filters, and per-collection create. The block editor keeps the editorial workflow in the sidebar: revisions and restore, scheduled publish and unpublish, assignment, inline comments, and SEO.
38+
39+
| Content | Block editor |
40+
| --- | --- |
41+
| [![Content list across every collection](../images/admin-content.png)](../images/admin-content.png) | [![The block editor with workflow sidebar](../images/admin-editor.png)](../images/admin-editor.png) |
42+
43+
Every agent write, and every save by a user without publish rights, stages into the review queue with a field-by-field diff above a full audit trail. The media library and profile screen round out the shell.
44+
45+
| Review queue | Media library | Profile |
46+
| --- | --- | --- |
47+
| [![The review queue and audit trail](../images/admin-review.png)](../images/admin-review.png) | [![The media library](../images/admin-media.png)](../images/admin-media.png) | [![The profile screen with role and permissions](../images/admin-profile.png)](../images/admin-profile.png) |
48+
3149
## Key Features
3250

3351
- **Schema-as-Code** - One collection and block definition drives validation, admin forms, the block editor, the public renderer, the HTTP API, and agent tool schemas. Twenty field types, including `relation`, `slug`, `group`, `array`, and `richtext`.

‎docs/getting-started/quick-start.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,10 @@ On first run the store creates an embedded Postgres (PGlite) database under `.da
221221
- `/api/cms/v1` - HTTP API catalog (`/api/cms/v1/openapi.json` for the OpenAPI document)
222222
- `/api/mcp` - Streamable HTTP MCP server for external agents
223223

224+
Open `/content` and you get the content list for every collection, generated from your schema:
225+
226+
![The admin content list with search, status filters, and per-collection create](../images/admin-content.png)
227+
224228
## 7. Log in
225229

226230
In development there is nothing to log in to. With no `auth` in `defineCms()`, every request is treated as a local admin while `NODE_ENV` is `development` (as under `vite dev`). Open `/content` and start editing.

‎docs/images/admin-content.png‎

449 KB
Loading

‎docs/images/admin-dashboard.png‎

196 KB
Loading

‎docs/images/admin-editor.png‎

402 KB
Loading

‎docs/images/admin-media.png‎

92.2 KB
Loading

‎docs/images/admin-profile.png‎

112 KB
Loading

‎docs/images/admin-review.png‎

146 KB
Loading

0 commit comments

Comments
 (0)