Google Workspace Add-On Hide or Edit App Bar Card - google-apps-script

I developed an add-on for google workspace.
I followed the official guide for sidebar development.
Searching in the developers.google.com portal and in the Google Figma UI StyleGuide provided for the documentation of the add-on, I can't find how to change or hide the Add on top bar (not Header Card).
As you can see from the first photo attached (my add-on) I have defined the "Card Header", but it still remains the "add-on" Header Bar"(ref) that I would like to change or remove, like those of Google (attached photo) or other add-ons on the store.
Someone knows to modify it or has a reference where he explains how to do it?
Thank you so much!

Currently, the only customization that is available for the add-on header are the displayed name and the background color (fields name and layoutProperties in Common field, in your manifest).
Feature request:
If you'd like this functionality to be implemented, I'd suggest you to file a feature request on Issue Tracker, using this template.

Related

Adding starting splashing Animation to Google workspace Add -on

I'm creating a google workspace add-on to a organization.For styling purpose I want to add starting splash animation very similler to the Google map, keep and contact Add-on have.Can I get an idea about, that can be done to the third party add-on , that we are creating ?
Google Workspace add-on are pretty limited in terms of design you can do. And you won't be able - as of writing - to create a splash screen that disappear without user's interaction.
You can ask for such feature using Google's feedback form.

How to access Gmail messages selected (checkbox)

I am trying to build an Add-On for gmail which will perform some actions on a set of messages selected by the user.
Looking at the gmail Apps Script API, I cannot see a method that allows me to do that.
I've noticed that some AddOns operate on selected messages, just like what I want to do. See picture below...
The checkboxes (highlighted in green) tell the AddOn what to operate on.
What am I missing?
The opened menu has options to forward the messages selected by combining them.
Also, I noticed that this AddOn is placed by google along the top. The same happen to the boomerange AddOn. The AddOn I am developing, always appears on the right hand side (pink arrows).
How can you place your addOn along the top menu?
The items you reference with the orange arrows in the image are not Gmail Add-ons, they are actually Chrome Extensions. Chrome Extensions are installed in the browser and they can add functionality by manipulating the DOM (Document Object Model) of a webpage. The chrome extension in question is probably specifically targeting chrome tabs with Gmail loaded and injecting content in the respective pages.
If you want to learn more about developing Chrome Extensions check out the following documentation:
https://developer.chrome.com/extensions/devguide
And for developing gmail specific Chrome Extensions you might want to check out the InboxSDK framework linked below:
https://www.inboxsdk.com/

Highlighting / Emphasizing Gmail-Addon

I am building a Gmail Add-On via Google App Scripts that will display provide helpful actions for emails with certain content.
Is there a way for me to highlight / emphasize / flash the icon for my Add-On (on the right hand sidebar)? This would let me notify the user that the Add-On can provide some functionality for the email they're reading.
As of now, there is no such functionality provided by Google team. The only way an add-on is activated by only user action(user has to click on the add ons icon from right side bar).

How to create a secondary slide-out in Google Doc add on side bar in Google Apps Script

I have a Google Doc add-on that utilizes the sidebar: no problem there. When one uses the Google research add-on, there is an secondary slide out from the sidebar that shows a preview of a search result (see picture below) when clicked. I am hoping to replicate this behaviour, but I see nothing about it in the api regarding size and limits. I tried having a tooltip pop up on my links in the sidebar, but they appear cut off or under the main Google Doc palette. I have tried a bunch of other Google Doc add-ons to see if any of them replicate this functionality, but they don't. Before I spend hours on this, I want to first ask is anyone know if this is specific permission for Google's sidebar only, or can developers replicate this functionality?
The Research Tool is a direct integration with Docs and Presentations, it's not a Google Apps Script add-on. The freedom to "slide out" within the document is not available to add-ons today.
As one alternative, you could use an accordion affect to collapse your "first page" and overlay the result page, still within the bounds of the sidebar.
A second alternative would be to use a non-modal window, where you'd have more freedom. (resizing there requires client-server exchanges, but is doable)

Custom sidebar addon for Google Docs

I am trying to write a simple add-on for Google Docs. It basically a list of items I want to have visible on the side when I am using Docs. I followed this simple tutorial.
I don't want to publish such a simple add-on unnecessarily. Is there a way that I could use it just within my Google Docs without publishing it ?
If you've just copied the sample code into your document's script, it already works there. To activate the script you have to reopen the document, then in the menus at the top click Custom Menu -> Show sidebar.
You only have to publish a script if you want to share your add-on with other users.
If you still have problems, take a look at Add-on Quickstart. It describes add-on creation process in details.