halo/console/docs/extension-points
Ryan Wang 1892dce64b
refactor: operation and entity field extension points (#4530)
#### What type of PR is this?

/area console
/kind improvement
/milestone 2.9.x

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

重构数据列表操作项和显示字段扩展点的类型定义和条件判断:

1. `EntityDropdownItem` 改为 `OperationItem` 以适配不同的场景,最开始仅仅是为了提供给 Entity 组件,但后面发现如主题管理列表并没有使用 Entity 组件,所以定义统一改为 Operation 。
2. 修改 `OperationItem` 和 `EntityFieldItem` 的 `visible` 字段为 `hidden`,方便渲染的时候判断,并方便调用方默认不设置值。

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

```release-note
None
```
2023-08-31 10:36:12 +00:00
..
backup.md Support backup and restore (#4206) 2023-07-24 08:26:16 +00:00
comment-subject-ref.md feat: make comment subject ref provider extensible (#4039) 2023-06-26 04:20:18 +00:00
default-editor–extension.md feat: make default editor extensible (#4090) 2023-06-26 13:33:59 +00:00
editor.md feat: add API to obtain the bundled js file for all enabled plugins (#3444) 2023-08-25 07:28:11 +00:00
entity-listitem-field.md refactor: operation and entity field extension points (#4530) 2023-08-31 10:36:12 +00:00
entity-listitem-operation.md refactor: operation and entity field extension points (#4530) 2023-08-31 10:36:12 +00:00
plugin-installation-tabs.md Refactor plugin installation modal to support extend (#4461) 2023-08-25 15:28:12 +00:00
plugin-self-tabs.md feat: make plugin tabs extensible (#4041) 2023-07-07 04:38:11 +00:00
theme-list-tabs.md Refactor theme list modal to support extend (#4505) 2023-08-30 04:54:15 +00:00