Skip to content

Commit

Permalink
feat: add support for displaying and installing uninstalled themes (h…
Browse files Browse the repository at this point in the history
…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
支持显示和安装未安装的主题,以方便主题开发的时候,创建主题资源。
```
  • Loading branch information
ruibaby committed Oct 18, 2022
1 parent a0512e4 commit 97f0d99
Showing 1 changed file with 283 additions and 128 deletions.
Loading

0 comments on commit 97f0d99

Please sign in to comment.