1

1

I requested this during the 7.0 beta and someone said it was too late to make it into the release but it'd still be very useful to be able to star/unstar an item from the popup that appears when you hover over a case number.

This saves having to open a full page just to tick it, and ultimately reduce traffic to your servers (with FoD), and save the world due to less carbon emmisions :p

flag

2 Answers

3

If you'd like this functionality, you can add the following BugMonkey script:

name:        Star cases from case popups
description: Star a case from the popup that appears when you hover on a case ID
author:      Daniel LeCheminant
version:     1.0.0.0

js: 

if (!window.IdPop) return;

IdPop.show = (function(fnOld) {
   return function() {
      var sixBug = $("#caseIdContent").find("a.headline-inverse").text();

      var ixBug = /\d+/.exec(sixBug)[0];
      var a =
         $('<a title="Toggle star" src="javascript:void(0)"/>')
         .addClass("starEmpty")     
         .css("margin-right", "2px")
         .prependTo("#idAreaProject");

      var img = $('<img alt="*"/>')
         .css("vertical-align", "middle")
         .attr("src", StaticContentUrl("images/clear.gif"))
         .appendTo(a);

      FavoritesIcons.register(img[0], 'Bug', ixBug, 1, false);

      fnOld.call(IdPop);
   }
})(IdPop.show);

which will make your popups look like this:

Favorites star in popup

link|flag
Thanks, that works for me. It'd still be nice to see this done natively though. – Deanna Earley Sep 13 2010 at 10:12
1

Is this really necessary, seeing as you can already select "Starred" as one of the columns to display in your filter?

alt text

link|flag
1 
I think the popups that matter more are not the ones off of the case-list page, but the ones that you get on all other pages when you hover over a case # (ie. within a case-view page) – cdeszaq Sep 10 2010 at 13:41
1 
As cdeszaq said, the popup can appear on hovering over any case ID, not just the search result, i.e.: "See also case...", "Working on case ...", Parent/Child cases, Case links, among many others :) – Deanna Earley Sep 10 2010 at 13:57

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.