ObjectFormatterAPI classes shouldn't know about specific interfaces and the images they use.

Bug #260468 reported by Māris Fogels
10
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

The tales.ObjectFormatterAPI class has extensive knowledge of which images are associated with certain interfaces in Launchpad. This leads to extensive coupling between the class and the rest of the site.

The context objects themselves should supply an icon. ObjectFormatterAPI should use polymorphism to fetch the icons.

Māris Fogels (mars)
Changed in launchpad:
importance: Undecided → Low
status: New → Triaged
Māris Fogels (mars)
Changed in launchpad:
importance: Low → Undecided
Curtis Hovey (sinzui)
tags: added: tech-debt
removed: cleanup
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
importance: Undecided → Low
visibility: private → public
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.