Skip to content
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

feat: 新增选中节点指定属性tab功能 #2542

Closed
wants to merge 1 commit into from

Conversation

hzd822
Copy link
Collaborator

@hzd822 hzd822 commented Oct 11, 2023

新增选中节点指定属性tab函数,大纲树节点点击特殊图表可以直接指向特定tab,方便快速观察绑定数据
image

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


zude.hzd seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions
Copy link

Coverage report for packages/react-simulator-renderer

St.
Category Percentage Covered / Total
🔴 Statements 33.63% 114/339
🔴 Branches 14.53% 25/172
🔴 Functions 26.14% 23/88
🔴 Lines 34.23% 114/333

Test suite run success

2 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from ee446bc

@github-actions
Copy link

Coverage report for packages/utils

St.
Category Percentage Covered / Total
🔴 Statements 48.8% 122/250
🔴 Branches 43.49% 117/269
🔴 Functions 41.77% 33/79
🔴 Lines 49.79% 117/235

Test suite run success

33 tests passing in 6 suites.

Report generated by 🧪jest coverage report action from ee446bc

@github-actions
Copy link

Coverage report for packages/designer

St.
Category Percentage Covered / Total
🟢 Statements
96.23% (-0.09% 🔻)
2857/2969
🟢 Branches 88.77% 1628/1834
🟢 Functions
95.68% (-0.31% 🔻)
863/902
🟢 Lines
96.3% (-0.1% 🔻)
2782/2889
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / selection.ts
92.11% (-2.34% 🔻)
87.8%
88.89% (-11.11% 🔻)
92.11% (-2.34% 🔻)
🟢
... / designer.ts
93.42% (-0.36% 🔻)
80.67%
94.44% (-1.78% 🔻)
93.25% (-0.37% 🔻)

Test suite run success

370 tests passing in 42 suites.

Report generated by 🧪jest coverage report action from ee446bc

@github-actions
Copy link

Coverage report for packages/renderer-core

St.
Category Percentage Covered / Total
🟡 Statements 71.91% 909/1264
🟡 Branches 61.16% 570/932
🟡 Functions 68.88% 197/286
🟡 Lines 71.96% 893/1241

Test suite run success

96 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from ee446bc

@@ -106,6 +107,13 @@ export default class TreeTitle extends PureComponent<{
const { node } = treeNode;
treeNode.deleteNode(node);
};

treeTitleClick = (e: any, type: string) => {
const { treeNodeClick } = this.props;
Copy link
Collaborator

Choose a reason for hiding this comment

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

treeNodeClick 可以放到 treeNode 里面,不用多个组件进行透传。

* select tab of props with tabKey
* @param tabKey
*/
selectPropsTab(tabKey: string): void {
Copy link
Collaborator

Choose a reason for hiding this comment

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

docs/docs/api/model/selection.md

需要在这里补充一下 API 文档

@liujuping
Copy link
Collaborator

PR 暂时关掉了,有需要重新打开

@liujuping liujuping closed this Dec 26, 2023
@JackLian JackLian deleted the feat/dev-zude107 branch January 2, 2024 06:15
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