halo icon indicating copy to clipboard operation
halo copied to clipboard

为主题和插件提供更新/清空设置项的功能

Open ruibaby opened this issue 3 years ago • 2 comments

你当前使用的版本

2.0.0-prerelease

描述一下此特性

目前主题和插件的设置部分使用了 Setting(设置表单 UI) 和 ConfigMap(设置存储) 模型,但在开发主题和插件过程中,可能会频繁修改 Setting 的内容,目前唯一能做的就是调用 Setting 的 Extension API 手动更新 Setting 的 FormSchema 定义。期望提供更新 Setting 的功能。

/kind feature /milestone 2.0 /area core

/cc @halo-dev/sig-halo any idea?

附加信息

No response

ruibaby avatar Sep 19 '22 13:09 ruibaby

/assign

guqing avatar Sep 21 '22 07:09 guqing

插件不需要此功能,配置了 fixedPluginPath 后每次重启都会加载新的配置项

guqing avatar Sep 22 '22 09:09 guqing

/close

See https://github.com/halo-dev/halo/pull/2456 https://github.com/halo-dev/console/pull/620 https://github.com/halo-dev/halo/pull/2486 for more

ruibaby avatar Sep 29 '22 10:09 ruibaby

@ruibaby: Closing this issue.

In response to this:

/close

See https://github.com/halo-dev/halo/pull/2456 https://github.com/halo-dev/console/pull/620 https://github.com/halo-dev/halo/pull/2486 for more

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

f2c-ci-robot[bot] avatar Sep 29 '22 10:09 f2c-ci-robot[bot]