-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed: 组件面板搜索功能优化 #8586
fixed: 组件面板搜索功能优化 #8586
Conversation
👍 Thanks for this! Please review the labels and make any necessary changes. |
@@ -16,7 +16,18 @@ import type { | |||
export const defaultFlexColumnSchema = (title?: string) => { | |||
return { | |||
type: 'container', | |||
body: [], | |||
body: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
直接改这里会影响组件拖入后的初始内容,用户如果不需要还得删除每列中的tpl组件
@@ -244,7 +244,7 @@ | |||
// 左侧组件面板/info提示弹窗 | |||
.ae-RendererThumb { | |||
max-width: 328px; | |||
min-height: 120px; | |||
// min-height: 120px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
保留最小高度,可以设置个小点值
bd13b7b
to
d5970af
Compare
What
🤖 Generated by Copilot at e81e76b
This pull request adds or updates the
docLink
property for several editor plugins to link to the corresponding documentation pages for the AMIS components. It also improves the appearance and functionality of some editor plugins, such as theLayout_fixed
and theFlexPluginBase
. It removes some unnecessary CSS rules from_renderers.scss
.🤖 Generated by Copilot at e81e76b
Why
How
🤖 Generated by Copilot at e81e76b
docLink
properties to various plugin classes to specify the documentation URLs for the corresponding components in the AMIS framework (link, link, link, link, link, link, link, link, link, link, link, link)docLink
property of theTextControlPlugin
class to match the correct documentation URL for the input text component (link)body
property of thedefaultFlexColumnSchema
function inLayout/FlexPluginBase.tsx
to include a template component that renders the title of the flex column (link)description
property of theLayout_fixed
class inLayout/Layout_fixed.tsx
to use the term "CSS Fixed" instead of "CSS Flex" (link)previewSchema
property to theLayout_fixed
class inLayout/Layout_fixed.tsx
to define the schema of the component that is rendered in the preview mode of the editor (link)min-height
property of the.ae-RendererThumb
class in_renderers.scss
to avoid unnecessary vertical space for the thumbnails of the renderers in the editor (link)overflow
property of the.ae-RendererThumb .ae-RendererThumb-body
class in_renderers.scss
to allow the content of the thumbnails to be fully visible without clipping or scrolling (link)