Skip to content

Add interactive demos to plugin-gantt and plugin-map documentation#242

Merged
hotlong merged 2 commits intomainfrom
copilot/reassess-component-documentation
Jan 27, 2026
Merged

Add interactive demos to plugin-gantt and plugin-map documentation#242
hotlong merged 2 commits intomainfrom
copilot/reassess-component-documentation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 27, 2026

Documentation for plugin-gantt and plugin-map showed only code snippets. Developers couldn't see component capabilities without running examples themselves.

Changes

Added interactive demos using existing InteractiveDemo component infrastructure:

plugin-gantt.mdx

  • Project timeline with task dependencies and progress tracking
  • Software sprint showing parallel task execution
  • Construction phases demonstrating custom field mapping

plugin-map.mdx

  • Store locator with multiple Bay Area locations
  • Delivery tracking with custom field names
  • Event venue finder with detailed metadata

Each demo provides Preview/Code tabs for immediate visual understanding and schema reference.

Result

Plugin Gantt - Interactive Gantt Charts
Plugin Gantt

Plugin Map - Interactive Maps
Plugin Map

Note: 73 component docs and 13 other plugin docs already use this pattern. These were the last two requiring updates.

Original prompt

重新评估如何向开发人员展示组建的能力,重新审阅所有组件的文档展示页面,应该使用demo组件来演示组件的效果,而不是简单的贴代码。


✨ 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 27, 2026

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

Project Deployment Review Updated (UTC)
objectui-crm-app Ready Ready Preview, Comment Jan 27, 2026 2:33pm
objectui-site Ready Ready Preview, Comment Jan 27, 2026 2:33pm

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Update component documentation display with demo components Add interactive demos to plugin-gantt and plugin-map documentation Jan 27, 2026
Copilot AI requested a review from hotlong January 27, 2026 14:35
@hotlong hotlong marked this pull request as ready for review January 27, 2026 14:37
Copilot AI review requested due to automatic review settings January 27, 2026 14:37
@hotlong hotlong merged commit f6787a4 into main Jan 27, 2026
6 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 PR adds interactive demos to the documentation for plugin-gantt and plugin-map, completing the documentation migration to use the InteractiveDemo component pattern. The PR brings these two plugin docs in line with the other 73+ component docs and 13 other plugin docs that already use this pattern.

Changes:

  • Added three interactive Gantt chart examples showing project management, software sprints, and construction phases with custom field mapping
  • Added three interactive map examples demonstrating store locations, delivery tracking, and event venues with various field configurations

Reviewed changes

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

File Description
content/docs/plugins/plugin-gantt.mdx Added InteractiveDemo imports and three comprehensive Gantt chart examples (project timeline, software sprint, construction phases) with dependencies and progress tracking
content/docs/plugins/plugin-map.mdx Added InteractiveDemo imports and three map visualization examples (store locator, delivery tracking, event venues) demonstrating different field mapping configurations

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