Shared Apps disappears with nav_bar configured

Unsure if this is expected behavior or not, but I recently modified the nav_bar section in an ondemand.d conf file. It seems that if I configure nav_bar then the “Shared Apps” section at the top of the left-hand sidebar on “My Interactive Sessions” page disappears. If I remove the nav_bar conf and restart then it will return.

Hi Matt

I’m not sure if I’m understanding your problem, is this “Sharded Apps” a section in your “Interactive Apps” or is it another new section of apps declared by you?

Hi @Christian-bustelo, thanks for the reply.

This is the usr type apps Peer to Peer Sharing feature, which displays at the top of the left sidebar on the dashboard/batch_connect/sessions page.

Adding the nav_bar config causes this entire “Shared Apps” section to disappear from the sidebar. It doesn’t seem to matter what is configured in nav_bar. I’ve tested this with the default list.

The documentation suggests including - usr/* in the pinned_apps configuration but I’m already using pinned_apps to display a fixed list of items on the dashboard page. So this “Shared Apps” sidebar is the interface for users to find for these apps directly. Although they do still appear in the “All Apps” apps/index directory.

If the nav_bar configuration removing the Shared Apps section is expected behavior and not a bug, then maybe I can submit a feature request to be able to create multiple named instances of pinned_apps because it would be great to be able to create a custom dashboard page with just the usr/* apps displayed in pinned_apps.

Thanks @Christian-bustelo for jumping in!

I tracked this down to this ticket which boiled down to "if it's in the navbar it should be in this left hand panel"

It appears that maybe shared apps was missed? It sounds like a bug to me, like if you have it in the navigation bar then you should have them here too.

Hm, maybe I’m not fully understanding how the menus and lists are linked.

I haven’t done (at least intentionally) any manual configuration of the left-hand list in My Interactive Sessions. I use the auto-categorization for that. As far as I know, the “Shared Apps” section has never appeared in the top “Interactive Apps” drop-down list on the dashboard. It would appear automatically as grouping at the top of the left-hand menu on “My Interactive Sessions” whenever the user had permission to access the apps.

My nav_bar configuration is fairly simple, I just re-created the default because I wanted to be able to add custom_pages into the Clusters menu and it seemed to be the only way to do that. But in my testing it doesn’t appear to matter what is in the nav_bar config. If it exists, then “Shared Apps” stops automatically appearing in the left-hand menu.

nav_bar:
  # 'apps' drop-down menu is shown if you've set 'pinned_apps'.
  - apps
  - files
  - jobs
#  - clusters
  - title: "Clusters"
    links:
      - group: "System Information"
      - title: "Available Modules"
        icon: "fa://spider" # optional, defaults to fas://cog
        page: "modules"
      - group: ""
      - title: "RC Shell Access"
        icon: "fa://terminal"
      - "sys/shell"
  - interactive apps
  - my interactive sessions

I’ve created this bug ticket upstream. The premise was whatever's in the navbar should appear in this menu, but I believe that that only applies to system installed apps, it would seem that shared apps were missed here.

1 Like