-
Notifications
You must be signed in to change notification settings - Fork 486
feat: add support for displaying and installing uninstalled themes #648
feat: add support for displaying and installing uninstalled themes #648
Conversation
@ruibaby is attempting to deploy a commit to the halo-dev Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/hold 等待 #647 合并。 |
3d02235
to
c54a527
Compare
/retitle feat: add support for displaying and installing uninstalled themes /unhold |
a6d7f9f
to
58076b1
Compare
/cc @halo-dev/sig-halo-console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议将“已安装”和“未安装”请求分开。“未安装”主题列表接口请求频次远低于“已安装”。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ping @halo-dev/sig-halo-console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
…alo-dev/console#648) #### What type of PR is this? /kind feature /milestone 2.0 #### What this PR does / why we need it: 支持显示和安装**未安装**的主题,以方便主题开发的时候,创建主题资源。适配 halo-dev#2586 #### Which issue(s) this PR fixes: Fixes halo-dev#2554 #### Screenshots: <img width="1663" alt="image" src="https://user-images.githubusercontent.com/21301288/196148567-f43b1bf3-e745-4c1a-950d-65899c1ae73c.png"> #### Special notes for your reviewer: /cc @halo-dev/sig-halo-console 测试方式: 1. 需要 `pnpm install` 2. Halo 需要切换到 halo-dev#2586 PR 的分支。 3. 在本地的 `~/halo-dev/themes` 创建新的主题,需要包含 `themes.yaml`,或者将现有的主题直接下载到 `~/halo-dev/themes` 4. 检查后台主题管理的主题列表中是否显示了未安装的主题,以及测试是否可以安装成功。 #### Does this PR introduce a user-facing change? ```release-note 支持显示和安装未安装的主题,以方便主题开发的时候,创建主题资源。 ```
What type of PR is this?
/kind feature
/milestone 2.0
What this PR does / why we need it:
支持显示和安装未安装的主题,以方便主题开发的时候,创建主题资源。适配 halo-dev/halo#2586
Which issue(s) this PR fixes:
Fixes halo-dev/halo#2554
Screenshots:
Special notes for your reviewer:
/cc @halo-dev/sig-halo-console
测试方式:
pnpm install
~/halo-dev/themes
创建新的主题,需要包含themes.yaml
,或者将现有的主题直接下载到~/halo-dev/themes
Does this PR introduce a user-facing change?