Closed Bug 1378746 Opened 7 years ago Closed 4 years ago

[meta] Provide and populate a skeleton screen for each tool's startup

Categories

(DevTools :: General, enhancement, P2)

51 Branch
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: miker, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

Attachments

(2 files)

The following video clearly illustrates the use of skeleton screens: https://www.youtube.com/watch?v=Rehw8L5Cl8M

Filter on EdgarMallory
All Tools

  - Going white -> grey -> dark grey -> white -> dark grey is bad and should be fixed before we add the skeleton:
    34ms  Toolbox Loads (blank white) with black top border
    100ms Toolbox turns grey
    400ms Toolbox goes darker and the main toolbar appears
    433ms Toolbar icons and buttons appear
    500ms Panel main area turns white.
    ...
    ???ms Back to dark grey
Blocks: 1378731
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Priority: -- → P2
It's possible to create skeleton screens using only CSS background properties and color gradients that simulate solids. The shimmer animation can be a regular CSS animation that moves one of the background layers, which is a color gradient with white in the middle, over the other layers.

As a bonus, you can use :empty pseudo-class selector so that the skeleton screen backgrounds only applies while the DOM element is empty, for example while fetching data to inject.

Here's an example:
http://codepen.io/oslego/pen/XdvWmd

This method does not require mutating the DOM with placeholder elements, therefore it keeps the code cleaner.
A skeleton screen done well is great in that the user doesn't realize there was a skeleton... they just think the page loads instantly.
Here is a codepen that has an example using empty:
http://linkis.com/codepen.io/oslego/pe/5dSlG

Obviously, each section should be able to contain :empty so the skeleton can be progressively populated but it is a good starting point.
Severity: normal → enhancement
Keywords: meta
Summary: Provide and populate a skeleton screen for each tool's startup → [meta] Provide and populate a skeleton screen for each tool's startup
Product: Firefox → DevTools

This bug has not been updated in the last 6 months. Resetting the assignee field.
Please, feel free to pick it up again and add a comment outlining your plans for it if you do still intend to work on it.
This is just trying to clean our backlog of bugs and make bugs available for people.

Assignee: mratcliffe → nobody
Status: ASSIGNED → NEW

The meta keyword is there, the bug doesn't depend on other bugs and there is no activity for 12 months.
:pbro, maybe it's time to close this bug?

Flags: needinfo?(pbrosset)

Fair to say that we're not going to be working on this now. This is, in theory, a good idea but there are no concrete plans to implement a solution for this right now. We can always re-open the bug later.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(pbrosset)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: