drill
drill copied to clipboard
DRILL-8180: Add Icons to Storage Plugin List
DRILL-8180: Add Icons to Storage Plugin List
Description
Documentation
This PR adds icons to the storage plugin list depending on the type of storage plugin. See screenshot below.

The logo gets its name from the plugin config file. So a plugin FooStoragePluginConfig would be required to provide an icon of approx 40px x 40px called Foo.png.
Testing
Tested manually
Nice touch. I see we don't always have transparent backgrounds and sometimes we have a visible block behind the rendered icon. Let me know if I can help out here by hitting them with the GIMP.
Nice touch. I see we don't always have transparent backgrounds and sometimes we have a visible block behind the rendered icon. Let me know if I can help out here by hitting them with the GIMP.
I would really appreciate that. I don't actually have image editing software on my machine, or experience with the GIMP. Also, if you don't like any of the icons, feel free to change.
Is it possible to add plugin pictures to specific storage plugin folders instead of adding it to the java-exec module?
I suppose so, but I'm not quite sure how you would do that. All the Drill REST server components (to include static resources) are contained in java-exec. Any ideas?
When running java application, resources from all places that are in class path should be accessible.