horizon/releasenotes/notes/xstatic-settings-cleanup-8de0e2ba00fd43ec.yaml
Richard Jones 348069364c Re-work static_settings to clean up
This patch reduces duplication arbitrary directory choices for
xstatic package locations in the static directory.

It moves the xstatic configuration from the library into the
settings file, and the supporting functions move to
the openstack_dashboard.utils.settings module. Having the xstatic
module list in settings allows deployers to add new modules.

It standardises the paths the files are served from, reducing
potential conflicts.

It simplifies the interaction with the xstatic modules, and also uses
the new MAIN variable if present to determine the entry points used.

Since some of the xstatic packages were installed into special
snowflakes directories (not following a pattern) the references to
those (bootstrap_scss and font_awesome) have been fixed.

Change-Id: Ia5be0e96fff1a4ddd6058d6b030ddf96da4b46e7
2016-08-18 16:28:57 +03:00

12 lines
380 B
YAML

---
prelude: >
We now automatically determine the static folder
location for xstatic packages being used by Horizon.
upgrade:
- Many Javascript files have moved to new locations
in the horizon/lib static folder. Previously
the locations of some files were hard-coded but
now the locations are determined automatically
based on the xstatic package name.