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

新增获取插件入口文件的 API #3442

Closed
guqing opened this issue Mar 2, 2023 · 0 comments · Fixed by #3444
Closed

新增获取插件入口文件的 API #3442

guqing opened this issue Mar 2, 2023 · 0 comments · Fixed by #3444
Assignees
Labels
area/core Issues or PRs related to the Halo Core kind/improvement Categorizes issue or PR as related to a improvement.
Milestone

Comments

@guqing
Copy link
Member

guqing commented Mar 2, 2023

Your current Halo version

latest

Describe this feature

目前插件提供的菜单即使分配了ui权限也无法显示,必需勾选插件查看权限,原因是需要插件查看权限才能获取到入口文件用于页面渲染。
希望新增单独获取插件入口 API 的并将其分配给登录用户以简化操作

Additional information

/kind improvement
/area core
/milestone 2.3.x
/assign

@f2c-ci-robot f2c-ci-robot bot added this to the 2.3.x milestone Mar 2, 2023
@f2c-ci-robot f2c-ci-robot bot added kind/improvement Categorizes issue or PR as related to a improvement. area/core Issues or PRs related to the Halo Core labels Mar 2, 2023
@ruibaby ruibaby modified the milestones: 2.3.x, 2.4.x Mar 6, 2023
@ruibaby ruibaby modified the milestones: 2.4.x, Backlog Mar 29, 2023
@ruibaby ruibaby modified the milestones: Backlog, 2.9.x Aug 21, 2023
f2c-ci-robot bot pushed a commit that referenced this issue Aug 25, 2023
…3444)

#### What type of PR is this?
/kind feature
/milestone 2.3.x
/area core
#### What this PR does / why we need it:
提供 `/apis/api.console.halo.run/v1alpha1/plugins/bundle.js` 来获取已启用插件的捆绑后的 main.js 和 style.css 文件

#### Which issue(s) this PR fixes:
Fixes #3442

#### Does this PR introduce a user-facing change?

```release-note
优化已启用插件 jsbundle 文件的加载方式
```
@ruibaby ruibaby modified the milestones: 2.9.x, 2.9.0 Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants