Ryan Wang
d39a571e46
refactor: adapt page header styles for responsive design ( #7544 )
...
#### What type of PR is this?
/area ui
/kind improvement
/milestone 2.21.x
#### What this PR does / why we need it:
Adapt page header styles for responsive design
before:
<img width="415" alt="image" src="https://github.com/user-attachments/assets/feee6f09-9a77-4bbf-94c2-77725c9ce76b " />
after:
<img width="416" alt="image" src="https://github.com/user-attachments/assets/60bb07a3-5d34-4cf6-b103-5d1f2206d62d " />
#### Which issue(s) this PR fixes:
Fixes https://github.com/halo-dev/halo/issues/6425
#### Special notes for your reviewer:
#### Does this PR introduce a user-facing change?
```release-note
优化移动端下文章编辑页面的样式
```
2025-06-13 06:06:42 +00:00
Ryan Wang
2aaf64aa34
feat: add plugin detail modal as global component ( #6233 )
...
#### What type of PR is this?
/area ui
/kind feature
/milestone 2.17.x
#### What this PR does / why we need it:
添加 PluginDetailModal,用于打开插件的设置界面。并在扩展设置页面适配以测试。
<img width="1643" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/4bb38ab1-ed51-4437-8202-ccaf9f79cb41 ">
#### Which issue(s) this PR fixes:
Fixes https://github.com/halo-dev/halo/issues/6232
#### Does this PR introduce a user-facing change?
```release-note
为 UI 添加通用的插件设置弹窗,以供插件主动调用
```
2024-07-01 08:59:17 +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
f3c3c91ca4
refactor: improve method name of api client ( #5980 )
...
#### What type of PR is this?
/area ui
/kind cleanup
/milestone 2.16.x
#### What this PR does / why we need it:
规范 api client 的方法名,之前生成的 api client 的方法名没有完全遵循驼峰命名。
#### Which issue(s) this PR fixes:
Close https://github.com/halo-dev/halo/issues/5716
#### Special notes for your reviewer:
CI 通过即可。
#### Does this PR introduce a user-facing change?
```release-note
None
```
2024-05-24 04:04:50 +00:00
John Niang
15f7fe2d4f
Move folder console to ui
2024-02-02 22:22:51 +08:00