Open Bug 2089746 Opened 12 days ago Updated 11 days ago

Show a loading placeholder in framed widgets until they are ready

Categories

(Firefox :: Widgets, enhancement)

enhancement

Tracking

()

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [hnt][hnt-wattle])

A framed widget's page is visible while it loads, before it reports widget_ready, so users can see it half-drawn.

moz-widget should be able to cover its content with loading content from its host while the host waits for the widget, the same way the error slot (bug 2070691) covers it in the error state.

New Tab's FramedWidgetCard should use that to show a skeleton placeholder, like the story and Weather placeholders, until the widget is ready or in error. We'll use this for the Wrexham widget. After a number of seconds of not receiving the widget_ready message, we put the widget into the error state.

Whiteboard: [hnt][hnt-wattle]
Blocks: 2087516
Assignee: nobody → mconley

Mike, can you also include a test with a real 404 error as a follow-up to bug 2070691 please?

You need to log in before you can comment on or make changes to this bug.