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

fix: the issue that custom link type menu items cannot be saved normally #743

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

ruibaby
Copy link
Member

@ruibaby ruibaby commented Dec 5, 2022

What type of PR is this?

/kind bug
/milestone 2.0.1

What this PR does / why we need it:

修复创建菜单项的时候,自定义链接类型的菜单项无法正常保存名称和链接的问题。

Which issue(s) this PR fixes:

Fixes halo-dev/halo#2816

Special notes for your reviewer:

测试方式:

  1. 创建若干自定义类型的菜单项。
  2. 检查是否成功保存了名称和连接。

Does this PR introduce a user-facing change?

修复 Console 端无法正常创建自定义链接类型菜单项的问题。

@ruibaby ruibaby added this to the 2.0.1 milestone Dec 5, 2022
@f2c-ci-robot f2c-ci-robot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. labels Dec 5, 2022
@vercel
Copy link

vercel bot commented Dec 5, 2022

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

Name Status Preview Updated
ui ✅ Ready (Inspect) Visit Preview Dec 5, 2022 at 3:25AM (UTC)

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.

It works very well for me, and you can see the screenshot below:

image

/approve

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Dec 5, 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 Dec 5, 2022
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 Dec 5, 2022
@f2c-ci-robot f2c-ci-robot bot merged commit 058c5e3 into halo-dev:main Dec 5, 2022
@ruibaby ruibaby deleted the fix/menu-item-creating branch December 5, 2022 11:39
@JohnNiang
Copy link
Member

/cherry-pick release-2.0

@halo-dev-bot
Copy link

@JohnNiang: new pull request created: #751

In response to this:

/cherry-pick release-2.0

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 pushed a commit that referenced this pull request Dec 7, 2022
…be saved normally (#751)

This is an automated cherry-pick of #743

/assign JohnNiang

```release-note
修复 Console 端无法正常创建自定义链接类型菜单项的问题。
```
@JohnNiang JohnNiang modified the milestones: 2.1.x, 2.1.0 Dec 20, 2022
JohnNiang pushed a commit to JohnNiang/halo that referenced this pull request Mar 2, 2023
…lly (halo-dev/console#743)

#### What type of PR is this?

/kind bug
/milestone 2.0.1

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

修复创建菜单项的时候,自定义链接类型的菜单项无法正常保存名称和链接的问题。

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

Fixes halo-dev#2816

#### Special notes for your reviewer:

测试方式:

1. 创建若干自定义类型的菜单项。
2. 检查是否成功保存了名称和连接。

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

```release-note
修复 Console 端无法正常创建自定义链接类型菜单项的问题。
```
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/bug Categorizes issue or PR as related to a bug. 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
Development

Successfully merging this pull request may close these issues.

无法创建自定义类型的菜单项
4 participants