This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Enhance metadata specifications and component system - #71
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Add comprehensive properties to BaseSchema (visible, hidden, disabled, name, label, description, etc.) - Create new crud.ts with CRUD operation schemas (CRUDSchema, DetailSchema, ActionSchema) - Create new api.ts with API integration and event handling schemas - Support complete CRUD interfaces with filters, pagination, toolbar - Add event handler configuration for API calls, navigation, dialogs - Add data fetching configuration for dynamic data loading - Export all new types from index.ts Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Copilot stopped work on behalf of
huangyiirene due to an error
January 15, 2026 05:03
Contributor
|
@copilot Continue |
- Add schema-validator.ts with validateSchema, assertValidSchema, isValidSchema functions - Add schema-builder.ts with fluent builders for Form, CRUD, Button, Input, Card, Grid, Flex - Export validation and builder utilities from core package - Add @object-ui/types dependency to core package - Update tsconfig with composite projects and path mappings - Create comprehensive BEST_PRACTICES.md guide - Create user-management and api-integration example apps - Create CRUD protocol documentation - Create API integration guide - Update examples README with new examples Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Contributor
Author
I've completed the enhancement of the metadata specifications and component system! Here's what was added: ✅ Completed Work1. Enhanced Type Definitions (commit 91c498c)
2. Developer Tools (commit 4f68e0e)
3. Comprehensive Examples
4. Documentation
All phases 1-5 from the PR description are now complete. The system is ready for building complete JSON-driven applications! |
- Add ENHANCEMENT_SUMMARY.md documenting all completed work - Complete all 5 phases of the enhancement plan - Added 2 new comprehensive examples (user-management, api-integration) - Added 3 new documentation guides (CRUD, API, Best Practices) - Added schema validation and builder utilities - All changes are backward compatible Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Enhance metadata specifications and controls system
Enhance metadata specifications and component system
Jan 15, 2026
huangyiirene
requested review from
Copilot
and removed request for
huangyiirene and
xuyushun441-sys
January 15, 2026 05:26
- Replace Function type with proper function signature in api.ts - Remove generated .d.ts and .js files from src directory - Update .gitignore to prevent generated files in src - All packages now pass lint with 0 errors (only warnings remain) - Fixes: utils?: Record<string, Function> -> utils?: Record<string, (...args: any[]) => any> Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Contributor
Author
Fixed the pnpm lint! The issue was using the What was fixed (commit 629f6e7):
Result: |
huangyiirene
approved these changes
Jan 15, 2026
huangyiirene
marked this pull request as ready for review
January 15, 2026 06:58
Contributor
📦 Bundle Size Report
Size Limits
|
Contributor
|
✅ All checks passed!
|
This was referenced Feb 16, 2026
Copilot AI
added a commit
that referenced
this pull request
Feb 16, 2026
- Export TimelineConfig and TimelineConfigSchema from @object-ui/types (#64) - Export NavigationConfig and NavigationConfigSchema from @object-ui/types - Update ObjectTimeline to use spec-compliant startDateField with backward compat (#72) - Add endDateField, groupByField, colorField, scale to ObjectTimeline - Add navigation support to ObjectGallery via useNavigationOverlay (#66) - Implement navigation.view property in useNavigationOverlay hook (#68) - Implement emptyState spec property in ListView (#71) - Add emptyState to ListViewSchema type - Add tests for all new functionality Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
This was referenced Sep 7, 2026
This was referenced Sep 7, 2026
os-sales
added a commit
that referenced
this pull request
Sep 8, 2026
… amend #8222's stale live-figure guidance objectui#8458 — `zod-mirror-parity.test.ts`'s header said the objectui#7760 move took "19 keys across 16 pairs". Every other figure in that paragraph is read by a `headerFigures` pin and moved correctly with PR #8354; the pairs figure was the one no spelling reached, so it compiled and tested green while wrong. Re-derived rather than adopted: this file's own `ledgerEntryMembers('WiderThanDeclared')` was sliced out of the source, transpiled and run over the file at `645ecb98c` and `a480f797a` (PR #8354's parent and its merge), diffing entry -> key pairs. 19 keys left and 3 entered, across 18 distinct entries — 13 emptied, 5 reduced. Both movements close against figures already pinned at those revisions (52 - 19 + 3 = 36 keys; 34 - 13 + 2 = 23 entries). `16` is neither reading. The figure is now pinned, following the precedent of the "N of the registered pairs carry TYPE drift TODAY" spelling already in this file, and "pairs" is defined where it stands: every entry the move TOUCHED, with `emptied` as the subset that lost its whole content. The pin reads only the sentence — the movement is a HISTORICAL reading of two fixed trees, so nothing compares it to the live ledger. objectui#8248 — objectui#8222's exclusion note still called the seed decomposition a LIVE figure, which objectui#8243 made historical. Per the maintainer ruling (decision batch #71) the guidance clause is amended and the two measurement-record clauses are untouched; the record-vs-guidance rule is written once, in the file header. Test-only: the file is under `__tests__/`, excluded by the package build tsconfig and absent from its published `files`. Declared with an empty-frontmatter changeset. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CZY49skxUBYyJcdnTcYPrE
os-sales
added a commit
that referenced
this pull request
Sep 8, 2026
… amend #8222's stale live-figure guidance objectui#8458 — `zod-mirror-parity.test.ts`'s header said the objectui#7760 move took "19 keys across 16 pairs". Every other figure in that paragraph is read by a `headerFigures` pin and moved correctly with PR #8354; the pairs figure was the one no spelling reached, so it compiled and tested green while wrong. Re-derived rather than adopted: this file's own `ledgerEntryMembers('WiderThanDeclared')` was sliced out of the source, transpiled and run over the file at `645ecb98c` and `a480f797a` (PR #8354's parent and its merge), diffing entry -> key pairs. 19 keys left and 3 entered, across 18 distinct entries — 13 emptied, 5 reduced. Both movements close against figures already pinned at those revisions (52 - 19 + 3 = 36 keys; 34 - 13 + 2 = 23 entries). `16` is neither reading. The figure is now pinned, following the precedent of the "N of the registered pairs carry TYPE drift TODAY" spelling already in this file, and "pairs" is defined where it stands: every entry the move TOUCHED, with `emptied` as the subset that lost its whole content. The pin reads only the sentence — the movement is a HISTORICAL reading of two fixed trees, so nothing compares it to the live ledger. objectui#8248 — objectui#8222's exclusion note still called the seed decomposition a LIVE figure, which objectui#8243 made historical. Per the maintainer ruling (decision batch #71) the guidance clause is amended and the two measurement-record clauses are untouched; the record-vs-guidance rule is written once, in the file header. Test-only: the file is under `__tests__/`, excluded by the package build tsconfig and absent from its published `files`. Declared with an empty-frontmatter changeset. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CZY49skxUBYyJcdnTcYPrE
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 9, 2026
…pairs figure, amend objectstack-ai#8222's stale live-figure guidance (objectstack-ai#8575) objectui#8458 — `zod-mirror-parity.test.ts`'s header said the objectui#7760 move took "19 keys across 16 pairs". Every other figure in that paragraph is read by a `headerFigures` pin and moved correctly with PR objectstack-ai#8354; the pairs figure was the one no spelling reached, so it compiled and tested green while wrong. Re-derived rather than adopted: this file's own `ledgerEntryMembers('WiderThanDeclared')` was sliced out of the source, transpiled and run over the file at `645ecb98c` and `a480f797a` (PR objectstack-ai#8354's parent and its merge), diffing entry -> key pairs. 19 keys left and 3 entered, across 18 distinct entries — 13 emptied, 5 reduced. Both movements close against figures already pinned at those revisions (52 - 19 + 3 = 36 keys; 34 - 13 + 2 = 23 entries). `16` is neither reading. The figure is now pinned, following the precedent of the "N of the registered pairs carry TYPE drift TODAY" spelling already in this file, and "pairs" is defined where it stands: every entry the move TOUCHED, with `emptied` as the subset that lost its whole content. The pin reads only the sentence — the movement is a HISTORICAL reading of two fixed trees, so nothing compares it to the live ledger. objectui#8248 — objectui#8222's exclusion note still called the seed decomposition a LIVE figure, which objectui#8243 made historical. Per the maintainer ruling (decision batch objectstack-ai#71) the guidance clause is amended and the two measurement-record clauses are untouched; the record-vs-guidance rule is written once, in the file header. Test-only: the file is under `__tests__/`, excluded by the package build tsconfig and absent from its published `files`. Declared with an empty-frontmatter changeset. Claude-Session: https://claude.ai/code/session_01CZY49skxUBYyJcdnTcYPrE Co-authored-by: os-sales <sales@objectstack.ai> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
完善基础元数据规范和控件体系 (Enhance Metadata Specifications and Component System)
Based on the goal of developing complete projects using JSON, this PR improves the fundamental metadata specifications and component system.
Phase 1: Enhance Type Definitions ✅
Phase 2: Component System Features ✅
Phase 3: Improve Protocol Specifications ✅
Phase 4: Developer Experience ✅
Phase 5: Documentation & Examples ✅
Key Features Added
1. Enhanced Type Definitions
visibleOn,hiddenOn,disabledOn)2. Schema Validation
3. Schema Builders
4. Comprehensive Examples
5. Documentation
Summary
✅ All 5 phases complete!
This PR delivers a comprehensive enhancement to Object UI's metadata specifications and component system, enabling developers to build complete, production-ready applications using pure JSON schemas with full type safety and excellent developer experience.
See ENHANCEMENT_SUMMARY.md for detailed documentation of all changes.
Migration Guide
No breaking changes. All changes are additive and backward compatible. Existing schemas continue to work as before. New features are opt-in.
Build Status
✅ All packages build successfully with
pnpm build✅ All packages lint successfully with
pnpm lint(0 errors)✅ TypeScript composite projects configured correctly
✅ Vercel build passing
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.