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

Bug #260468 reported by Māris Fogels on 2008-08-22
10
Affects Status Importance Assigned to Milestone
Launchpad itself
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) on 2008-08-22
Changed in launchpad:
importance: Undecided → Low
status: New → Triaged
Māris Fogels (mars) on 2008-08-25
Changed in launchpad:
importance: Low → Undecided
Curtis Hovey (sinzui) on 2009-10-09
tags: added: tech-debt
removed: cleanup
Curtis Hovey (sinzui) on 2009-11-06
Changed in launchpad-foundations:
importance: Undecided → Low
visibility: private → public
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers