-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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: create reverse proxy for logo when plugin created #2652
Conversation
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
Console 的适配 halo-dev/console#678
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 |
#### What type of PR is this? /kind improvement /milestone 2.0 #### What this PR does / why we need it: 修改插件 Logo 的使用字段为 `status.logo`。用于适配 halo-dev/halo#2652 #### Which issue(s) this PR fixes: Fixes halo-dev/halo#2651 #### Screenshots: <img width="1663" alt="image" src="https://user-images.githubusercontent.com/21301288/199447142-0c90b200-3976-498e-88e1-dd3c5377ab73.png"> #### Special notes for your reviewer: /cc @halo-dev/sig-halo-console 测试方式: 1. Halo 需要切换到 halo-dev/halo#2652 分支。 2. 检查插件列表的 Logo 是否显示正常。 #### Does this PR introduce a user-facing change? ```release-note None ```
#### What type of PR is this? /kind improvement /milestone 2.0 #### What this PR does / why we need it: 修改插件 Logo 的使用字段为 `status.logo`。用于适配 halo-dev#2652 #### Which issue(s) this PR fixes: Fixes halo-dev#2651 #### Screenshots: <img width="1663" alt="image" src="https://user-images.githubusercontent.com/21301288/199447142-0c90b200-3976-498e-88e1-dd3c5377ab73.png"> #### Special notes for your reviewer: /cc @halo-dev/sig-halo-console 测试方式: 1. Halo 需要切换到 halo-dev#2652 分支。 2. 检查插件列表的 Logo 是否显示正常。 #### Does this PR introduce a user-facing change? ```release-note None ```
What type of PR is this?
/kind improvement
/area core
/milestone 2.0
What this PR does / why we need it:
插件 logo 支持配置外部 URL 或相对于 resources 的路径
Console 端展示插件 logo 时使用的字段需要使用 status.logo 而非 spec.logo
Which issue(s) this PR fixes:
Fixes #2651
Special notes for your reviewer:
how to test it?
/cc @halo-dev/sig-halo
Does this PR introduce a user-facing change?