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

[Fix-16517][Alert Instance] Alert plugin instance i18n wrong result in rendering frontend ui #16751

Merged
merged 7 commits into from
Nov 5, 2024

Conversation

sdhzwc
Copy link
Contributor

@sdhzwc sdhzwc commented Oct 30, 2024

Purpose of the pull request

The repaired effect is as follows:
image
image

close #16517

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@github-actions github-actions bot added UI ui and front end related backend labels Oct 30, 2024
@SbloodyS SbloodyS changed the title [Fix-16517][Alert Instance]Alert plugin instance i18n wrong result in rendering frontend ui [Fix-16517][Alert Instance] Alert plugin instance i18n wrong result in rendering frontend ui Oct 31, 2024
@SbloodyS SbloodyS added the bug Something isn't working label Oct 31, 2024
@SbloodyS SbloodyS added this to the 3.3.0 milestone Oct 31, 2024
Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

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

Please add some tests for this change.

@sdhzwc sdhzwc requested a review from SbloodyS November 4, 2024 05:49
Copy link

sonarcloud bot commented Nov 4, 2024

Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ruanwenjun ruanwenjun left a comment

Choose a reason for hiding this comment

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

This is not an implementation I can accept, we already have two kinds of i18n implementation, right now we introduced another new one. We need to make sure for one plugin there only exist one i18n implementation. The i18n of parameter type is controlled by front-end, place holder is controlled by front-end/back-end, this look strange.

It will be great if the parameter type is also controlled at this way.

@SbloodyS SbloodyS merged commit 7876d45 into apache:dev Nov 5, 2024
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working test UI ui and front end related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] [Alert Instance] Alert plugin instance i18n wrong result in rendering frontend ui
3 participants