Open
Bug 2095272
Opened 9 days ago
Updated 9 days ago
Show a native notification when widget creation finishes and sidebar is closed
Categories
(Firefox :: Widgets, task)
Firefox
Widgets
Tracking
()
NEW
People
(Reporter: fchasen, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [hnt][hnt-wattle])
Widgets keeps being created after the panel closes, so we need to alert a user who closed all sidebar that the widget is ready or that it failed.
When a creation ends and no window shows the viewWidgetsSidebar, we should show a native OS notification using nsIAlertsService.
Clicking on the alert opens the widget sidebar in the top window. If the generation failured, the error placeholder should show with Try again.
- A widget that is successfully should show a generic "ready" text and on failure should say something like "couldn't be created".
- A cancel (
AbortError) shows nothing. - No notification is shown while any window has
SidebarController.currentID == "viewWidgetsSidebar".
Updated•9 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•