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

期望能够让 Switch 组件支持加载状态 #4687

Closed
ruibaby opened this issue Oct 8, 2023 · 1 comment · Fixed by #4688
Closed

期望能够让 Switch 组件支持加载状态 #4687

ruibaby opened this issue Oct 8, 2023 · 1 comment · Fixed by #4688
Assignees
Labels
area/console Issues or PRs related to the Halo Console kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@ruibaby
Copy link
Member

ruibaby commented Oct 8, 2023

你当前使用的版本

2.10.0-alpha.1

描述一下此特性

期望能够让 Console 的 Switch 组件支持加载状态,能够更直观的展示正在进行某些操作。

/kind feature
/area console
/milestone 2.10.x

附加信息

No response

@f2c-ci-robot f2c-ci-robot bot added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 8, 2023
@f2c-ci-robot f2c-ci-robot bot added this to the 2.10.x milestone Oct 8, 2023
@f2c-ci-robot f2c-ci-robot bot added the area/console Issues or PRs related to the Halo Console label Oct 8, 2023
@ruibaby
Copy link
Member Author

ruibaby commented Oct 8, 2023

/assign

f2c-ci-robot bot pushed a commit that referenced this issue Oct 8, 2023
#### What type of PR is this?

/area console
/kind feature
/milestone 2.10.x

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

VSwitch 组件支持传入 loading 属性以显示加载状态。

此外,此 PR 为插件启动/停止的开关适配了这个特性用于测试。

<img width="460" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/b78221fe-6b53-4f8c-ba00-6cea2c45b5de">

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

Fixes #4687 

#### Special notes for your reviewer:

测试插件启动/停止时是否显示加载状态

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

```release-note
Console 端的 VSwitch 组件支持传入 loading 属性以显示加载状态。
```
@ruibaby ruibaby modified the milestones: 2.10.x, 2.10.0 Oct 9, 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 kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant