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 request: 新增 webview 视图 #65

Open
5 tasks
Simon-He95 opened this issue Jul 11, 2024 · 0 comments
Open
5 tasks

feat request: 新增 webview 视图 #65

Simon-He95 opened this issue Jul 11, 2024 · 0 comments
Labels
enhancement New feature or request pr welcome

Comments

@Simon-He95
Copy link
Owner

Simon-He95 commented Jul 11, 2024

  • 根据当前 pkg 中信息,获取支持的 ui 库,并渲染到 webview 中
  • 视图包含所有组件信息,如果存在上下关联性,用树节点的形式表示
  • 根据选中节点,在底部打开 iframe 嵌入对应文档 demo
  • 支持可拖拽树节点到 vscode 中, 记录拖拽节点名和松开时 vscode 光标位置,生成对应代码片段,插入光标位置
  • 监听 pkg 的更新,如果发现 ui 库,新增或删除,需要通知更新 webview
@Simon-He95 Simon-He95 added the enhancement New feature or request label Jul 11, 2024
@Simon-He95 Simon-He95 changed the title feat: 新增 webview 视图 feat request: 新增 webview 视图 Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr welcome
Projects
None yet
Development

No branches or pull requests

1 participant