Alerting: Rename triage to alerts (#113039)

This commit is contained in:
Gilles De Mey
2025-10-27 12:47:51 +00:00
committed by GitHub
parent 0e9a3881e7
commit 7b2ea9a735
4 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -443,7 +443,7 @@ func (s *ServiceImpl) buildAlertNavLinks(c *contextmodel.ReqContext) *navtree.Na
if s.features.IsEnabled(c.Req.Context(), featuremgmt.FlagAlertingTriage) {
if hasAccess(ac.EvalAny(ac.EvalPermission(ac.ActionAlertingRuleRead), ac.EvalPermission(ac.ActionAlertingRuleExternalRead))) {
alertChildNavs = append(alertChildNavs, &navtree.NavLink{
Text: "Triage", SubTitle: "Triage alerts", Id: "alert-triage", Url: s.cfg.AppSubURL + "/alerting/triage", Icon: "medkit", IsNew: true,
Text: "Alerts", SubTitle: "Visualize active and pending alerts", Id: "alert-alerts", Url: s.cfg.AppSubURL + "/alerting/alerts", Icon: "bell", IsNew: true,
})
}
}
+1 -1
View File
@@ -335,7 +335,7 @@ export function getAlertingRoutes(cfg = config): RouteDescriptor[] {
if (cfg.featureToggles.alertingTriage) {
routes.push({
path: '/alerting/triage',
path: '/alerting/alerts',
roles: evaluateAccess([AccessControlAction.AlertingRuleRead, AccessControlAction.AlertingRuleExternalRead]),
component: importAlertingComponent(
() => import(/* webpackChunkName: "AlertingTriage" */ 'app/features/alerting/unified/triage/Triage')
@@ -9,10 +9,13 @@ import { TriageScene, triageScene } from './scene/TriageScene';
export const TriagePage = () => {
return (
<AlertingPageWrapper
navId="alerting"
subTitle={t('alerting.pages.triage.subtitle', 'Learn about problems in your systems moments after they occur')}
navId="alert-alerts"
subTitle={t(
'alerting.pages.triage.subtitle',
'See what is currently alerting and explore historical data to investigate current or past issues.'
)}
pageNav={{
text: t('alerting.pages.triage.title', 'Triage'),
text: t('alerting.pages.triage.title', 'Alerts'),
}}
>
<UrlSyncContextProvider scene={triageScene} updateUrlOnInit={true} createBrowserHistorySteps={true}>
+2 -2
View File
@@ -2043,8 +2043,8 @@
},
"pages": {
"triage": {
"subtitle": "Learn about problems in your systems moments after they occur",
"title": "Triage"
"subtitle": "See what is currently alerting and explore historical data to investigate current or past issues.",
"title": "Alerts"
}
},
"panel-alert-tab-content": {