Skip to content

fix(web-app): point threshold user guide link to correct docs#4239

Open
orangeCatDeveloper wants to merge 1 commit into
apache:masterfrom
orangeCatDeveloper:fix/alert-setting-userguide-link
Open

fix(web-app): point threshold user guide link to correct docs#4239
orangeCatDeveloper wants to merge 1 commit into
apache:masterfrom
orangeCatDeveloper:fix/alert-setting-userguide-link

Conversation

@orangeCatDeveloper

@orangeCatDeveloper orangeCatDeveloper commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

What's changed

The User Guide link on the Threshold Rules page (/alert/setting) opened
the app's own 404 page instead of the documentation.

The help component bound its link to the i18n key alert.help.center.setting,
which is not defined in any locale. The i18n pipe returns the key unchanged, so
the link rendered href="alert.help.center.setting" and the router resolved it
to /exception/404. The correct key alert.help.setting.link already exists in
every locale and points at the alarm threshold docs; this PR simply references
it.

One-line change in alert-setting.component.html.

Screenshots

Before (User Guide → app 404):

before-404

After (User Guide → alarm threshold docs):
after-docs

Test plan

  • Set the UI language to any locale, open Threshold page, click User Guide.
  • Before: opens the in-app 404 page.
  • After: opens https://hertzbeat.apache.org/docs/help/alert_threshold.

The threshold page bound its help link to the undefined i18n key
alert.help.center.setting, so the link rendered the key as its href and
opened the app 404 page. Use alert.help.setting.link, which already
resolves to the alarm threshold docs in every locale.
@orangeCatDeveloper
orangeCatDeveloper force-pushed the fix/alert-setting-userguide-link branch from 38ecd3b to f4c5cbc Compare July 24, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant