← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1535779] [NEW] Unnecessary image module in Angular

 

Public bug reported:

Unless I'm misunderstanding something, it appears that the items in the
path:

./openstack_dashboard/dashboards/project/static/dashboard/project/images/

are unnecessary/vestigial.  It seems all such image-related features
should be in:

./openstack_dashboard/static/app/core/images/

The module that is currently in that unused directory specifies:
"horizon.dashboard.project.images" as its namespace; this shows itself
to be outdated as "horizon.app.core.images" is the proper namespace.

There are other items in a similar directory (.../dahsboard/project/)
that seem equally wrongly placed, but because that includes actual used
items, there may be more upheaval in moving, whereas there seem to be no
image-based features using "horizon.dashboard.project.images" ( find
openstack_dashboard/ -name "*.js" -exec grep -l
horizon.dashboard.project.images {} \; ).

** Affects: horizon
     Importance: Undecided
     Assignee: Matt Borland (palecrow)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1535779

Title:
  Unnecessary image module in Angular

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  Unless I'm misunderstanding something, it appears that the items in
  the path:

  ./openstack_dashboard/dashboards/project/static/dashboard/project/images/

  are unnecessary/vestigial.  It seems all such image-related features
  should be in:

  ./openstack_dashboard/static/app/core/images/

  The module that is currently in that unused directory specifies:
  "horizon.dashboard.project.images" as its namespace; this shows itself
  to be outdated as "horizon.app.core.images" is the proper namespace.

  There are other items in a similar directory (.../dahsboard/project/)
  that seem equally wrongly placed, but because that includes actual
  used items, there may be more upheaval in moving, whereas there seem
  to be no image-based features using "horizon.dashboard.project.images"
  ( find openstack_dashboard/ -name "*.js" -exec grep -l
  horizon.dashboard.project.images {} \; ).

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1535779/+subscriptions


Follow ups