halo-admin/src
Ryan Wang e632ddac9a
feat: add deleting theme setting and configMap support (#621)
#### What type of PR is this?

/kind feature
/milestone 2.0

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

支持删除主题的时候删除对应的 Setting 和 ConfigMap 资源。

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/2325

#### Screenshots:

<img width="1004" alt="image" src="https://user-images.githubusercontent.com/21301288/191994812-0ad32b23-e461-4286-9bd7-ce12b413f580.png">

#### Special notes for your reviewer:

测试方式:

1. 安装一个带有设置项的主题并做一定的配置。
2. 选择**卸载并删除配置**的选项。
3. 重新安装主题,检查设置项是否已经恢复为默认。

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

```release-note
支持卸载主题时,删除对应的 Setting 和 ConfigMap 资源。
```
2022-09-27 07:46:15 +00:00
..
assets feat: plugin management (#583) 2022-06-23 03:28:23 +00:00
build refactor: external static libraries 2022-09-26 13:16:40 +08:00
components feat: add submit button component to support shortcut keys for form submission 2022-09-26 15:48:55 +08:00
composables refactor: move api-client to core 2022-09-22 16:46:32 +08:00
constants feat: post basic management capability (#599) 2022-08-23 04:08:10 +00:00
formkit feat: add comment management support (#612) 2022-09-19 09:26:50 +00:00
modules feat: add deleting theme setting and configMap support (#621) 2022-09-27 07:46:15 +00:00
router refactor: disabled dashboard widgets responsive option 2022-07-25 17:41:15 +08:00
setup refactor: post editor creation 2022-08-24 15:29:21 +08:00
stores refactor: method parameters of api client (#605) 2022-09-06 02:26:11 +00:00
styles chore: configure tailwind css (#504) 2022-03-11 11:51:40 +08:00
utils refactor: improve login-related logic (#617) 2022-09-22 12:46:12 +00:00
views/exceptions feat: support permission judgment of interface elements and routes 2022-07-15 16:26:27 +08:00
App.vue perf: optimize the UI of the global scrollbar 2022-09-23 22:29:50 +08:00
main.ts refactor: improve login-related logic (#617) 2022-09-22 12:46:12 +00:00