Updating webroot requires changes in _variables.scss

Bug #1481538 reported by Mathieu Gagné
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-horizon
Won't Fix
Undecided
Unassigned

Bug Description

To update OpenStack dashboard webroot, one now needs to update the $webroot variable found in _variables.scss:

    $webroot: "/dashboard";

Otherwise icons won't appear in the interface.

This limitation of Horizon is already tracked in an upstream #1478794.

However, I believe we should still update _variables.scss with the appropriate value so our users have a better experience.

Matt Fischer (mfisch)
Changed in puppet-horizon:
status: New → Confirmed
Revision history for this message
Eric Peterson (ericpeterson-l) wrote :

I believe this is no longer required with the introduction of this fix:

https://review.openstack.org/#/c/206592/

I'm not sure about the status of a backport fix, though

Revision history for this message
Eric Peterson (ericpeterson-l) wrote :
Revision history for this message
Eric Peterson (ericpeterson-l) wrote :

One thing that might need to be done is this:

When you change the webroot variable, the puppet module might need re-collect static files and run the compressor (in case the url changed).

See the optional steps described at https://github.com/openstack/horizon/blob/master/doc/source/topics/install.rst (step 4 currently). It seems appropriate to have a notification for when the local settings changes, to re-run those two steps.

Revision history for this message
Matt Fischer (mfisch) wrote :

we should ask for a backport for horizon, it is fixed upstream.

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

I'll mark this as Won't fix because the issue was resolved in Horizon itself by[1].

[1] https://review.opendev.org/c/openstack/horizon/+/206592

The webroot variable in included in local_settings thus any change of that parameter would trigger the compressor.

Changed in puppet-horizon:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.