-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support JSON-based retrieval and update for theme and plugin configs #6661
feat: support JSON-based retrieval and update for theme and plugin configs #6661
Conversation
@ruibaby 帮忙适配一下前端部分 |
8762122
to
a072a36
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6661 +/- ##
=========================================
Coverage 58.28% 58.29%
- Complexity 3962 3963 +1
=========================================
Files 680 680
Lines 23337 23338 +1
Branches 1584 1584
=========================================
+ Hits 13603 13604 +1
Misses 9108 9108
Partials 626 626 ☔ View full report in Codecov by Sentry. |
a072a36
to
a634065
Compare
@halo-dev/api-client
@halo-dev/components
@halo-dev/console-shared
@halo-dev/richtext-editor
@halo-dev/ui-plugin-bundler-kit
commit: |
Quality Gate passedIssues Measures |
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
[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 |
What type of PR is this?
/kind improvement
/area core
/milestone 2.20.x
What this PR does / why we need it:
新增 API 用于以 JSON 的方式获取和更新插件和主题的配置
之前一直是返回的 ConfigMap 让前端去操作字符串 JSON 需要转换,渲染表单值回显等操作都不方便,例如像 SEO 插件这样还会去获取配置在业务中使用而不仅仅是只有后端会使用到配置,因此使用 JSON 的方式返回可能要更合理一些
Does this PR introduce a user-facing change?