Closed Bug 1379099 Opened 7 years ago Closed 7 years ago

Replace the Style Editor spinner with a top down animation

Categories

(DevTools :: Style Editor, defect)

51 Branch
defect
Not set
normal

Tracking

(firefox57 verified)

VERIFIED FIXED
Firefox 57
Tracking Status
firefox57 --- verified

People

(Reporter: miker, Assigned: ntim)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

A spinner is displayed for 600ms as sources are added to the list... spinners just tell a user they are waiting and make the interface feel slow.

The spinner should be removed and replaced by animating the files as they appear so that they "fold down" from top to bottom, which results in a far better perceived performance.

Filter on EdgarMallory
Component: Developer Tools → Developer Tools: Style Editor
Assignee: nobody → ntim.bugs
ntim: would you like somebody to review this?
Flags: needinfo?(ntim.bugs)
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #2)
> ntim: would you like somebody to review this?

Should be ready for review, though I'm not sure if this is what was wanted.
Flags: needinfo?(ntim.bugs)
Can you go to reviewboard and assign me as the reviewer and I will take a look? I think I am either miker or mikeratcliffe on reviewboard.

It looks good from what I can see but I will take a better look on Monday.

BTW: If you do this with your commit comment it is automatic:
Bug 1379099 - Replace the Style Editor spinner with a top down animation r?miker
Flags: needinfo?(ntim.bugs)
Flags: needinfo?(ntim.bugs)
Comment on attachment 8898475 [details]
Bug 1379099 - Replace the Style Editor spinner with a top down animation

https://reviewboard.mozilla.org/r/169828/#review180418

Looks great, r+
Attachment #8898475 - Flags: review?(mratcliffe) → review+
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/48bb34b7675c
Replace the Style Editor spinner with a top down animation r=miker
https://hg.mozilla.org/mozilla-central/rev/48bb34b7675c
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
I can confirm that it is working as described in comment 0 in Nightly 57.0a1 2017-09-02.

Having said that, now there's the disadvantage that you don't know when the style sheets finished loading and seeing a completely empty panel until the style sheets are loaded may not be much better than showing a spinner, IMO.
Though I don't have a strong opinion on this.

Sebastian
Status: RESOLVED → VERIFIED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: