[openstack-dev] [horizon] [heat-dashboard] Horizon plugin settings for new xstatic modules

Xinni Ge xinni.ge1990 at gmail.com
Fri Mar 9 03:05:22 UTC 2018


Hello Horizon Team,

I would like to hear about your opinions about how to add new xstatic
modules to horizon settings.

As for Heat-dashboard project embedded 3rd-party files issue, thanks for
your advices in Dublin PTG, we are now removing them and referencing as new
xstatic-* libs.

So we installed the new xstatic files (not uploaded as openstack official
repos yet) in our development environment now, but hesitate to decide how
to add the new installed xstatic lib path to STATICFILES_DIRS in
openstack_dashboard.settings so that the static files could be
automatically collected by *collectstatic* process.

Currently Horizon defines BASE_XSTATIC_MODULES in
openstack_dashboard/utils/settings.py and the relevant static fils are
added to STATICFILES_DIRS before it updates any Horizon plugin dashboard.
We may want new plugin setting keywords ( something similar to
ADD_JS_FILES) to update horizon XSTATIC_MODULES (or directly update
STATICFILES_DIRS).

Looking forward to hearing any suggestions from you guys, and
Best Regards,

Xinni Ge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180309/5c689061/attachment.html>


More information about the OpenStack-dev mailing list