packages/designer/src/builtin-simulator/host.ts (18 lines):
- line 97: // @TODO 补充类型
- line 188: // TODO: 需要根据 design mode 不同切换鼠标响应情况
- line 194: // TODO: 需要根据 design mode 不同切换鼠标响应情况
- line 463: // required & TODO: think of update
- line 476: // TODO: !!! thinkof reload onloa
- line 506: // TODO: dispose the bindings
- line 522: // TODO: Thinkof move events control to simulator renderer
- line 539: // TODO: think of lock when edit a node
- line 557: // FIXME: dirty fix remove label-for fro liveEditing
- line 607: // TODO: 避免选中 Page 组件,默认选中第一个子节点;新增规则 或 判断 Live 模式
- line 677: // TODO: need more elegant solution to ignore click events of components in designer
- line 746: // TODO: refactor this line, contains click, mousedown, mousemove
- line 873: // TODO: read builtins html metadata
- line 885: // TODO:
- line 1346: // TODO: fix type
- line 1414: // TODO: use spec container to accept specialData
- line 1504: // FIXME: get containerInstance for accept logic use
- line 1541: // TODO:
packages/engine/src/inner-plugins/builtin-hotkey.ts (9 lines):
- line 236: // TODO: use focus-tracker
- line 245: // TODO: check can remove
- line 297: // FIXME: clear node.id
- line 444: // TODO: 此处需要增加判断当前节点是否可被操作移动,原ve里是用 node.canOperating()来判断
- line 445: // TODO: 移动逻辑也需要重新梳理,对于移动目标位置的选择,是否可以移入,需要增加判断
- line 478: // TODO: 此处需要增加判断当前节点是否可被操作移动,原ve里是用 node.canOperating()来判断
- line 479: // TODO: 移动逻辑也需要重新梳理,对于移动目标位置的选择,是否可以移入,需要增加判断
- line 520: // TODO: 此处需要增加判断当前节点是否可被操作移动,原 ve 里是用 node.canOperating() 来判断
- line 521: // TODO: 移动逻辑也需要重新梳理,对于移动目标位置的选择,是否可以移入,需要增加判断
modules/code-generator/src/utils/nodeToJSX.ts (5 lines):
- line 56: // FIXME: 目前的方式不够严谨
- line 98: // FIXME: 在经过 generateCompositeType 处理过之后,其实已经无法通过传入值的类型判断传出值是否为纯字面值字符串了(可能包裹了加工函数之类的)
- line 140: // TODO: 处理 spread 场景()
- line 158: value: tagName || '', // FIXME: type detection error
- line 243: // TODO: 生成文档
packages/designer/src/document/document-model.ts (5 lines):
- line 446: // TODO: 底下这几段代码似乎永远都进不去
- line 534: // TODO: check nesting rules x 2
- line 549: // TODO: 暂时用饱和式删除,原因是 Slot 节点并不是树节点,无法正常递归删除
- line 597: // FIXME: does needed?
- line 877: // TODO 当前只有 npm 类型,content 直接设置为 item.npm,有 function 类型之后需要处理
packages/editor-skeleton/src/transducers/parse-props.ts (5 lines):
- line 28: // TODO 这边直接用propConfig,将setter丢在propconfig里,需要确认是否在PropConfig扩展还是换实现
- line 44: // TODO: use mixinSetter wrapper
- line 81: case 'node': // TODO: use Mixin
- line 154: // TODO:
- line 173: // TODO types后续补充
packages/designer/src/builtin-simulator/live-editing/live-editing.ts (4 lines):
- line 103: // // TODO:
- line 137: // TODO: check is richtext?
- line 163: // TODO: process enter | esc events & joint the FocusTracker
- line 165: // TODO: upward testing for b/i/a html elements
packages/plugin-outline-pane/src/controllers/pane-controller.ts (4 lines):
- line 222: // FIXME: recreate new location
- line 357: // TODO: check dragObject is anyData
- line 382: valid: true, // TODO: future validation the slot limit
- line 467: // TODO: future
packages/designer/src/designer/designer.ts (4 lines):
- line 284: // TODO: 避免选中 Page 组件,默认选中第一个子节点;新增规则 或 判断 Live 模式
- line 418: // TODO:
- line 474: // TODO: 因为涉及修改 prototype.view,之后在 renderer 里修改了 vc 的 view 获取逻辑后,可删除
- line 655: // TODO:
modules/code-generator/src/plugins/common/esmodule.ts (4 lines):
- line 21: // TODO: main 这个信息到底怎么用,是不是外部包不需要使用?
- line 40: // TODO: 部分类型的 main 暂时认为没用
- line 113: // TODO: 要不要加个 warning?
- line 379: // TODO: Internal Deps path use project slot setting
modules/code-generator/src/plugins/component/rax/jsx.ts (4 lines):
- line 50: // TODO: componentName 若并非大写字符打头,甚至并非是一个有效的 JS 标识符怎么办??
- line 51: // FIXME: 我想了下,这块应该放到解析阶段就去做掉,对所有 componentName 做 identifier validate,然后对不合法的做统一替换。
- line 77: // FIXME: 为了快速修复临时加的逻辑,需要用 pre-process 的方式替代处理。
- line 123: // TODO: setState, dataSourceMap, reloadDataSource, utils, i18n, i18nFormat, getLocale, setLocale 这些在 Rax 的编译模式下不能在视图中直接访问,需要转化成 this.xxx
packages/designer/src/project/project.ts (4 lines):
- line 122: // TODO: parse layout Component
- line 197: // FIXME: 这里的行为和 getSchema 并不对等,感觉不太对
- line 227: // TODO: 暂时先读 config tabBar 里的值,后面看整个 layout 结构是否能作为引擎规范
- line 367: // TODO: 多设备 simulator 支持
packages/designer/src/builtin-simulator/bem-tools/insertion.tsx (3 lines):
- line 46: // FIXME: ret.nearRect mybe null
- line 61: // TODO: think of shadowNode & ConditionFlow
- line 105: // TODO: others...
modules/code-generator/src/types/core.ts (3 lines):
- line 203: // TODO: temp interface, need modify
- line 220: // FIXME: 在新的实现中,添加了第一参数 this: CustomHandlerSet 作为上下文。究其本质
- line 250: // TODO: 需要有上下文信息吗? 描述什么内容
packages/plugin-designer/src/index.tsx (3 lines):
- line 23: // @TODO 类型定义
- line 60: // @TODO setupAssets 里设置 requestHandlersMap 不太合适
- line 130: // TODO: use a Loading
packages/react-simulator-renderer/src/renderer.ts (3 lines):
- line 200: // TODO: parse layout Component
- line 345: // TODO: sync utils, i18n, contants,... config
- line 517: // TODO: 不太优雅
modules/code-generator/src/parser/SchemaParser.ts (3 lines):
- line 78: // FIXME: is array type props description
- line 124: // TODO: collect utils depends in JSExpression
- line 212: // TODO: 不应该在出码部分解决?
packages/utils/src/schema.ts (3 lines):
- line 71: // TODO: 先移除,目前没有业务使用
- line 123: * TODO: not sure if this is used anywhere
- line 147: // TODO: 是 JSExpression / DOMText
packages/renderer-core/src/renderer/base.tsx (3 lines):
- line 52: // TODO: cache
- line 315: // TODO: 下面if else 抽成独立函数
- line 800: // FIXME: 将这行逻辑外置,解耦,线上环境不要验证参数,调试环境可以有,通过传参自定义
modules/code-generator/src/utils/compositeType.ts (2 lines):
- line 65: return `this._i18nText(${JSON.stringify(_.omit(value, 'type'))})`; // TODO: 优化:这里可以考虑提取成个常量...
- line 129: // FIXME: 这个是临时方案
packages/designer/src/designer/dragon.ts (2 lines):
- line 234: // FIXME: donot setcopy when: newbie & no location
- line 476: // TODO: enter some area like componentspanel cancel
packages/types/src/shell-model-factory.ts (2 lines):
- line 4: // TODO: 需要给 innerNode 提供一个 interface 并用在这里
- line 6: // TODO: 需要给 InnerSettingField 提供一个 interface 并用在这里
packages/editor-skeleton/src/transducers/addon-combine.ts (2 lines):
- line 30: // TODO:
- line 35: // TODO: textarea mode
packages/designer/src/builtin-simulator/resource-consumer.ts (2 lines):
- line 48: // TODO: throw error
- line 62: // TODO: catch error and report
modules/code-generator/src/utils/common.ts (2 lines):
- line 32: // FIXME: Babel 编译存在问题,暂时替换实现
- line 40: // TODO: 需要安全性检查
packages/types/src/shell/api/common.ts (2 lines):
- line 37: // TODO: add comments
- line 40: // TODO: add comments
packages/editor-core/src/intl/index.ts (2 lines):
- line 92: // TODO: make reactive
- line 109: // TODO: tries lost language
packages/types/src/shell/type/advanced.ts (2 lines):
- line 71: * TODO: 补充文档
- line 83: * TODO: 补充文档 或 删除
modules/code-generator/src/plugins/component/rax/containerInitState.ts (2 lines):
- line 37: // TODO: 这里用什么 handlers?
- line 59: // TODO: hooks state??
packages/engine/src/modules/live-editing.ts (2 lines):
- line 47: // TODO: enhance compare text logic
- line 76: // TODO:
packages/renderer-core/src/utils/data-helper.ts (2 lines):
- line 46: // TODO: according to protocol, we should implement errorHandler/shouldFetch/willFetch/requestHandler and isSync controll.
- line 237: // TODO: need refactoring to remove 'legao' related logic
modules/code-generator/src/plugins/component/rax/containerInjectContext.ts (2 lines):
- line 41: // TODO: i18n 是可选的,如果没有 i18n 这个文件怎么办?该怎么判断?
- line 70: // TODO: 按照目前的实现方案,代码的插拔能力太弱了,需要有一些变化。
packages/editor-core/src/widgets/index.ts (1 line):
- line 1: // TODO move another place
packages/engine/src/engine-core.ts (1 line):
- line 281: // TODO: delete plugins except for core plugins
packages/designer/src/designer/clipboard.ts (1 line):
- line 23: // TODO: open the parser implement
modules/code-generator/src/plugins/project/framework/rax/types/RaxFrameworkOptions.ts (1 line):
- line 78: // TODO: [p1]支持 MPA 模式?
packages/types/src/shell/type/project-schema.ts (1 line):
- line 61: * TODO: 需要在后续版本中移除 `Record` 类型签名
packages/editor-skeleton/src/components/popup/style.less (1 line):
- line 16: // FIXME: popup position is bad
packages/renderer-core/src/hoc/leaf.tsx (1 line):
- line 506: // TODO: 缓存同级其他元素的 children。
packages/designer/src/document/node/node-children.ts (1 line):
- line 122: // FIXME: filter empty
packages/editor-skeleton/src/widget/panel.ts (1 line):
- line 177: // TODO: 如果移动到另外一个 container,会有问题
packages/types/src/index.ts (1 line):
- line 10: // TODO: remove this in future versions
packages/editor-skeleton/src/components/field/fields.tsx (1 line):
- line 202: * TODO: turn number to enum
packages/plugin-outline-pane/src/views/style.less (1 line):
- line 307: // FIXME: only hide hover shows
packages/designer/src/document/node/props/prop.ts (1 line):
- line 247: // TODO: 先用调用方式触发子 prop 的初始化,后续须重构
packages/react-simulator-renderer/src/renderer-view.tsx (1 line):
- line 230: // FIXME: 渲染仍有问题
packages/editor-skeleton/src/layouts/left-fixed-pane.tsx (1 line):
- line 11: // FIXME: dirty fix, need deep think
modules/code-generator/src/plugins/component/rax/containerInjectUtils.ts (1 line):
- line 35: // TODO: 下面这个路径有没有更好的方式来获取?而非写死
packages/editor-skeleton/src/components/settings/settings-pane.tsx (1 line):
- line 381: // TODO: optimize these codes
packages/editor-skeleton/src/components/widget-views/index.tsx (1 line):
- line 130: // TODO: 优化
packages/types/src/activity.ts (1 line):
- line 24: * TODO: not sure if this is used anywhere
packages/editor-skeleton/src/components/settings/settings-primary-pane.tsx (1 line):
- line 171: // TODO: future support 获取设置项交集编辑
packages/editor-core/src/widgets/title/index.tsx (1 line):
- line 53: // TODO: 操作交互冲突,目前 mixedSetter 仅有 2 个 setter 注册时用到了 onClick
packages/editor-core/src/utils/assets-transform.ts (1 line):
- line 4: // TODO: 该转换逻辑未来需要消化掉
packages/designer/src/document/node/node.ts (1 line):
- line 280: // TODO: 暂时走不到这个分支
packages/editor-skeleton/src/layouts/left-float-pane.tsx (1 line):
- line 86: // TODO: 看看有没有更合适的地方
modules/code-generator/src/plugins/common/requireUtils.ts (1 line):
- line 5: // TODO: How to merge this logic to common deps
packages/designer/src/designer/setting/setting-top-entry.ts (1 line):
- line 172: // TODO: emit value change
packages/designer/src/designer/detecting.ts (1 line):
- line 26: * TODO: 将该逻辑从设计器中抽离出来
packages/editor-core/src/intl/global-locale.ts (1 line):
- line 45: // TODO: store 1 & store 2 abstract out as custom implements
packages/types/src/shell/type/engine-options.ts (1 line):
- line 15: * TODO: designMode 无法映射到文档渲染模块
packages/designer/src/builtin-simulator/bem-tools/border-selecting.tsx (1 line):
- line 107: // FIXME: need this?
packages/plugin-outline-pane/src/controllers/tree-node.ts (1 line):
- line 111: // TODO: check is dragging
packages/designer/src/builtin-simulator/bem-tools/border-detecting.tsx (1 line):
- line 31: // TODO:
packages/types/src/shell/type/package.ts (1 line):
- line 36: * TODO: 需推进提案 @度城
packages/plugin-outline-pane/src/views/tree.tsx (1 line):
- line 139: // TODO: shift selection