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>
pull/94063/head
Tim Levett 8 months ago committed by GitHub
parent 95d379368a
commit 8de1047f65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/services/navtree/navtreeimpl/applinks.go
  2. 8
      pkg/services/navtree/navtreeimpl/applinks_test.go
  3. 2
      public/app/core/utils/navBarItem-translations.ts
  4. 2
      public/locales/en-US/grafana.json
  5. 2
      public/locales/pseudo-LOCALE/grafana.json

@ -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…
Cancel
Save