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

Roadmap #1

Open
fi3ework opened this issue Jan 22, 2020 · 4 comments
Open

Roadmap #1

fi3ework opened this issue Jan 22, 2020 · 4 comments

Comments

@fi3ework
Copy link
Owner

fi3ework commented Jan 22, 2020

Support Antd v4 (✅ supported in 2.0.0)

Ant Design is about to release. Compared with v3, the documentation may have breaking change. Extension should support both v3 and v4. It means extension should contains both v3 and v4 built-in documentation.

Updated at 2020/04/23:

For a while, v3 and v4 will live together. So vscode-antd-rush provide the ability to choose the major version of antd to use. See README for how to oprate.

Add parameter types of handler in TS/TSX (hard)

Auto generated handler should have parameters type. But it meets following problems. For now, handler parameters in TS/TSX is not typed.

  • Deep import types from "antd/lib/{com}/{path}"
  • Generic (may can auto detected from component generic parameter)
  • Type can not be derivation(antd limited)

Type ~ again to specify handler insert location (medium)

Now, handler is auto inserted just before the cursor method. Maybe we can type ~ to inserted after move to the ideal location.

Hint user if version is not compatible (medium)

Some props are not introduced at the very first version. So maybe we can hint user the used antd version is not compatible. But it need to find antd's version in nearest node_modules.

Antd component playground (medium)

Try Antd props in split panel without change your code. Maybe can be implemented with CodeSandbox.

<Icon /> Preview (medium)

For now, Icon has no preview. Maybe we can provide.

@fi3ework fi3ework pinned this issue Jan 22, 2020
@zoozalp
Copy link

zoozalp commented Mar 24, 2020

any updates on this?

@fi3ework
Copy link
Owner Author

@zoozalp
hi, which specific feature you are caring? 😆

@zoozalp
Copy link

zoozalp commented Mar 26, 2020

All of them but if you want me to pick one, that would be "Support Antd v4" at this point.

@fi3ework
Copy link
Owner Author

@zoozalp Supported in 2.0.0. You can choose the major version of documentation. The default is 3.x. But you can change to 4.x. See README for steps.

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

No branches or pull requests

2 participants