Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

The reference shows the full usage of the custom dashboard loaders for Squirro dashboards.

...

It's not mandatory but we recommended developers give custom CSS class names to widgets that are being changed by dashboard loaders, this allows other developers to better understand what is being changed later on and gives you some additional specificity when changing css. See the image below available on all widgets. (Custom CSS Class Name)

...

To apply your loader to a dashboard you need to select it in the dashboard config. You can apply different loaders to different dashboards.

 

A Better Development Workflow

You can use when-changed to auto upload CSS and JS changes when you save file changes locally. Simply copy your squirro_asset command and use it with when-changed.

https://github.com/joh/when-changed