Skip to content

Merge plugin-calendar-view into plugin-calendar#218

Merged
hotlong merged 4 commits intomainfrom
copilot/merge-plugin-calendar-view
Jan 26, 2026
Merged

Merge plugin-calendar-view into plugin-calendar#218
hotlong merged 4 commits intomainfrom
copilot/merge-plugin-calendar-view

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 26, 2026

Consolidates two calendar packages into one. The @object-ui/plugin-calendar-view package is now part of @object-ui/plugin-calendar.

Changes

Package Structure

  • Moved CalendarView component and calendar-view renderer into plugin-calendar
  • Both schema types (calendar-view and object-calendar) now registered from single package
  • Deleted packages/plugin-calendar-view directory

Exports

// plugin-calendar now exports both components
import { CalendarView, ObjectCalendar } from '@object-ui/plugin-calendar';

// Schema types unchanged
{ type: 'calendar-view', ... }    // Standalone calendar
{ type: 'object-calendar', ... }  // ObjectQL-integrated

Dependencies

  • Removed @object-ui/plugin-calendar-view from site app
  • Updated documentation to reflect merged package

Migration

- import '@object-ui/plugin-calendar-view'
+ import '@object-ui/plugin-calendar'

- import { CalendarView } from '@object-ui/plugin-calendar-view'
+ import { CalendarView } from '@object-ui/plugin-calendar'

No breaking changes to schema API or component props.

Original prompt

plugin-calendar-view 合并到 plugin-calendar


💡 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
Copy Markdown

vercel Bot commented Jan 26, 2026

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

Project Deployment Review Updated (UTC)
objectui-site Error Error Jan 26, 2026 1:32pm

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI and others added 2 commits January 26, 2026 13:29
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] Merge plugin-calendar-view into plugin-calendar Merge plugin-calendar-view into plugin-calendar Jan 26, 2026
Copilot AI requested a review from hotlong January 26, 2026 13:35
@hotlong hotlong marked this pull request as ready for review January 26, 2026 13:58
Copilot AI review requested due to automatic review settings January 26, 2026 13:58
@hotlong hotlong merged commit e5c7bb0 into main Jan 26, 2026
4 of 5 checks passed
Copy link
Copy Markdown
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 pull request consolidates the @object-ui/plugin-calendar-view package into @object-ui/plugin-calendar, creating a unified calendar plugin package that provides both standalone and ObjectQL-integrated calendar components.

Changes:

  • Merged CalendarView component and calendar-view renderer from plugin-calendar-view into plugin-calendar
  • Both schema types (calendar-view and object-calendar) now registered from a single package
  • Removed the separate @object-ui/plugin-calendar-view package and all its files
  • Updated documentation with migration guides and comprehensive examples
  • Fixed date manipulation bugs in CalendarView using proper Date cloning with .getTime()

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pnpm-lock.yaml Removed plugin-calendar-view package dependency and updated lucide-react version
packages/plugin-calendar/src/index.tsx Added exports for CalendarView component and types, imported calendar-view-renderer
packages/plugin-calendar/src/calendar-view-renderer.tsx Fixed import path to use CalendarView directly instead of from index
packages/plugin-calendar/src/CalendarView.tsx Fixed date mutation bugs using getTime() for proper cloning, removed renderer export
packages/plugin-calendar/package.json Updated description to reflect merged functionality
packages/plugin-calendar-view/* Deleted entire plugin-calendar-view package (vite.config.ts, tsconfig.json, package.json, README.md)
content/docs/plugins/plugin-calendar.mdx Extensive updates with CalendarView documentation, examples, and migration guide
content/docs/plugins/plugin-calendar-view.mdx Replaced with migration notice redirecting to plugin-calendar
content/docs/plugins/meta.json Removed plugin-calendar-view from navigation
apps/site/package.json Removed plugin-calendar-view dependency
apps/site/app/components/InteractiveDemo.tsx Removed plugin-calendar-view import
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment on lines +119 to +122
## ObjectCalendar Component

Calendar component designed for use with ObjectQL data sources.

Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

Duplicate section headers detected. Lines 117 and 119 both have "## ObjectCalendar Component" heading. One of these duplicate headings should be removed to maintain proper document structure.

Suggested change
## ObjectCalendar Component
Calendar component designed for use with ObjectQL data sources.

Copilot uses AI. Check for mistakes.
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.

3 participants