Skip to content

Fix Kanban demo: replace unregistered 'group' component with 'flex'#199

Merged
hotlong merged 2 commits intomainfrom
copilot/fix-kanban-demo-error
Jan 26, 2026
Merged

Fix Kanban demo: replace unregistered 'group' component with 'flex'#199
hotlong merged 2 commits intomainfrom
copilot/fix-kanban-demo-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 26, 2026

The Kanban Board interactive demo referenced a "group" component type that doesn't exist in the component registry, causing "Unknown component type" errors.

Changes

  • Replaced type: "group" with type: "flex", direction: "row" in /content/docs/views/object-kanban.mdx

The flex component with row direction provides identical horizontal layout behavior:

{
  "type": "flex",
  "direction": "row",
  "gap": 2,
  "children": [...]
}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/objectui/objectui/apps/site/node_modules/.bin/../next/dist/bin/next build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

fix 看板控件文档演示报错

Kanban Board - Visualize workflow stages
Todo → In Progress → Done
Unknown component type: group
{
"type": "group",
"gap": 2,
"children": [
{
"type": "card",
"className": "p-3 bg-slate-50",
"children": [
{
"type": "stack",
"gap": 1,


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@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-docs Error Error Jan 26, 2026 3:30am
objectui-site Ready Ready Preview, Comment Jan 26, 2026 3:30am

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Kanban board component documentation demonstration error Fix Kanban demo: replace unregistered 'group' component with 'flex' Jan 26, 2026
Copilot AI requested a review from hotlong January 26, 2026 03:31
@hotlong hotlong marked this pull request as ready for review January 26, 2026 03:33
Copilot AI review requested due to automatic review settings January 26, 2026 03:33
@hotlong hotlong merged commit e5c704a into main Jan 26, 2026
5 of 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 fixes a runtime error in the Kanban Board interactive demo by replacing an unregistered component type with a valid registered component.

Changes:

  • Replaced type: "group" with type: "flex", direction: "row" in the Kanban demo to use a registered component that provides identical horizontal layout behavior

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