Skip to content

Add Website Expression Protocol for March 2026 preview - #150

Closed
hotlong with Copilot wants to merge 5 commits into
mainfrom
copilot/add-preview-release-schedule
Closed

Add Website Expression Protocol for March 2026 preview#150
hotlong with Copilot wants to merge 5 commits into
mainfrom
copilot/add-preview-release-schedule

Conversation

CopilotAI commented Jan 25, 2026

Copy link
Copy Markdown
Contributor

Implements declarative website configuration protocol for marketing sites and landing pages, scheduled for March 2026 preview release.

Architecture

New protocol module @objectstack/spec/website with 5 schema domains:

  • content-block.zod.ts - 9 section types (hero, features, testimonials, pricing, CTA, FAQ, logo cloud, content, custom HTML)
  • seo.zod.ts - Meta tags, Open Graph, Twitter Cards, Schema.org structured data
  • navigation.zod.ts - Menus (link, dropdown, mega menu), footers, social links
  • landing-page.zod.ts - Page composition with SEO and script injection
  • website.zod.ts - Top-level config with theme, analytics (GA4/GTM/FB Pixel), i18n

Example Usage

importtype{Website}from'@objectstack/spec/website';constconfig: Website.WebsiteConfig={name: 'marketing_site',baseUrl: 'https://example.com',theme: {primaryColor: '#0070F3',darkMode: true,},pages: [{name: 'home',slug: '/',seo: {meta: {title: 'Product',description: '...'},openGraph: {image: '/og.png',type: 'website'},},sections: [{type: 'hero',headline: '...',buttons: [...]},{type: 'features',features: [...],columns: '3'},{type: 'pricing',plans: [...]},],}],previewReleaseDate: '2026-03-01T00:00:00Z',};

Deliverables

  • 36 JSON schemas with runtime validation
  • 45 MDX docs (EN + CN)
  • 30 test cases
  • Working example in examples/website-demo/
  • Package export: @objectstack/spec/website
Original prompt

官网表达协议将于2026年3月发布预览版


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel

vercelBot commented Jan 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentReviewUpdated (UTC)
specReadyReadyPreview, CommentJan 25, 2026 7:12am

Request Review

CopilotAIand others added 4 commits January 25, 2026 07:03
- Created complete website expression protocol in packages/spec/src/website/
- Added SEO configuration schemas with Open Graph and Twitter Cards
- Added navigation and footer configuration schemas
- Added content block schemas for landing pages (hero, features, testimonials, CTA, pricing, FAQ, etc.)
- Added landing page and website configuration schemas
- Created comprehensive test coverage for all website schemas
- Generated JSON schemas and documentation
- Updated package.json exports for website module
- Preview release date: March 2026
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
- Added Chinese meta files for all website protocol sections
- Updated references meta files to include website protocol
- Updated README to document the 6 core protocol modules
- Added Website Protocol as module #3 with preview release date March 2026
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
- Fixed description for previewReleaseDate to show correct ISO 8601 format
- Rebuilt JSON schemas with updated documentation
- All tests passing (1607 tests)
- Security scan completed with no alerts
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
- Created comprehensive example demonstrating the Website Protocol
- Shows hero, features, pricing, FAQ, and CTA sections
- Includes SEO configuration with Open Graph and Twitter Cards
- Demonstrates navigation, footer, and theming
- Documents March 2026 preview release date
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
CopilotAI changed the title [WIP] Add preview release schedule for official agreementAdd Website Expression Protocol for March 2026 previewJan 25, 2026
CopilotAI requested a review from hotlongJanuary 25, 2026 07:10
@hotlonghotlong closed this Jan 25, 2026
Sign up for freeto 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

@hotlong