Closed
Bug 491521
Opened 15 years ago
Closed 15 years ago
[Extension] Comment icon in wrong spot
Categories
(addons.mozilla.org Graveyard :: Collector Extension, defect)
addons.mozilla.org Graveyard
Collector Extension
Tracking
(Not tracked)
VERIFIED
FIXED
BW-M6
People
(Reporter: fligtar, Assigned: kinger)
Details
The comment icon is meant to indicate that an add-on has comments associated with it without having to expand that add-on's listing. The icon should be visible when the extension is collapsed. See https://bug481149.bugzilla.mozilla.org/attachment.cgi?id=365252 for example placement.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → brian
Assignee | ||
Comment 1•15 years ago
|
||
So it needs to go just to the left of the 'Added' text and time?
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•15 years ago
|
||
Dave, A question re: bandwagon.xml Is setAddon called from a collapsed add-on in the list? If so, does it have comments available in the addon passed in? Seems like not, but I just want to confirm if it should or not. I need a way for collapsed add-ons to determine if they have comments or not.
Comment 3•15 years ago
|
||
(In reply to comment #2) > Is setAddon called from a collapsed add-on in the list? If so, does it have > comments available in the addon passed in? Seems like not, but I just want to > confirm if it should or not. The expanded add-on is no different to collapsed add-on, it just extends it to have a different layout. They are both initialized with the same add-on object (setAddon is called by the constructor). Containing the object variables needed for both collapsed and expanded display.
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3) > The expanded add-on is no different to collapsed add-on, it just extends it to > have a different layout. > > They are both initialized with the same add-on object (setAddon is called by > the constructor). Containing the object variables needed for both collapsed and > expanded display. Right you are, but each state has different content. What was happening was that document.getAnonymousElementByAttribute(this, 'anonid', 'commentbox') in setAddon does not exist for collapsed add-ons, so code put after that line did not execute. I put the icon code before it, but also added a check for the existence of the box. Fix checked in, revision 25338.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•14 years ago
|
Component: Collections → Collector Extension
Updated•14 years ago
|
QA Contact: collections → collector-extension
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•