Add a collapsed version of moz-widget
Categories
(Firefox :: Widgets, task)
Tracking
()
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.
| Assignee | ||
Comment 1•3 days ago
|
||
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.
Updated•3 days ago
|
Description
•