Skip to content

[WIP] Fix build and test issues#499

Merged
hotlong merged 3 commits intomainfrom
copilot/fix-build-and-test-983a8e44-96af-4914-a887-a115d4c6afc4
Feb 13, 2026
Merged

[WIP] Fix build and test issues#499
hotlong merged 3 commits intomainfrom
copilot/fix-build-and-test-983a8e44-96af-4914-a887-a115d4c6afc4

Conversation

Copy link
Contributor

Copilot AI commented Feb 13, 2026

Fix Build and Test Issues

Build Issues Identified:

  • Analyze build errors
  • Fix TypeScript errors in console app PageView.tsx (duplicate 'type' property)
  • Fix list_views TypeScript errors in CRM object definitions (removed unsupported property)
  • Ensure all packages build successfully ✅

Test Issues:

  • Verify tests run without failures after build fixes
  • Address any remaining test failures

Changes Made:

  1. Fixed PageView.tsx - moved type property after spread to avoid overwriting
  2. Removed unsupported list_views property from 10 object definitions (CRM and kitchen-sink examples)
  3. Removed unsupported form_views property from showcase object
  4. Removed unsupported actions property from showcase object

Build Status: ✅ All 42 tasks successful

Original prompt

fix build and test


💡 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.

@vercel
Copy link

vercel bot commented Feb 13, 2026

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

Project Deployment Actions Updated (UTC)
objectui Ready Ready Preview, Comment Feb 13, 2026 6:30pm
objectui-demo Ready Ready Preview, Comment Feb 13, 2026 6:30pm
objectui-storybook Error Error Feb 13, 2026 6:30pm

Request Review

Copilot AI and others added 2 commits February 13, 2026 17:48
…PageView type conflict

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@hotlong hotlong marked this pull request as ready for review February 13, 2026 17:52
Copilot AI review requested due to automatic review settings February 13, 2026 17:52
@hotlong hotlong merged commit 7e61a12 into main Feb 13, 2026
3 of 6 checks passed
Copilot AI requested a review from hotlong February 13, 2026 17:52
Copilot stopped work on behalf of hotlong due to an error February 13, 2026 17:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes critical build errors by removing unsupported properties from object schema definitions and correcting a TypeScript error in the PageView component. The changes ensure strict compliance with @objectstack/spec, which defines ObjectSchema to only accept specific properties (name, label, description, fields, permissions, triggers, etc.) - not view-related configurations like list_views, form_views, or actions.

Changes:

  • Fixed PageView.tsx to prevent type property from being overwritten by moving it after the spread operator
  • Removed unsupported list_views property from 10 object definitions (all CRM objects and kitchen-sink examples)
  • Removed unsupported form_views and actions properties from showcase.object.ts

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
apps/console/src/components/PageView.tsx Fixed property ordering: moved type: 'page' after spread to prevent overwriting
examples/kitchen-sink/src/objects/showcase.object.ts Removed unsupported list_views, form_views, and actions properties from ObjectSchema
examples/kitchen-sink/src/objects/kitchen_sink.object.ts Removed unsupported list_views property from ObjectSchema
examples/crm/src/objects/user.object.ts Removed unsupported list_views property from ObjectSchema
examples/crm/src/objects/project.object.ts Removed unsupported list_views property from ObjectSchema
examples/crm/src/objects/product.object.ts Removed unsupported list_views property from ObjectSchema
examples/crm/src/objects/order.object.ts Removed unsupported list_views property from ObjectSchema
examples/crm/src/objects/opportunity.object.ts Removed unsupported list_views property from ObjectSchema
examples/crm/src/objects/event.object.ts Removed unsupported list_views property from ObjectSchema
examples/crm/src/objects/contact.object.ts Removed unsupported list_views property from ObjectSchema
examples/crm/src/objects/account.object.ts Removed unsupported list_views property from ObjectSchema

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