enuchi / React-Google-Apps-Script

This is your boilerplate project for developing React apps inside Google Sheets, Docs, Forms and Slides projects. It's perfect for personal projects and for publishing complex add-ons in the Google Workspace Marketplace.
MIT License
1.32k stars 171 forks source link

Seeing "Running script" with "Cancel" and "Dismiss" instead of "Working" when executing opening the sidebar #213

Closed iamsanteri closed 5 months ago

iamsanteri commented 5 months ago

Thank you for this amazing boilerplate! Since adopting it I'm wondering about one difference to my earlier projects. When I developed and used past editor add-ons, including extensions I downloaded from the marketplace, when opening or working with them I've usually seen "Working" displayed on the bottom of the screen along with spinning arrows which I find intuitive like this:

working

However, since I started using this boilerplate project and have been working on my latest add-on I noticed that it shows a bit of a less native output when triggering runs of the script right at the top of the Google Sheet instead, e.g. when opening the about sidebar sample in the project, as follows:

Screenshot 2024-03-24 at 23 30 14

Screenshot 2024-03-24 at 23 30 12

Screenshot 2024-03-24 at 23 31 13

Is this normal or expected? Is it possible shomehow to adjust this? It really feels like a bummer to me as I can't find any way to get back to my beautiful "Working" spinners from my past add-ons 😄 Indeed, according to some forum posts from across the web these cannot be hidden, but I definitely know that my past add-ons, as well as some of the marketplace ones tend to show "Working" on the bottom instead!

enuchi commented 5 months ago

Just tried it out, and once you actually go through the full process of deploying the script as an add-on it will show the "Working" message at the bottom instead of the "Running script" message.

You can try it out by doing a "Test deployment" and trying with an editor add-on.

image
iamsanteri commented 5 months ago

@enuchi you're doing amazing work with this project and it's just super friendly of you to support people on top of it all. This is indeed the case and works as you said! Thanks for coming back on this one!