Skip to content

Add Website Expression Protocol for March 2026 preview#150

Closed
Copilot wants to merge 5 commits intomainfrom
copilot/add-preview-release-schedule
Closed

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

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 25, 2026

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

import type { Website } from '@objectstack/spec/website';

const config: 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
Copy link
Copy Markdown

vercel Bot commented Jan 25, 2026

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

Project Deployment Review Updated (UTC)
spec Ready Ready Preview, Comment Jan 25, 2026 7:12am

Request Review

Copilot AI and 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>
Copilot AI changed the title [WIP] Add preview release schedule for official agreement Add Website Expression Protocol for March 2026 preview Jan 25, 2026
Copilot AI requested a review from hotlong January 25, 2026 07:10
@hotlong hotlong closed this Jan 25, 2026
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