Closed Bug 867325 Opened 11 years ago Closed 11 years ago

Stop hangs caused by the "add a comment" UI showing hundreds of bug suggestions

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(3 files)

eg on https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=f99593b42b28&jobname=WINNT 6.2 mozilla-inbound debug test mochitest-3

Easiest thing will be to just remove that part of the UI (ie: the bug numbers listed on the add a comment popup; the suggestions shown in the annotated log summary will be unaffected).
Attached image Screenshot
Attached patch Patch v1Splinter Review
Attachment #743787 - Flags: review?(mbrubeck)
Attachment #743787 - Flags: review?(mbrubeck) → review+
Depends on: 868376
In production.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attached patch FollowupSplinter Review
Turns out we needed a little bit of markSuggestedBug() left, so that the "many failure rows showing in the annotated summary, all of which have the same bug suggested" case correctly adds the star next to each, when toggling them via the annotated summary. My local testing did not happen to use oranges that had multi-suggestions like these, hence not spotting til it was in production.

Is only really an aesthetic fix, since the correct bug gets starred, but makes me double-take each time, so going to just land this.

I've intentionally not added back the parts of markSuggestedBug() that dealt with the suggestions in the "add a comment" popup, nor the this.updateAutoStarState() call, since it was actually a duplicate of the call made by the annotated summary onclick event (see SummaryLoader.js init()).
Followup in production; multi-selection of same bug number working again.
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: