Ryan Wang
4ad97cd58e
feat: add support for disabling/enabling user accounts ( #7273 )
...
#### What type of PR is this?
/kind feature
/area ui
/milestone 2.20.x
#### What this PR does / why we need it:
Add support for disabling/enabling user accounts
<img width="1207" alt="image" src="https://github.com/user-attachments/assets/a298e6f7-21a1-4b1c-86c3-1064a136e28c " />
#### Which issue(s) this PR fixes:
Fixes https://github.com/halo-dev/halo/issues/7250
#### Special notes for your reviewer:
#### Does this PR introduce a user-facing change?
```release-note
支持在管理控制台禁用指定用户
```
2025-03-10 15:15:02 +00:00
Ryan Wang
391aac62d3
feat: add multi-role assignment support for users ( #7037 )
...
#### What type of PR is this?
/area ui
/kind feature
/milestone 2.20.x
#### What this PR does / why we need it:
支持为用户分配多个角色。
<img width="634" alt="image" src="https://github.com/user-attachments/assets/caa40327-518a-4bef-afc3-75a020018d3d ">
<img width="764" alt="image" src="https://github.com/user-attachments/assets/8b4b807e-6c72-45d9-9368-75e70bb12dcc ">
TODO:
- [x] Console / UC 侧边栏显示多个角色
- [x] 支持在管理端查看用户聚合的角色模板列表,或者在分配时显示所选角色其下的角色模板列表,能够让管理员清楚的知道用户具体权限。
#### Which issue(s) this PR fixes:
Fixes #
#### Special notes for your reviewer:
#### Does this PR introduce a user-facing change?
```release-note
支持为用户分配多个角色。
```
2024-11-24 15:48:21 +00:00
Nancy
2c4e85f40b
feat: add grant permission and user deletion features to user detail page ( #6963 )
...
What type of PR is this?
/area ui
/kind improvement
/milestone 2.20.x
What this PR does / why we need it:
期望支持在用户详情页面支持变更用户角色及删除用户 。
Which issue(s) this PR fixes:
Fixes https://github.com/halo-dev/halo/issues/6944
Special notes for your reviewer:
Does this PR introduce a user-facing change?
```release-note
支持在用户详情页面支持变更用户角色及删除用户 。
```
2024-10-30 04:50:39 +00:00
Ryan Wang
a93479dc34
chore: organize and fix imports ( #6152 )
...
#### What type of PR is this?
/area ui
/kind improvement
/milestone 2.17.x
#### What this PR does / why we need it:
重新组织和固定 UI 部分代码的 imports 导入,防止后续因为 imports 的顺序造成不必要的 diff。
基于:https://github.com/halo-dev/halo/pull/6151
#### Does this PR introduce a user-facing change?
```release-note
None
```
2024-06-26 10:42:50 +00:00
Ryan Wang
c74187c066
feat: add requests library as a global shared dependency
2024-06-25 12:31:44 +08:00
Ryan Wang
4c6abdcaa1
feat: enable asynchronous resolving for UI extension points ( #6018 )
...
#### What type of PR is this?
/area ui
/kind feature
/milestone 2.16.x
#### What this PR does / why we need it:
优化 UI 部分的扩展点获取实现,让部分扩展点支持异步获取,之前的实现与文档不符。
比如:
```ts
import { definePlugin } from "@halo-dev/console-shared";
import axios from "axios";
export default definePlugin({
components: {},
routes: [],
extensionPoints: {
"attachment:selector:create": async () => {
const { data } = await axios.get(
"/apis/v1alpha1/fake.halo.run/attachments/selectors"
);
return data;
},
},
});
```
#### Which issue(s) this PR fixes:
Fixes https://github.com/halo-dev/halo/issues/6008
#### Does this PR introduce a user-facing change?
```release-note
优化 UI 部分的扩展点获取实现,让部分扩展点支持异步获取。
```
2024-05-30 07:01:15 +00:00
Ryan Wang
4d289c0a45
refactor: improve code base of user-related ( #5975 )
...
#### What type of PR is this?
/area ui
/kind improvement
/milestone 2.16.x
#### What this PR does / why we need it:
优化和用户管理相关的所有对话框显示逻辑,减少不必要的渲染开销和请求。
#### Special notes for your reviewer:
改动范围如下:
1. 用户密码修改
2. 用户资料修改
3. 用户创建
4. 重新登录
#### Does this PR introduce a user-facing change?
```release-note
优化和用户管理相关的所有对话框显示逻辑,减少不必要的渲染开销和请求。
```
2024-05-23 06:32:49 +00:00
Ryan Wang
fbf2b06432
feat: add extension points for user detail tab ( #5763 )
...
#### What type of PR is this?
/area ui
/kind feature
/milestone 2.15.x
#### What this PR does / why we need it:
为 Console 的用户详情页面的选项卡和个人中心的个人资料页面选项卡添加扩展点,支持通过插件扩展选项卡。
todo:
- [x] 完善 docs.halo.run 的开发文档 https://github.com/halo-dev/docs/pull/340
#### Which issue(s) this PR fixes:
Fixes https://github.com/halo-dev/halo/issues/5745
#### Special notes for your reviewer:
可以使用 [plugin-starter-1.3.2-SNAPSHOT.jar.zip](https://github.com/halo-dev/halo/files/15059291/plugin-starter-1.3.2-SNAPSHOT.jar.zip ) 进行测试。
#### Does this PR introduce a user-facing change?
```release-note
为 Console 的用户详情页面的选项卡和个人中心的个人资料页面选项卡添加扩展点
```
2024-04-25 00:33:09 +00:00
John Niang
15f7fe2d4f
Move folder console to ui
2024-02-02 22:22:51 +08:00