Open Bug 2097493 Opened 4 days ago Updated 3 days ago

Add a collapsed version of moz-widget

Categories

(Firefox :: Widgets, task)

task

Tracking

()

ASSIGNED

People

(Reporter: fchasen, Assigned: fchasen)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

When a generate widget is added to new tab (enabled) the content isn't shown in the sidebar anymore but still needs to show the header with the title.

Also needs an action to remove from new tab (disable)

The collapsed version should be a new size, with the widget header component and no slot, browser or iframe element.

Adds a collapsed property to moz-widget that draws only the header and menu button. The widgets sidebar collapses widgets that are on New Tab and adds a "Move to sidebar" button to their header.

The collapsed card removes its frame and creates a new one when expanded. Its header title shows as body text, the "Move to homepage" and "Move to sidebar" buttons include the widget's name in their accessible names, and focus moves to the frame or the "Move to sidebar" button after a move.

Assignee: nobody → fchasen
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: