orangeCatDeveloper opened a new pull request, #4239:
URL: https://github.com/apache/hertzbeat/pull/4239

   ### 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):
   
   <!-- paste before screenshot here -->
   
   **After** (User Guide → alarm threshold docs):
   
   <!-- paste after screenshot here -->
   
   ### 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`.
   
   https://claude.ai/code/session_01R9hiiFqSAew8hcquT42RWz
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to