Recent searches


No recent searches

Keep app sidebar open by default



Posted Jan 06, 2022

HI,

I would like to disable the option to close the apps sidebar, so my support agents could always see the apps (as one of the apps is extremely important for productivity). Is there any way you can make this happen?

Thanks,

Jonathan


5

5

5 comments

image avatar

Dan Cooper

Community Moderator

Hi Jonathan, 

This is probably the overkill solution, but if you are doing any Zendesk app development you could include this line of code to open the app tray. 

client.invoke('appsTray.show')

If you aren't doing any app development for Zendesk, this line of code can be incorporated alongside the sample code built in Zendesk's Build your first support app tutorial.

0


Thanks, Dan Cooper

Very helpful. 

0


I tried creating a background app

main.js file

import ZDClient from './services/ZDClient.js';

var client = ZAFClient.init();

client.invoke('appsTray.show');

the iframe.html

<html>
<head>
  <meta charset="utf-8">
</head>
<body>
  <div id="app"></div>
   <script src="https://assets.zendesk.com/apps/sdk/2.0/zaf_sdk.min.js"></script>
  <script src="./src/main.js" type="module"></script>
</body>
</html>

 

This does not work though.  When I go to the new ticket or click on an existing ticket the app sidebar is not open showing my other apps.    I need this to default to open for the apps because some users don't know to click the box to open the apps and it is causing confusion.

 

0


Ok so I tested incognito and looks like this code does work to default to open. However it is remembering when I close the app toolbar and will not default to open anymore when I have closed it.  That is why it originally didn't work because I closed the apps to make sure it would default to open and it was not opening.  Incognito does not have the cashed close setting so it then correctly works and defaults the apps to open. Is there a way to override this close app caching to make sure any time they go into a new ticket or existing ticket that it will default to open instead of using the cached close?

0


image avatar

Mo Rizvi

Zendesk Product Manager

Hey Jonathan!

Thanks for your post. Couple of suggestions I had:

  1. Setting up a custom layout in layout builder (article for that), you can do couple of things with your customer layout:
    1. Have All Apps component be open by default. This works unless the agent collapses the panel, since that is stored in the local storage, it will stay collapsed until agent reopens it.
    2. Create another column in your layout that has All Apps component in it. This will keep the All Apps component visible at all times. If you want certain apps to stay open at all times, that can also be configured in layout builder.
  2. If you want your agents to have quick access to certain apps, using the App Shortcuts feature might be helpful for that. Agents can pin their most used apps to the context panel for a quick single click access to them. 
  3. What Dan Cooper and Dan Michaels suggested above will work as well. The only addition I'd make is to code the app so invoke(appsTray.show) is chained to fire right after an app.activated event is triggered. 

Thanks!

Mo

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post