Skip to content

Commit d1e4108

Browse files
Merge pull request #1244 from objectstack-ai/copilot/update-docs-for-packages
docs: prepare all 39 packages and website for official v3.3.0 release
2 parents cd2839b + 1aeb854 commit d1e4108

File tree

131 files changed

+3028
-341
lines changed

Some content is hidden

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

131 files changed

+3028
-341
lines changed

CHANGELOG.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,33 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
58
## [Unreleased]
69

10+
_No unreleased changes yet. Add new entries here._
11+
12+
## [3.3.0] - 2026-04-17
13+
14+
> First official release of Object UI published for third-party consumption.
15+
> All 39 packages under `packages/*` are now published to npm at version `3.3.0`
16+
> and aligned with `@objectstack/spec` v3.3.0 / `@objectstack/client` v3.3.0.
17+
18+
### Release Highlights
19+
20+
- **Package publishing:** All 39 packages now ship with complete `package.json`
21+
release metadata (`description`, `keywords`, `repository`, `homepage`, `bugs`,
22+
`license`, `author`, `publishConfig`, `files`) and a per-package `LICENSE` +
23+
`CHANGELOG.md`.
24+
- **Documentation:** Every package README follows a standard template with
25+
Installation, Quick Start, API, **Compatibility**, **Links**, and **License**
26+
sections. The docs site (`content/docs/`) is refreshed for v3.3.0.
27+
- **Architecture:** Spec v4 alignment (plain-string `label` types across
28+
Navigation schemas), unified Copilot Skills architecture, new thin packages
29+
(`@object-ui/app-shell`, `@object-ui/providers`) for third-party integration,
30+
and a streamlined console rendering pipeline (~50KB core vs. 500KB+ before).
31+
732
### Fixed
833

934
- **apps/console Vercel deployment** — The production build for Vercel previously ran `vite build` without setting `VITE_USE_MOCK_SERVER=false`, which caused the MSW service worker to be bundled and started in production. As a result, all `/api/v1/*` requests were intercepted locally and the console never actually connected to its configured backend (e.g. `demo.objectstack.ai`). Users hitting routes such as `/apps/<app>/<object>` would see an *object not found* empty state because the MSW mock dataset does not contain every production app/object. `apps/console/vercel.json` now explicitly sets `VITE_USE_MOCK_SERVER=false` in the Vercel `buildCommand`, and the README documents the required `VITE_SERVER_URL` environment variable.
@@ -42,12 +67,7 @@ All notable changes to this project will be documented in this file.
4267
- Console can now be streamlined for third-party use without inheriting full infrastructure
4368
- Bundle size for core rendering reduced from 500KB+ to ~50KB using new packages
4469

45-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
46-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
47-
48-
## [Unreleased]
49-
50-
### Changed
70+
### Changed (additional)
5171

5272
- **Copilot Skills Architecture Unified** (`skills`): Consolidated 10 parallel ObjectUI Copilot skills (`objectui-auth-permissions`, `objectui-console-development`, `objectui-data-integration`, `objectui-i18n`, `objectui-mobile`, `objectui-plugin-development`, `objectui-project-setup`, `objectui-schema-expressions`, `objectui-sdui-page-builder`, `objectui-testing`) into a single tree-based `skills/objectui/` structure aligned with shadcn/ui best practices. The new architecture features:
5373
- **Single entry point** (`skills/objectui/SKILL.md`): Unified skill manifest with core principles, architecture overview, and indexed references to guides and rules.

QUICK_REFERENCE.md

Lines changed: 76 additions & 188 deletions
Original file line numberDiff line numberDiff line change
@@ -1,203 +1,91 @@
1-
# Quick Reference Guide | 快速参考指南
2-
3-
## 📍 Where to Find Everything
4-
5-
### Documentation | 文档
6-
7-
#### ObjectOS Integration
8-
**File:** `content/docs/guide/objectos-integration.mdx`
9-
**URL:** https://www.objectui.org/docs/guide/objectos-integration
10-
**Topics:**
11-
- Integration architecture
12-
- Quick start guide
13-
- Multi-tenancy support
14-
- RBAC integration
15-
- 3 deployment strategies
16-
- Migration from competitors
17-
18-
#### Console Rendering
19-
**File:** `content/docs/guide/console-rendering.mdx`
20-
**URL:** https://www.objectui.org/docs/guide/console-rendering
21-
**Topics:**
22-
- Terminal/CLI rendering
23-
- Ink integration
24-
- CLI tool examples
25-
- Server console setup
26-
- Best practices
27-
28-
#### AG Grid (Chinese)
29-
**File:** `content/docs/plugins/plugin-aggrid.zh-CN.mdx`
30-
**URL:** https://www.objectui.org/docs/plugins/plugin-aggrid.zh-CN
31-
**Topics:**
32-
- 完整的中文文档
33-
- 交互式示例
34-
- API 参考
35-
36-
---
37-
38-
### Storybook Stories | 故事示例
39-
40-
**File:** `packages/components/src/stories-json/object-aggrid-advanced.stories.tsx`
41-
**Run:** `pnpm storybook`
42-
**Navigate to:** Plugins > Data Views > Object AgGrid Advanced
43-
44-
**Stories:**
45-
1. Status Bar & Aggregations - 状态栏和聚合
46-
2. Context Menu - 右键菜单
47-
3. Inline Editing + Row Selection - 行内编辑
48-
4. Full Featured - 完整功能
49-
5. Alpine Theme (Full Featured)
50-
6. Balham Theme + Export
51-
7. Material Theme + Status Bar
52-
53-
---
54-
55-
### Development Plans | 开发计划
56-
57-
#### Integration Roadmap
58-
**File:** `OBJECTOS_INTEGRATION_ROADMAP.md`
59-
**Scope:** 12 months (Q1-Q4 2026)
60-
**Phases:**
61-
- Q1: Foundation (Multi-tenant, RBAC, System Objects)
62-
- Q2: Enterprise Features (Workflows, Collaboration)
63-
- Q3: Production Readiness (Performance, i18n, Security)
64-
- Q4: Ecosystem Expansion (Marketplace, Cloud Platform)
65-
66-
#### Complete Summary
67-
**File:** `UPDATE_SUMMARY.md`
68-
**Contents:**
69-
- Package scan results
70-
- All documentation updates
71-
- Storybook enhancements
72-
- Impact assessment
73-
- Next steps
74-
75-
---
76-
77-
## 🎯 Quick Commands
78-
79-
### View Documentation Locally
1+
# Quick Reference
2+
3+
A one-page cheat-sheet for working in the `objectui` monorepo.
4+
5+
## Common Commands
6+
7+
### Install & Build
8+
809
```bash
81-
cd /home/runner/work/objectui/objectui
82-
pnpm site:dev
83-
# Visit http://localhost:3000
10+
pnpm install # Install all workspace dependencies
11+
pnpm build # Build every package (turbo, parallel & cached)
12+
pnpm typecheck # Run tsc --noEmit across the workspace
13+
pnpm lint # Run eslint across the workspace
8414
```
8515

86-
### Run Storybook
16+
### Run Docs & Storybook
17+
8718
```bash
88-
pnpm storybook
89-
# Visit http://localhost:6006
19+
pnpm --filter @object-ui/site dev # Docs site at http://localhost:3000
20+
pnpm storybook # Component playground at http://localhost:6006
9021
```
9122

92-
### Build Project
23+
### Test
24+
9325
```bash
94-
pnpm build
26+
pnpm test # Run every vitest project
27+
pnpm --filter @object-ui/console test # Run just the console tests
28+
pnpm --filter @object-ui/core test # Run a single package's tests
29+
pnpm playwright test # End-to-end tests
9530
```
9631

9732
### Run Examples
98-
```bash
99-
# CRM with console
100-
pnpm serve:crm
101-
# Visit http://localhost:3000/console
10233

103-
# Todo example
104-
pnpm serve:todo
105-
106-
# Kitchen Sink
107-
pnpm serve:kitchen-sink
34+
```bash
35+
pnpm --filter @object-ui/example-crm dev # CRM demo
36+
pnpm --filter @object-ui/example-todo dev # Todo demo
37+
pnpm --filter @object-ui/example-kitchen-sink dev # Kitchen-sink showcase
10838
```
10939

110-
---
111-
112-
## 📋 Checklist for Next Developer
113-
114-
### Immediate Tasks
115-
- [ ] Review `UPDATE_SUMMARY.md`
116-
- [ ] Review `OBJECTOS_INTEGRATION_ROADMAP.md`
117-
- [ ] Test Storybook stories locally
118-
- [ ] Verify documentation renders correctly
119-
120-
### Short-term (Next Sprint)
121-
- [ ] Create console-showcase example
122-
- [ ] Enhance kitchen-sink with AG Grid features
123-
- [ ] Add more Chinese translations
124-
- [ ] Create ObjectOS integration example
125-
126-
### Medium-term (Next Quarter)
127-
- [ ] Implement Phase 1 of roadmap (Foundation)
128-
- [ ] Build multi-tenancy support
129-
- [ ] Implement RBAC system
130-
- [ ] Integrate system objects
131-
132-
---
133-
134-
## 🔗 Important Links
135-
136-
### Documentation
137-
- ObjectOS Integration: `/content/docs/guide/objectos-integration.mdx`
138-
- Console Rendering: `/content/docs/guide/console-rendering.mdx`
139-
- AG Grid Chinese: `/content/docs/plugins/plugin-aggrid.zh-CN.mdx`
140-
141-
### Storybook
142-
- Advanced Stories: `/packages/components/src/stories-json/object-aggrid-advanced.stories.tsx`
40+
### Release (via changesets)
14341

144-
### Planning
145-
- Roadmap: `/OBJECTOS_INTEGRATION_ROADMAP.md`
146-
- Summary: `/UPDATE_SUMMARY.md`
147-
148-
### Examples
149-
- CRM: `/examples/crm/`
150-
- Todo: `/examples/todo/`
151-
- Kitchen Sink: `/examples/kitchen-sink/`
152-
153-
---
154-
155-
## 💡 Key Concepts
156-
157-
### ObjectOS Integration
158-
1. **Adapter Pattern**: Use `ObjectStackAdapter` for data layer
159-
2. **Multi-tenancy**: Implement via `TenantProvider`
160-
3. **RBAC**: Use `PermissionGuard` components
161-
4. **Workflows**: Define state machines in schemas
162-
163-
### Console Rendering
164-
1. **Ink Framework**: React for CLI applications
165-
2. **CLI-Table3**: Terminal table rendering
166-
3. **Inquirer**: Interactive prompts
167-
4. **Chalk**: Colored terminal output
168-
169-
### Internationalization
170-
1. **Pattern**: Create `.zh-CN.mdx` files alongside `.mdx`
171-
2. **Translation**: Keep schema structure, translate content
172-
3. **Navigation**: Update `meta.json` for language-specific pages
173-
174-
---
175-
176-
## 🎓 Learning Resources
177-
178-
### Created in This PR
179-
- **ObjectOS Integration Guide** - Learn how to integrate with ObjectOS
180-
- **Console Rendering Patterns** - Build CLI tools with ObjectUI
181-
- **Chinese Documentation Example** - See i18n implementation
182-
- **Development Roadmap** - Understand the 12-month plan
183-
184-
### Existing Resources
185-
- Main README: `/README.md`
186-
- Improvement Plan: `/IMPROVEMENT_PLAN.md`
187-
- Contributing Guide: `/CONTRIBUTING.md`
188-
- Examples: `/examples/`
189-
190-
---
191-
192-
## 📞 Support
193-
194-
For questions about:
195-
- **Documentation**: Check `UPDATE_SUMMARY.md`
196-
- **Integration**: See `OBJECTOS_INTEGRATION_ROADMAP.md`
197-
- **Implementation**: Review examples in `/examples/`
198-
- **Issues**: GitHub Issues
199-
200-
---
42+
```bash
43+
pnpm changeset # Author a changeset for your PR
44+
pnpm changeset version # Apply changesets & bump versions
45+
pnpm changeset publish # Publish to npm (CI only)
46+
```
20147

202-
**Last Updated:** 2026-02-07
203-
**Status:** ✅ Complete and Ready for Review
48+
## Repository Layout
49+
50+
| Path | Purpose |
51+
| --- | --- |
52+
| `packages/*` | 39 published packages (`@object-ui/*`, `@objectstack/plugin-ui`) |
53+
| `apps/console` | Full ObjectUI console app (Vite + React) |
54+
| `apps/site` | Public docs site at <https://www.objectui.org> (fumadocs) |
55+
| `apps/server` | Vercel backend for `demo.objectstack.ai` |
56+
| `examples/*` | Runnable integration examples (CRM, todo, minimal-console, …) |
57+
| `content/docs/` | MDX source for the docs site |
58+
| `e2e/` | Playwright end-to-end tests |
59+
| `.changeset/` | Pending release notes |
60+
61+
## Package Tiers
62+
63+
| Tier | Location | Role |
64+
| --- | --- | --- |
65+
| Protocol | `packages/types` | Pure TypeScript types (no runtime deps) |
66+
| Engine | `packages/core` | Registry, expression engine, action runner |
67+
| Atoms | `packages/components` | Shadcn primitives |
68+
| Fields | `packages/fields` | Form field widgets |
69+
| Layout | `packages/layout`, `packages/app-shell` | Page skeletons |
70+
| Plugins | `packages/plugin-*` | Heavy view widgets (grid, kanban, charts, …) |
71+
| Runtime | `packages/react`, `packages/runner` | React bindings & bootstrap |
72+
| Adapters | `packages/data-objectstack`, `packages/providers` | Data source integration |
73+
| Platform | `packages/auth`, `packages/permissions`, `packages/tenant`, `packages/i18n`, `packages/mobile`, `packages/collaboration` | Cross-cutting concerns |
74+
| Tooling | `packages/cli`, `packages/create-plugin`, `packages/vscode-extension` | Developer experience |
75+
76+
## Key Documents
77+
78+
- [README.md](./README.md) — project overview & quick start
79+
- [CHANGELOG.md](./CHANGELOG.md) — release notes
80+
- [ROADMAP.md](./ROADMAP.md) — development plan
81+
- [CONTRIBUTING.md](./CONTRIBUTING.md) — contribution workflow
82+
- [`content/docs/`](./content/docs/) — full documentation source
83+
84+
## Current Release
85+
86+
- **Version:** v3.3.0 (first official release)
87+
- **Spec:** `@objectstack/spec` v3.3.0
88+
- **Client:** `@objectstack/client` v3.3.0
89+
- **Node.js:** ≥ 18
90+
- **React:** 18.x or 19.x
91+
- **TypeScript:** ≥ 5.0 (strict mode)

0 commit comments

Comments
 (0)