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: support hide treeview and entry #477

Merged
merged 8 commits into from
Aug 28, 2020

Conversation

luhc228
Copy link
Contributor

@luhc228 luhc228 commented Aug 28, 2020

Ref: #468

目前策略:

  • 开发天马模块,隐藏页面列表和组件列表
  • 开发 rax、vue、天马模块,隐藏可视化搭建组件入口

@luhc228 luhc228 requested a review from alvinhui August 28, 2020 09:55
@luhc228 luhc228 self-assigned this Aug 28, 2020
@luhc228 luhc228 changed the title Feat: support hide treeview and entry [WIP] Feat: support hide treeview and entry Aug 28, 2020
@luhc228 luhc228 changed the title [WIP] Feat: support hide treeview and entry Feat: support hide treeview and entry Aug 28, 2020
@alvinhui
Copy link
Contributor

判断天马模块进行单独抽一个方法,示例

@alvinhui
Copy link
Contributor

天马模块更新 getProjectType 不太合适。它其实也 Rax 项目。

detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.generateComponent.detail'),
command: 'iceworks-ui-builder.generate-component',
},
];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我觉得比较好的实现方式可能是:

[
  {
    label: i18n.format('extension.iceworksApp.showEntriesQuickPick.generateComponent.label'),
    detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.generateComponent.detail'),
    command: 'iceworks-ui-builder.generate-component',
    supportProjectTypes: ['react', 'rax'],
    supportProjectFrameworks: ['icejs'],
  },
]

这样?

当下可以先简单做。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@alvinhui alvinhui merged commit 3fbbf18 into release/0.8.0 Aug 28, 2020
@delete-merged-branch delete-merged-branch bot deleted the feat/support-hide-treeview-and-entry branch August 28, 2020 12:38
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

Successfully merging this pull request may close these issues.

2 participants