Open Bug 2094347 Opened 10 days ago Updated 3 hours ago

Add a button that adds a widget to New Tab

Categories

(Firefox :: Widgets, task)

task

Tracking

()

ASSIGNED

People

(Reporter: fchasen, Assigned: fchasen, NeedInfo)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 external file)

When a widget is focused in the sidebar, an "Add to New Tab" button should appear under it, which enables the widget when clicked.

Adds an "Add to homepage" button below the focused card in the widgets sidebar. It enables the generated widget so it shows on New Tab.

  • Shows the button while the card or the button has focus and the widget is disabled.
  • Wraps the button in a focusable element so a click on macOS keeps it shown.
Assignee: nobody → fchasen
Status: NEW → ASSIGNED
Attachment #9690173 - Attachment description: Bug 2094347 - Add an "Add to homepage" button to the widgets sidebar. r=mconley! → Bug 2094347 - Add a "Move to homepage" button to the widgets sidebar. r=mconley!
Pushed by mconley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/661126398214 https://hg.mozilla.org/integration/autoland/rev/caadda206147 Add a "Move to homepage" button to the widgets sidebar. r=mconley,fluent-reviewers,flod
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7509495b1afc https://hg.mozilla.org/integration/autoland/rev/e3a2565103dc Revert "Bug 2094347, Bug 2094315, Bug 2096724 - Add a "Move to homepage" button to the widgets sidebar. r=mconley,fluent-reviewers,flod" for causing bc tets failures at browser/extensions/newtab

Backed out for causing bc tets failures at browser/extensions/newtab
Backout Link
Push with failures
backfills
Failure Log
Failure line TEST-UNEXPECTED-FAIL | browser/components/widgets/tests/browser/browser_generated_widgets.js | test_an_uninstalled_widget_leaves_new_tab - Size kept - "undefined" == "medium" - got (void 0), expected "medium" (operator ==)

Flags: needinfo?(fchasen)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: