i created a CUBA app-component that you can use. It is in preview mode currently. Before releasing it “officially” i would like to get your feedback on it. It is open source (Apache 2 license) and you can find it on github:
If you have any thoughts on that, like bug, feature requests etc. i would love to hear from you.
I’ll just copy over the README.md so you get an impression on what it does:
CUBA Platform Component - Instant Launcher
This application component let’s you define launcher commands at runtime that can be directly executed via a search box.
Instant launcher uses rich-search under the hood. It adds a specific search result type to the search results of rich-search called Launcher Commands. Those Launcher Commands are configurations or scripts, that can be defined at runtime of the application.
…
Using the application component
The instant-launcher application component lets you define Launcher Commands at runtime that can be executed via a search box.
The following types of instant launchers are supported:
Screen Launchers
Script Launchers
Bean Launchers
A Launcher Command can execute any kind of business logic via a groovy script. For certain specific use cases, there are pre-defined Launchers like the Screen Launcher. Here are some example use cases:
opening the screen to create a new user
shortcut for running a specific report and starts the download of the file
the power users of your app will love you! @CubaPlatform app component: instant-launchers allows to assign Keyboard Shortcuts across the whole app in version 0.3.0. Grab it while it’s hot…
although CUBA 7.1. is now out for quite some time - still worth mentioning that instant launcher is now ready for 7.1 and it comes with a cool new addition: parameterize launcher commands. With that you can configure parameters that will be requested from the user and then passed into the launcher command:
With the new version your users are going to be as fast as “The Flash”
I just released instant-launcher 0.5.0 which brings CUBA 7.2.x support and “Instant launchers as Main Menu entries”.
In case your CUBA menus look like this: - no worries, Instant Launchers helps you to have top-level menu favorites - configured at runtime by your users!