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)
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
Reporter | ||
Comment 1•7 years ago
|
||
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
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Priority: -- → P2
Reporter | ||
Comment 2•7 years ago
|
||
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.
Reporter | ||
Comment 3•7 years ago
|
||
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.
Reporter | ||
Comment 4•7 years ago
|
||
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.
Reporter | ||
Comment 5•7 years ago
|
||
There is also a way to do this with React components: http://www.callumhart.com/blog/building-interface-previews-with-react
Reporter | ||
Comment 6•7 years ago
|
||
Facebook's markup: https://codepen.io/devinmcinnis/pen/jbZQZX
Updated•7 years ago
|
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
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 7•5 years ago
|
||
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
Comment 8•4 years ago
|
||
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)
Comment 9•4 years ago
|
||
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.
Description
•