JackWang032
JackWang032
新增防抖hooks https://github.com/DTStack/dt-react-component/issues/449 [review address](https://jackwang032.github.io/dt-react-component/components/use-debounce)
新增防抖hooks #449 [review address](https://jackwang032.github.io/dt-react-component/components/use-debounce)
Support benchmark for all languages ### 使用 运行基准测试命令 ``` pnpm run benchmark ``` 终端中选择对应需要基准性能测试的SQL语言 ### 配置信息 在benchmark/run.ts中维护配置信息 ```tsx type TestFile = { /** Benchmark Name */ name: string; /** Test...
修复内容: 1. onValuesChange时重新计算派生值 2. 函数表达式解析增加异常捕获
应该为12px
### What problem does this feature solve? 在大数据可编辑表格表单下,总表单数量可能会来到几千,大部分字段间都有shouldUpdate来做交互依赖,对应的每次表单变动时,shouldUpdate都会调用几千次,如果能将触发shouldUpdate的字段暴露出来,就能够以更快的方法去处理shouldUpdate逻辑,不用自己再去从全量数据中比较是不是该字段的依赖变动了。 **为何我不用dependencies?** 手动setFields不会触发对应添加了dependenceies字段的更新,不知道这个bug v5版本修复没,且shouldUpdate能够适应更多的场景 ### What does the proposed API look like? shouldUpdate = (prevValues, currValues, triggerFieldName) => {}
### 修改内容 1. 使用通用SQL作为基准测试测试用例 2. 基准测试会对数据进行异常值筛选 3. 基准测试配置项提取到benchmark.config.ts中 ### 测试数据 1. 尽量使用通用性强的SQL,不同语言测试的SQL应在复杂度,嵌套层级上基本一致 2. SQL保持规模在1000行左右 3. 覆盖不同类型语句, create.sql、select.sql、insert.sql、update.sql、split.sql、suggestion.sql 不同方法对应的测试用例 1. getAllTokens: create.sql、select.sql、insert.sql、update.sql 2. validate: create.sql、select.sql、insert.sql、update.sql 3. splitSQLByStatement: split.sql 4. getAllEntities: suggestion.sql...
(This issue tracker is only for bug reports or feature requests, if this is neither, please choose appropriate channel from http://bluebirdjs.com/docs/support.html) Please answer the questions the best you can: 1)...
### Describe the bug 不管是用`update`还是`append` 都未实际应用配置 打开设置页是加进去了 但需要在设置页里再触发一次保存,才能够使该配置项生效 ### Versions - OS: Mac - Browser: Chrome 131.0.6778.70 - Molecule: v1.3.6
#421 ## Support collect derived table (subQuery) and column entities [Preview(HiveSql)](https://jackwang032.github.io/monaco-sql-languages/)