Skip to content

feat: support for NotFoundComponent design state is optional - #1013

Merged
LeoYuan merged 3 commits into
developfrom
feat/notFoundCompSelect
Sep 23, 2022
Merged

LeoYuan merged 3 commits into
developfrom
feat/notFoundCompSelect

Conversation

@liujuping

@liujuping liujuping commented Sep 6, 2022

Copy link
Copy Markdown
Collaborator

1.fixes: #974

2.新增 componentName 在 not found 视图中
image

@github-actions

github-actions Bot commented Sep 6, 2022

Copy link
Copy Markdown

Coverage report for packages/renderer-core

St.
Category Percentage Covered / Total
🟡 Statements 72.64% 879/1210
🟡 Branches 61.98% 551/889
🟡 Functions 68.95% 191/277
🟡 Lines 72.67% 864/1189
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟡 renderer/base.tsx 67.45% 55.4% 64.2% 67.46%
🟡
... / renderer.tsx
68.49% (-3.13% 🔻)
40.32% (-5.97% 🔻)
52.38%
68.49% (-3.13% 🔻)

Test suite run success

91 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from b9fe1ad

@github-actions

github-actions Bot commented Sep 6, 2022

Copy link
Copy Markdown

Coverage report for packages/react-simulator-renderer

St.
Category Percentage Covered / Total
🔴 Statements
33.33% (+5.56% 🔼)
108/324
🔴 Branches
14.29% (+6.83% 🔼)
23/161
🔴 Functions
27.16% (+3.7% 🔼)
22/81
🔴 Lines
33.86% (+5.64% 🔼)
108/319

Test suite run success

2 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from b9fe1ad

@github-actions

github-actions Bot commented Sep 6, 2022

Copy link
Copy Markdown

Coverage report for packages/designer

St.
Category Percentage Covered / Total
🟢 Statements 97.27% 2952/3035
🟢 Branches 89.72% 1685/1878
🟢 Functions 98.75% 872/883
🟢 Lines 97.42% 2872/2948
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / builtin-hotkey.ts
86.67% (-3.89% 🔻)
85.5% (-3.05% 🔻)
87.5% (-6.25% 🔻)
86.83% (-3.59% 🔻)
🟢 component-meta.ts
95.89% (-1.29% 🔻)
85.25% (-1.19% 🔻)
96.08% (-3.92% 🔻)
95.68% (-1.35% 🔻)
🟢
... / node.ts
97.89% 89.9% 97.56% 98.14%

Test suite run success

385 tests passing in 43 suites.

Report generated by 🧪jest coverage report action from b9fe1ad

@liujuping liujuping changed the title feat: support for NotFoundComponent design state is optional [WIP] feat: support for NotFoundComponent design state is optional Sep 8, 2022
@liujuping
liujuping force-pushed the feat/notFoundCompSelect branch 3 times, most recently from dab17fa to 03da7dc Compare September 13, 2022 13:03
@liujuping
liujuping force-pushed the feat/notFoundCompSelect branch 2 times, most recently from 7f62e7d to a5aa3bb Compare September 16, 2022 08:59
Comment thread packages/editor-core/src/config.ts Outdated
},
enableStrictNotFoundMode: {
type: 'boolean',
description: '当组件找不到时开启严格提示模式,不允许移动、复制,有子元素时也不渲染',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

这段解释不对,应该是「当开启组件未找到严格模式时,渲染模块不会默认给一个容器组件」

Comment thread packages/editor-core/src/config.ts Outdated

/**
* @default false
* 当组件找不到时开启严格提示模式,不允许移动、复制,有子元素时也不渲染

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

同上~

@liujuping
liujuping force-pushed the feat/notFoundCompSelect branch from a5aa3bb to 5d3101e Compare September 21, 2022 02:13
@liujuping liujuping changed the title [WIP] feat: support for NotFoundComponent design state is optional feat: support for NotFoundComponent design state is optional Sep 23, 2022
@LeoYuan
LeoYuan merged commit d3c891e into develop Sep 23, 2022
@LeoYuan
LeoYuan deleted the feat/notFoundCompSelect branch September 23, 2022 07:32
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.

2 participants