Skip to content
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

Refactor HTML Injection Form Component #12

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

CaiHaosen
Copy link
Collaborator

What type of PR is this?

/kind improvement

What this PR does / why we need it:

原来的注入表单组件HtmlInjectionAdd把新增和更改的逻辑混在一起了,
该PR删除了该组件并拆分成HtmlInjectionForm,HtmlInjectionCreationModalHtmlInjectionEditionModal分别用于渲染表单,新增注入和修改注入

Which issue(s) this PR fixes:

Fixes #7

Does this PR introduce a user-facing change?

None

@f2c-ci-robot f2c-ci-robot bot added kind/improvement Categorizes issue or PR as related to a improvement. release-note-none Denotes a PR that doesn't merit a release note. labels Aug 28, 2024
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 Sep 3, 2024
Copy link

f2c-ci-robot bot commented Sep 3, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guqing

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 Sep 3, 2024
@f2c-ci-robot f2c-ci-robot bot merged commit ea5d2d7 into halo-sigs:main Sep 3, 2024
2 checks passed
guqing pushed a commit to guqing/plugin-injection that referenced this pull request Sep 30, 2024
#### What type of PR is this?
/kind improvement
#### What this PR does / why we need it:
原来的注入表单组件`HtmlInjectionAdd`把新增和更改的逻辑混在一起了,
该PR删除了该组件并拆分成`HtmlInjectionForm`,`HtmlInjectionCreationModal`和`HtmlInjectionEditionModal`分别用于渲染表单,新增注入和修改注入
#### Which issue(s) this PR fixes:
Fixes halo-sigs#7 
#### Does this PR introduce a user-facing change?
```release-note
None
```
CaiHaosen added a commit that referenced this pull request Oct 9, 2024
#### What type of PR is this?
/kind improvement
#### What this PR does / why we need it:
原来的注入表单组件`HtmlInjectionAdd`把新增和更改的逻辑混在一起了,
该PR删除了该组件并拆分成`HtmlInjectionForm`,`HtmlInjectionCreationModal`和`HtmlInjectionEditionModal`分别用于渲染表单,新增注入和修改注入
#### Which issue(s) this PR fixes:
Fixes #7 
#### Does this PR introduce a user-facing change?
```release-note
None
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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-none Denotes a PR that doesn't merit a release note.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

建议重构代码注入表单组件
2 participants