Closed Bug 663309 Opened 14 years ago Closed 14 years ago

Messages about cancelled/restarted no longer automatically disappear

Categories

(Tree Management Graveyard :: TBPL, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: heycam, Assigned: mstange)

References

Details

(Keywords: regression)

Attachments

(1 file)

It used to be that the yellow status box at the top of the page would hide itself if none of the messages required explicit dismissal (e.g. errors) or were "Loading..."-type messages. Now, it stays permanently. That means if I cancel some builds it will stay until I reload the page. If I cancel a few in a row, then the status box will grow tall and obscure useful parts of the page, at which point I have to reload to continue using the page.
I have the same issue but it actually happens only with the rebuild/cancel messages. Other ones are working correctly. Thanks for opening that bug, I've been too lazy to do it before :)
OS: Mac OS X → All
I broke this in bug 659705.
Assignee: nobody → mstange
Blocks: 659705
Status: NEW → ASSIGNED
Keywords: regression
Attached patch v1Splinter Review
I think when I broke this I was thinking that "loading" and "error" were the only used message types because I hadn't caught that some messages get an empty type when _makeStatusCallback is called without the type argument. I've added a comment.
Attachment #538560 - Flags: review?(cam)
Comment on attachment 538560 [details] [diff] [review] v1 LGTM. The use of `querySelector() != null` is better than the original `querySelectorAll().length != 0`, too.
Attachment #538560 - Flags: review?(cam) → review+
Depends on: 663655
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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: