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

希望后端提供插件启动和停止的 APIs 以简化前端启动插件的复杂度 #4744

Closed
guqing opened this issue Oct 18, 2023 · 0 comments · Fixed by #4745 or #4747
Closed
Labels
area/console Issues or PRs related to the Halo Console 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 Oct 18, 2023

Your current Halo version

latest

Describe this feature

由于插件启动和停止属于异步操作本身具有复杂性,需要前端更新插件状态后轮询等待期望状态并重载页面等操作容易出错,且还提供了批量停止和启动的操作使复杂度进一步提升,因此希望后端提供 APIs 用于启动和停止插件以减少前端轮询期望状态的步骤

Additional information

/kind improvement
/area core
/area console
/milestone 2.10.x

@f2c-ci-robot f2c-ci-robot bot added the kind/improvement Categorizes issue or PR as related to a improvement. label Oct 18, 2023
@f2c-ci-robot f2c-ci-robot bot added this to the 2.10.x milestone Oct 18, 2023
@f2c-ci-robot f2c-ci-robot bot added area/core Issues or PRs related to the Halo Core area/console Issues or PRs related to the Halo Console labels Oct 18, 2023
f2c-ci-robot bot pushed a commit that referenced this issue Oct 23, 2023
…4745)

#### What type of PR is this?
/kind improvement
/area core
/area console

#### What this PR does / why we need it:
提供允许同步更改插件运行状态的 API

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

#### Does this PR introduce a user-facing change?
```release-note
提供允许同步更改插件运行状态的 API
```
f2c-ci-robot bot pushed a commit that referenced this issue Oct 26, 2023
#### What type of PR is this?

/area console
/kind improvement

#### What this PR does / why we need it:

适配 #4745 ,使用新的接口启动/停止插件。

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

Fixes #4744 

#### Special notes for your reviewer:


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

```release-note
None
```
@JohnNiang JohnNiang modified the milestones: 2.10.x, 2.10.1 Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/console Issues or PRs related to the Halo Console area/core Issues or PRs related to the Halo Core kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
2 participants