mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Change from Apps to "More Apps" (#93454)
* Change the label used for additional app links from apps to more apps so it doesn't conflict with applications, which is application observability, not the other bucket * update to more apps * more in german is mehr * fix case, update translations correctly * revert changes to de * fix be tests --------- Co-authored-by: joshhunt <josh@trtr.co> Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
parent
95d379368a
commit
8de1047f65
@ -195,7 +195,7 @@ func (s *ServiceImpl) addPluginToSection(c *contextmodel.ReqContext, treeRoot *n
|
||||
switch sectionID {
|
||||
case navtree.NavIDApps:
|
||||
treeRoot.AddSection(&navtree.NavLink{
|
||||
Text: "Apps",
|
||||
Text: "More apps",
|
||||
Icon: "layer-group",
|
||||
SubTitle: "App plugins that extend the Grafana experience",
|
||||
Id: navtree.NavIDApps,
|
||||
|
@ -121,14 +121,14 @@ func TestAddAppLinks(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
t.Run("Should move apps to Apps category", func(t *testing.T) {
|
||||
t.Run("Should move apps to 'More apps' category", func(t *testing.T) {
|
||||
treeRoot := navtree.NavTreeRoot{}
|
||||
err := service.addAppLinks(&treeRoot, reqCtx)
|
||||
require.NoError(t, err)
|
||||
|
||||
appsNode := treeRoot.FindById(navtree.NavIDApps)
|
||||
require.NotNil(t, appsNode)
|
||||
require.Equal(t, "Apps", appsNode.Text)
|
||||
require.Equal(t, "More apps", appsNode.Text)
|
||||
require.Len(t, appsNode.Children, 3)
|
||||
require.Equal(t, testApp1.Name, appsNode.Children[0].Text)
|
||||
})
|
||||
@ -169,7 +169,7 @@ func TestAddAppLinks(t *testing.T) {
|
||||
require.Len(t, treeRoot.Children, 2)
|
||||
require.Equal(t, "plugin-page-test-app1", treeRoot.Children[0].Id)
|
||||
|
||||
// Check if it is not under the "Apps" section anymore
|
||||
// Check if it is not under the "More apps" section anymore
|
||||
appsNode := treeRoot.FindById(navtree.NavIDApps)
|
||||
require.NotNil(t, appsNode)
|
||||
require.Len(t, appsNode.Children, 2)
|
||||
@ -197,7 +197,7 @@ func TestAddAppLinks(t *testing.T) {
|
||||
require.Len(t, adminNode.Children, 1)
|
||||
require.Equal(t, "plugin-page-test-app1", adminNode.Children[0].Id)
|
||||
|
||||
// Check if it is not under the "Apps" section anymore
|
||||
// Check if it is not under the "More apps" section anymore
|
||||
appsNode := treeRoot.FindById(navtree.NavIDApps)
|
||||
require.NotNil(t, appsNode)
|
||||
require.Len(t, appsNode.Children, 2)
|
||||
|
@ -140,7 +140,7 @@ export function getNavTitle(navId: string | undefined) {
|
||||
case 'frontend':
|
||||
return t('nav.frontend.title', 'Frontend');
|
||||
case 'apps':
|
||||
return t('nav.apps.title', 'Apps');
|
||||
return t('nav.apps.title', 'More apps');
|
||||
case 'alerts-and-incidents':
|
||||
return t('nav.alerts-and-incidents.title', 'Alerts & IRM');
|
||||
case 'testing-and-synthetics':
|
||||
|
@ -1574,7 +1574,7 @@
|
||||
},
|
||||
"apps": {
|
||||
"subtitle": "App plugins that extend the Grafana experience",
|
||||
"title": "Apps"
|
||||
"title": "More apps"
|
||||
},
|
||||
"authentication": {
|
||||
"title": "Authentication"
|
||||
|
@ -1574,7 +1574,7 @@
|
||||
},
|
||||
"apps": {
|
||||
"subtitle": "Åpp pľūģįʼnş ŧĥäŧ ęχŧęʼnđ ŧĥę Ğřäƒäʼnä ęχpęřįęʼnčę",
|
||||
"title": "Åppş"
|
||||
"title": "Mőřę äppş"
|
||||
},
|
||||
"authentication": {
|
||||
"title": "Åūŧĥęʼnŧįčäŧįőʼn"
|
||||
|
Loading…
Reference in New Issue
Block a user