How to display "Working" toast from Google Docs add-on - css

When starting Spreadsheet or Doc add-ons I've obtained from the add-on stores, I see an animated progress toast at the bottom of the window:
That doesn't show up for my own add-ons, so I'm guessing that it's not placed by the add-on framework, but is something under the control of the add-on itself. The Preview Guide doesn't mention it, it's not in the Quick Start, nor does it appear in the UI Style guide. Then again, there's no elements in the CSS that would apply, either.
How can my add-on trigger this toast during initialization?

That progress indicator actually is placed by the add-on framework, for true add-ons. (As opposed to contained scripts using the add-on menus.)
It is not under control of your script.

Related

AEM6.5 scheduled activation status icon is not shown

I've seen that in earlier versions of AEM, when we schedule a page to get activated at a later time, a small calendar icon is showing up under the status column. When we hover over this icon, it displays the scheduled date and time.
But, I can't see that scheduled activation calendar icon anymore. I can only see the workflow icon under the status column.
Is there a way how I can display the scheduled activation status icon in AEM 6.5?
Many thanks in advance for all your help.
This should still be visible by default in AEM 6.5 so you may not need any custom implementation. If it isn't working, maybe there's a bug or there's an existing customization that's preventing those icons from working.
In the list view
In the column that displays the publication status, there's a faint calendar icon. It's quite low-contrast though. Hovering over it will reveal the scheduled publication date.
In the card view
You should be able to see the time of scheduled activation in the page preview on the right hand side.
How you could change or add icons
If you still want to add an icon, you should be able to achieve this via overlaying parts of the sites console. You'd have to find the right scripts under /libs and create an overlay under /apps
This is also where you'd look if any icons available OOTB are missing.
More on the subject:
Using the Sling Resource Merger
Customizing the consoles

Prism detecting if page is modal programmatically and go back

I am implementing a feature using "connectivity" from essentials that when the app goes "offline" no wifi etc.. it navigates to a specific page.
It works in most cases however if I set the phone on "Airplane Mode" when I am on a modal page it does not navigate to my page.
In Prism is there a way to detect if the current page "IsModal" and either goback or kill it so that I can navigate to my specific Page?
THanks
You'd have to write some crazy lookup logic to figure it out. Unfortunately the helper for that doesn't currently exist. However the latest Prism 7.2 preview has some enhancements that specifically attempt to eliminate the need to figure out whether you require Modal Navigation and automatically use the proper type of Navigation. I would encourage you to try the preview. If you come up with a scenario where GoBack isn't working correctly please open an issue.

Visual response for loading pages in pwa

Is there a way to let PWA users know that a clicked link is being loaded. Usually in the browser we see the blue progress line indicating this but in the pwa the user is left to assume the page is loading except there is a pseudo effect on the buttons programmed by the developer. I understand the idea behind pwa includes giving users immersive visuals and if pages load faster, the users will not bother about the blue line but sometimes it's needed.
Going through the same thing but i think i found a way.
We can use bootstrap spinners to animate this. We can use javascript to detect a link click and show the spinner. We can also add this on submit button click.

Bootstrap theme for webmin display half page

I am using bootstrap theme for webmin, It is working fine with chrome but when I moved to Firefox the webmin pages are displaying on half of screen, what might be the problem.
suggest me the changes.enter image description here
I'm the developer and author of Authentic Theme for Webmin/Usermin/Virtualmin/Cloudmin.
My theme actually works fine in Firefox as well. You are welcome to try it.
Authentic Theme
Webmin/Usermin/Virtualmin/Cloudmin theme based on Bootstrap and Font Awesome hat is made with love. It uses CodeMirror to highlight config files and show line numbers, when editing manually and DataTables to add advanced interaction controls to modules' tables. Theme runs using latest releases of dependent software (mentioned above), supporting all in-built modules (even ancient ones) and third-party modules, including ConfigServer Security & Firewall.
Features
Autocomplete that lets you very quickly and effectively navigate through items in left menu, items of currently opened module in Webmin, items for currently selected domain and list of all available virtual domains/machines in Virtualmin/Cloudmin module
Hotkeys for quicker access/control. Alt+S for focusing on search field; Alt+R for refreshing currently opened module; Alt+W switching to Webmin; Alt+V switching to Virtualmin; Alt+C switching to Cloudmin and double Shift to prematurely dismiss right page loader
Extended support for ConfigServer Security & Firewall, with integrated search and filter features
Code highlight with line numbers, when editing configuration files manually
Ability to embed custom logo, styles and scripts
Unprecedentedly convenient and complete navigation, with no difference among desktop/mobile versions
Dismissable page loader
Basic screen-saver effect, after 2 minutes of inactivity
Video Screencast
http://www.youtube.com/watch?v=f_oy3qX2GXo

can the fast report toolbar icons be completely replaced?

I'm working with fast report and I would like to change their default preview toolbar.
I need to replace some of the icons with icons of my own, and I need the ability to add my own custom buttons.
I looked at this thread from their support.
It mentions how to just change the icons to other fast-report provided icons, but I need to put in custom icons and add new buttons.
Has anyone done this before? Or knows whether this is possibly with FastReport.
If you have the professional edition of fastreports you have access to the source code.
I have heard of people editing this and recompiling to create thier own custom preview window

Resources