Skip to content

feat: add tabs to separate built-in and custom components in dialog#1612

Merged
yanglbme merged 1 commit into
mainfrom
feat/component-dialog-tabs
Jun 1, 2026
Merged

feat: add tabs to separate built-in and custom components in dialog#1612
yanglbme merged 1 commit into
mainfrom
feat/component-dialog-tabs

Conversation

@YangFong
Copy link
Copy Markdown
Member

@YangFong YangFong commented Jun 1, 2026

自定义改为 Tab 形式分开展示组件

Copilot AI review requested due to automatic review settings June 1, 2026 05:16
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 updates the editor’s custom component dialog UI to present built-in and user-defined components in separate tabs, improving discoverability and reducing visual clutter in the list view.

Changes:

  • Added a Tabs UI to switch between “内置组件” and “自定义组件”.
  • Reset expanded component details when switching tabs.
  • Adjusted list empty-state styling and reorganized custom component actions (insert always visible; edit/delete in expanded area).

Comment thread apps/web/src/components/editor/CustomComponentDialog.vue
Comment thread apps/web/src/components/editor/CustomComponentDialog.vue
Comment thread apps/web/src/components/editor/CustomComponentDialog.vue
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

🚀 Cloudflare Workers Preview has been successfully deployed!

Preview URL: https://md-pr-1612.doocs.workers.dev

Built with commit 542f93d

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

🚀 Surge Preview has been successfully deployed!

Preview URL: https://doocs-md-preview-pr-1612.surge.sh

Built with commit 542f93d

@yanglbme yanglbme merged commit 78dc1ba into main Jun 1, 2026
3 checks passed
@yanglbme yanglbme deleted the feat/component-dialog-tabs branch June 1, 2026 05:37
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

🗑️ Cloudflare Workers preview deployment has been cleaned up.

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