Closed Bug 2089910 Opened 21 days ago Closed 10 days ago

Remove an uninstalled generated widget from the New Tab layout

Categories

(Firefox :: Widgets, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 2094315

People

(Reporter: nina-py, Assigned: nina-py)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

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

When a generated widget is uninstalled, remove its id from the saved New Tab widget layout and order, so no stale entry is left behind. Opting out of Labs and blocking AI leave widgets running, so there's no paused widget that should keep its place. This needs generated widgets to show on New Tab first (bug 2085192), and may fold into that bug.

Acceptance criteria:

  • Uninstalling a generated widget removes it from New Tab, with no empty slot or stale entry after a reload.
  • The other widgets keep their order and size.
  • Opting out of Labs and blocking AI leave generated widgets in place and running.
  • A test checks uninstalling a widget and then reloading New Tab.
Blocks: 2089915

The extension lifecycle is covered by the existing WidgetManager and extension feed, but generated widgets will need to be added to that in bug 2091210.

I'll add these criteria there.

Status: NEW → RESOLVED
Closed: 10 days ago
Duplicate of bug: 2091210
Resolution: --- → DUPLICATE
Duplicate of bug: 2094315
No longer duplicate of bug: 2091210

Bug 2091210 was meant to be the UI, added Bug 2094315 for the ExtensionWidgetsFeed part.

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