Skip to content

Add page metadata specification for visual UI design#17

Merged
hotlong merged 6 commits intomainfrom
copilot/define-page-metadata-rules
Jan 12, 2026
Merged

Add page metadata specification for visual UI design#17
hotlong merged 6 commits intomainfrom
copilot/define-page-metadata-rules

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 12, 2026

Page Metadata Definition Implementation

This PR implements comprehensive page metadata rules for ObjectQL, enabling visual design interface support similar to mainstream low-code platforms like Airtable, Retool, and Appsmith.

✅ Completed Tasks

  • Type Definitions - Created comprehensive PageConfig interface in @objectql/types
  • Loader Integration - Updated @objectql/core loader to support *.page.yml files
  • Example Pages - Created 4 comprehensive examples with documentation
  • Comprehensive Testing - 9 new tests, all 69 tests passing ✅
  • Documentation
    • User Guide: docs/guide/page-metadata.md
    • Technical Spec: docs/spec/page.md
    • Updated docs/spec/index.md to include Pages in Presentation Layer
    • Updated docs/spec/metadata-standard.md with Pages section
    • Added Pages to file organization structure
    • Updated VitePress navigation
  • Code Review & Security - All feedback addressed, CodeQL: 0 alerts ✅

📝 Documentation Updates (Latest)

Updated specification documentation to properly include the new Pages metadata type:

  1. docs/spec/index.md

    • Added Pages to Presentation Layer section
    • Updated file organization to include *.page.yml files
  2. docs/spec/metadata-standard.md

    • Added comprehensive Pages section with examples
    • Updated metadata taxonomy introduction
    • Updated "Next Steps" and "Reference" sections

🎯 Key Features

  • Multiple layout types (7 layouts for various use cases)
  • Rich component library (20+ built-in component types)
  • Data integration with ObjectQL data sources
  • Interactive actions (navigate, modals, forms, custom handlers)
  • Responsive design (mobile/tablet/desktop)
  • Access control and state management
  • AI context for code generation

This implementation provides a solid foundation for building visual design tools on top of ObjectQL while maintaining the metadata-first philosophy.

Original prompt

参考主流低代码平台的方案定义page元数据的规则,要求方便,后期设计可视化的设计界面。比如airtable


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@hotlong
Copy link
Copy Markdown
Contributor

hotlong commented Jan 12, 2026

@copilot 更新文档规范

Copilot AI and others added 3 commits January 12, 2026 02:41
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Define metadata rules for page structure Add page metadata specification for visual UI design Jan 12, 2026
Copilot AI requested a review from hotlong January 12, 2026 02:48
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 12, 2026

@copilot 更新文档规范

Updated the documentation specification in commit 330f647:

  • Added Pages section to docs/spec/metadata-standard.md with complete examples
  • Updated docs/spec/index.md to include Pages in the Presentation Layer
  • Added *.page.yml to the file organization structure
  • Updated all relevant cross-references and navigation links

The documentation now properly reflects Pages as part of the metadata standard alongside Views, Forms, and Reports.

@hotlong hotlong marked this pull request as ready for review January 12, 2026 03:50
@hotlong hotlong merged commit b615e8b into main Jan 12, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants