janryWang

janryWang

Front-end coder/Web designer

Member Since 8 years ago

alibaba/ascp, Hangzhou

Experience Points
493
follower
Lessons Completed
92
follow
Lessons Completed
1.6k
stars
Best Reply Awards
94
repos

2091 contributions in the last year

Pinned
⚡ Alibaba Group Unified Form Solution -- Support React/ReactNative/Vue2/Vue3
⚡ 🧩 Make everything designable 🧩
Activity
Jan
18
1 day ago
push

janryWang push alibaba/formily

janryWang
janryWang

feat(core): support index/indexes properties (#2769)

commit sha: 36143ef0b324ab1dabda8f9eb3ec63e6debef605

push time in 10 hours ago
Activity icon
delete

janryWang in alibaba/formily delete branch feat_support_field_index_and_indexes

deleted time in 10 hours ago
pull request

janryWang pull request alibaba/formily

janryWang
janryWang

feat(core): support index/indexes properties

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

考虑到很多数组场景需要消费字段的索引,所以直接挂到字段模型上去

pull request

janryWang pull request alibaba/formily

janryWang
janryWang

feat(core): support index/indexes properties

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

考虑到很多数组场景需要消费字段的索引,所以直接挂到字段模型上去

Activity icon
created branch

janryWang in alibaba/formily create branch feat_support_field_index_and_indexes

createdAt 11 hours ago
push

janryWang push alibaba/designable

janryWang
janryWang

fix(playground): fix browser compatibility (#192)

commit sha: 57036b9276b64422448c85767eb4d5fb0a6e7203

push time in 12 hours ago
pull request

janryWang pull request alibaba/designable

janryWang
janryWang

fix(playground): fix compatibility

workspace has compatibility issue in sougou explorer with fast mode

chinese:viewportpannel未设置height,低版本浏览器下子元素设置height:100%但父级未设置height,浏览器未能计算出父级的高度,导致模拟器高度异常,完全无法正常使用。在搜狗浏览器高速模式下可以复现(插入物料后进行选择等操作即可)

pull request

janryWang pull request alibaba/designable

janryWang
janryWang

fix: fix bug formgrid设置最大列小于总网格列出现卡死,发现totalColumns计算值重复导致

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from main.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.
push

janryWang push alibaba/designable

janryWang
janryWang

fix(formily-antd): fix form-grid stuck with repeat key

commit sha: 1f9a75813a9756e18d8e9a56c0b50e9fe355e9d2

push time in 12 hours ago
open pull request

janryWang wants to merge alibaba/designable

janryWang
janryWang

fix(core/react): some bug fix about viewport

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from main.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.
janryWang
janryWang

没懂,现在是为了解决什么问题呢?

pull request

janryWang merge to alibaba/designable

janryWang
janryWang

fix(core/react): some bug fix about viewport

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from main.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.
Jan
17
2 days ago
Activity icon
issue

janryWang issue alibaba/designable

janryWang
janryWang

异步联动校验咋配置

当前字段的校验取决于另一个字段和本字段的值的服务端校验结果

open pull request

janryWang wants to merge alibaba/designable

janryWang
janryWang

fix(core/react): some bug fix about viewport

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from main.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.
janryWang
janryWang

为什么要这么改呢?

pull request

janryWang merge to alibaba/designable

janryWang
janryWang

fix(core/react): some bug fix about viewport

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from main.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.
Jan
15
4 days ago
push

janryWang push alibaba/formily

janryWang
janryWang

fix(antd/next): fix Cascader readPretty bug (#2765)

  • feat(next/antd): support disabled props from field in ArrayBase.Addition

  • fix(antd/next): fix Cascader readPretty bug

commit sha: bff1b291a9cd64fa0038a5011a447ff53d596b01

push time in 3 days ago
pull request

janryWang pull request alibaba/formily

janryWang
janryWang

fix(antd/next): fix Cascader readPretty bug

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

Jan
14
5 days ago
Activity icon
issue

janryWang issue alibaba/formily

janryWang
janryWang

[Bug Report] ArrayTabs乱序删除时,有部分tab无法被删除

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

新增两个tab,Object array 2 和 Object array 3 ,先删除Object array 2,再删除Object array 3

What is expected?

Object array 2 和 Object array 3都能够正常删除

What is actually happening?

Object array 3无法删除

Package

@formily/[email protected]


先移除 Object array 2 tab,再移除Object array 3 tab时,依旧触发了 删除tab内部field的reactions

Activity icon
issue

janryWang issue comment alibaba/formily

janryWang
janryWang

[Bug Report] ArrayTabs乱序删除时,有部分tab无法被删除

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

新增两个tab,Object array 2 和 Object array 3 ,先删除Object array 2,再删除Object array 3

What is expected?

Object array 2 和 Object array 3都能够正常删除

What is actually happening?

Object array 3无法删除

Package

@formily/[email protected]


先移除 Object array 2 tab,再移除Object array 3 tab时,依旧触发了 删除tab内部field的reactions

janryWang
janryWang

的确有问题,后面我详细看看

Activity icon
issue

janryWang issue comment alibaba/formily

janryWang
janryWang

[Bug Report] ArrayTabs乱序删除时,有部分tab无法被删除

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

新增两个tab,Object array 2 和 Object array 3 ,先删除Object array 2,再删除Object array 3

What is expected?

Object array 2 和 Object array 3都能够正常删除

What is actually happening?

Object array 3无法删除

Package

@formily/[email protected]


先移除 Object array 2 tab,再移除Object array 3 tab时,依旧触发了 删除tab内部field的reactions

janryWang
janryWang

删除的时候是会删值的,值变化,肯定会触发reactions,一触发,你又去设置值,那就形成死锁了,这是使用上的问题,不是bug

Activity icon
issue

janryWang issue alibaba/formily

janryWang
janryWang

[Bug Report] ArrayTabs乱序删除时,有部分tab无法被删除

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

新增两个tab,Object array 2 和 Object array 3 ,先删除Object array 2,再删除Object array 3

What is expected?

Object array 2 和 Object array 3都能够正常删除

What is actually happening?

Object array 3无法删除

Package

@formily/[email protected]


先移除 Object array 2 tab,再移除Object array 3 tab时,依旧触发了 删除tab内部field的reactions

push

janryWang push alibaba/formily

janryWang
janryWang

fix(element): fix ArrayTable style error (#2760)

commit sha: 3b24f7f700e2652c6642596e2cd62af3c158c5a8

push time in 4 days ago
pull request

janryWang pull request alibaba/formily

janryWang
janryWang

fix(element): fix ArrayTable style error

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

Jan
13
6 days ago
Activity icon
issue

janryWang issue alibaba/formily

janryWang
janryWang

[Bug Report] @formily/next 的 ArrayItems.SortHandle 不支持自定义样式和类名

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

查看上面 Codesandbox

What is expected?

ArrayItems.SortHandle 的自定义样式和类名能生效

What is actually happening?

ArrayItems.SortHandle 的自定义样式和类名不生效

Package

@formily/[email protected]


ArrayItems.Remove 和 ArrayItems.Addition 是没问题的

Activity icon
issue

janryWang issue comment alibaba/formily

janryWang
janryWang

[Bug Report] @formily/next 的 ArrayItems.SortHandle 不支持自定义样式和类名

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

查看上面 Codesandbox

What is expected?

ArrayItems.SortHandle 的自定义样式和类名能生效

What is actually happening?

ArrayItems.SortHandle 的自定义样式和类名不生效

Package

@formily/[email protected]


ArrayItems.Remove 和 ArrayItems.Addition 是没问题的

janryWang
janryWang

目前fusion的SortHandle没实现拖拽功能,暂时没打算实现

Activity icon
issue

janryWang issue alibaba/formily

janryWang
janryWang

[Bug Report] Input输入框在editable为false的情况下,传入的值显示N/A

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

form中的editable设为false,在mounted当中使用setValues传入值

What is expected?

input组件在editable为false的情况下显示对应传入的值

What is actually happening?

目前显示为N/A

Package

@formily/[email protected]


pull request

janryWang pull request alibaba/formily

janryWang
janryWang

fix: uid function code optimization

optimize by functional programing

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

  • fix(@formily/shared/uid): code optimization
    • Optimize by functional programing
    • Better performance when larger uid init
push

janryWang push alibaba/formily

janryWang
janryWang

fix(element): fix ArrayTable index error (#2758)

commit sha: 57fa557412569ede07ac3f75b3bd6c47a47340df

push time in 5 days ago
pull request

janryWang pull request alibaba/formily

janryWang
janryWang

fix(element): fix ArrayTable index error

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

Jan
12
1 week ago
Activity icon
issue

janryWang issue comment alibaba/formily

janryWang
janryWang

fix: uid function code optimization

optimize by functional programing

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

  • fix(@formily/shared/uid): code optimization
    • Optimize by functional programing
    • Better performance when larger uid init
janryWang
janryWang

调用这么多次遍历方法,性能还好?确定做过benchmark了吗

Activity icon
issue

janryWang issue alibaba/formily

janryWang
janryWang

[Bug Report] Input输入框在editable为false的情况下,传入的值显示N/A

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

form中的editable设为false,在mounted当中使用setValues传入值

What is expected?

input组件在editable为false的情况下显示对应传入的值

What is actually happening?

目前显示为N/A

Package

@formily/[email protected]


Previous