Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

refactor: load the logo as an inline svg #664

Merged
merged 2 commits into from
Oct 26, 2022

Conversation

ruibaby
Copy link
Member

@ruibaby ruibaby commented Oct 25, 2022

What type of PR is this?

/kind improvement
/milestone 2.0

What this PR does / why we need it:

以 inline svg 的形式加载 Logo,解决因为加载 svg 文件导致的页面抖动问题。

Special notes for your reviewer:

/cc @halo-dev/sig-halo-console

测试方式:检查登录页面、初始化页面、侧边菜单顶部的 Logo 是否加载正常。

Does this PR introduce a user-facing change?

以 inline svg 的形式加载 Logo,解决因为加载 svg 文件导致的页面抖动问题。

@f2c-ci-robot f2c-ci-robot bot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Oct 25, 2022
@f2c-ci-robot f2c-ci-robot bot added this to the 2.0 milestone Oct 25, 2022
@f2c-ci-robot f2c-ci-robot bot added the kind/improvement Categorizes issue or PR as related to a improvement. label Oct 25, 2022
@vercel
Copy link

vercel bot commented Oct 25, 2022

@ruibaby is attempting to deploy a commit to the halo-dev Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 25, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
halo-console ✅ Ready (Inspect) Visit Preview Oct 26, 2022 at 2:41AM (UTC)
ui ✅ Ready (Inspect) Visit Preview Oct 26, 2022 at 2:41AM (UTC)

Copy link
Member

@guqing guqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Oct 25, 2022
Copy link
Member

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Oct 26, 2022

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 26, 2022
@guqing
Copy link
Member

guqing commented Oct 26, 2022

/lgtm

1 similar comment
@guqing
Copy link
Member

guqing commented Oct 26, 2022

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Oct 26, 2022
@f2c-ci-robot f2c-ci-robot bot merged commit 5f5916f into halo-dev:main Oct 26, 2022
@ruibaby ruibaby deleted the refactor/load-logo-as-inline-svg branch November 19, 2022 16:10
JohnNiang pushed a commit to JohnNiang/halo that referenced this pull request Mar 2, 2023
#### What type of PR is this?

/kind improvement
/milestone 2.0

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

以 inline svg 的形式加载 Logo,解决因为加载 svg 文件导致的页面抖动问题。

#### Special notes for your reviewer:

/cc @halo-dev/sig-halo-console 

测试方式:检查登录页面、初始化页面、侧边菜单顶部的 Logo 是否加载正常。

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

```release-note
以 inline svg 的形式加载 Logo,解决因为加载 svg 文件导致的页面抖动问题。
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/improvement Categorizes issue or PR as related to a improvement. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
3 participants