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: add some big features to engine #1393

Merged
merged 1 commit into from
Dec 22, 2022
Merged

feat: add some big features to engine #1393

merged 1 commit into from
Dec 22, 2022

Conversation

JackLian
Copy link
Collaborator

@JackLian JackLian commented Dec 21, 2022

  • 新增 workspace mode,新增 workspace API,以支持画布展示多视图。
  • plugin、setters、hotkey 重构到 shell 层
  • hotkey 相关快捷键初始化以内置插件的方式进行初始化
  • 重构 types,完善对开放 API 体系的类型支持,对外开放的API统一 IPublic 前缀
  • 升级 build-plugin-component 相关版本
  • 新增 API 命名空间 cavas,提供与拖拽有关的 api
  • 重构大纲树插件,完全使用正式公开 API 进行实现,去掉原有私有 API 的依赖
  • 面板注册时, PanelProps 新增 hiddenWhenInit,支持面板注册后默认隐藏的能力
  • pluginContext新增 pluginEvent,提供插件内的事件能力
  • API 命名空间 selection 增加 onSelectionChange API
  • API 命名空间 config 增加 getPreference API,提供存储 user preference 的能力
  • logger 功能优化,提供全局统一 logger,优化 logger 显示样式
  • 优化引擎 event 机制,提供全局和模块级 eventBus,对事件提供默认 AOP 日志输出,方便调试
  • 增加公开事件的声明控制,插件中 event api 只允许监控 IPublicEnumEventNames 中声明的 公开事件和其他插件中提供的事件
  • 使用 uipaas CDN, 提供 syncOss script 命令

@github-actions
Copy link

github-actions bot commented Dec 21, 2022

Coverage report for packages/react-simulator-renderer

St.
Category Percentage Covered / Total
🔴 Statements 33.33% 110/330
🔴 Branches 14.29% 23/161
🔴 Functions 26.19% 22/84
🔴 Lines 33.85% 110/325

Test suite run success

2 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from 4a7f95f

@github-actions
Copy link

github-actions bot commented Dec 21, 2022

Coverage report for packages/renderer-core

St.
Category Percentage Covered / Total
🟡 Statements
72.53% (+0.02% 🔼)
890/1227
🟡 Branches 61.86% 558/902
🟡 Functions
69.29% (+0.11% 🔼)
194/280
🟡 Lines 72.53% 874/1205

Test suite run success

91 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from 4a7f95f

@github-actions
Copy link

github-actions bot commented Dec 21, 2022

Coverage report for packages/designer

St.
Category Percentage Covered / Total
🟢 Statements
97.53% (+0.34% 🔼)
2809/2880
🟢 Branches
89.23% (-0.15% 🔻)
1590/1782
🟢 Functions
98.5% (-0.25% 🔻)
856/869
🟢 Lines
97.64% (+0.3% 🔼)
2735/2801
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / node-children.ts
97.08% (+0.16% 🔼)
86.49% (-0.43% 🔻)
100%
96.88% (+0.08% 🔼)
🟢 document/history.ts
96.33% (-3.67% 🔻)
90.48% (-9.52% 🔻)
93.75% (-6.25% 🔻)
96.26% (-3.74% 🔻)
🟢
... / document-model.ts
99.09% (+0.01% 🔼)
91.8% (-0.7% 🔻)
98.68% 100%
🟢 project/project.ts
99.16% (-0.03% 🔻)
94.12% (-0.09% 🔻)
100%
99.08% (-0.03% 🔻)
🟢 component-meta.ts
95.27% (-0.62% 🔻)
84.68% (-0.57% 🔻)
96.08%
95.04% (-0.65% 🔻)
🟢
... / designer.ts
94.04% (-1.11% 🔻)
81.75% (-0.2% 🔻)
96.23% (-3.77% 🔻)
93.89% (-1.14% 🔻)
🟢
... / plugin-context.ts
100%
91.67% (-8.33% 🔻)
100% 100%
🟢
... / plugin-manager.ts
97.73% (-2.27% 🔻)
96.67% (-3.33% 🔻)
100%
97.65% (-2.35% 🔻)

Test suite run success

383 tests passing in 42 suites.

Report generated by 🧪jest coverage report action from 4a7f95f

@JackLian JackLian merged commit c2db198 into develop Dec 22, 2022
@JackLian JackLian deleted the develop-1.1 branch December 22, 2022 04:37
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.

1 participant