Closed Bug 1764098 Opened 3 years ago Closed 3 years ago

Save to Pocket button on cards broken if Pocket is turned off

Categories

(Firefox :: Pocket, defect)

defect

Tracking

()

VERIFIED FIXED
102 Branch
Tracking Status
firefox102 --- verified

People

(Reporter: thecount, Assigned: thecount, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

we have a pref to allow save to Pocket buttons above Pocket cards on newtab "browser.newtabpage.activity-stream.discoverystream.saveToPocketCard.enabled"

There is also a pref to turn off Pocket "extensions.pocket.enabled"

If Pocket is turned off we still display the save to Pocket button on cards, which is broken if you click it because there is no Pocket panel or Pocket save functionality.

Should turn off the feature if Pocket is disabled.

Blocks: 1764553

The severity field is not set for this bug.
:thecount, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(sdowne)
Attachment #9273068 - Attachment description: WIP: Bug 1764098 - Pocket newtab save to Pocket context menu items don't turn off if Pocket is turned off. → Bug 1764098 - Pocket newtab save to Pocket context menu items don't turn off if Pocket is turned off.

To test:

  1. set extensions.pocket.enabled to false
  2. load a newtab with Pocket stories.
  3. Click the ... menu on a Pocket story.

Expected: Should not have a save to Pocket option in the context menu from the ... menu.

Pushed by sdowne@getpocket.com: https://hg.mozilla.org/integration/autoland/rev/3ba127f471e9 Pocket newtab save to Pocket context menu items don't turn off if Pocket is turned off. r=gvn
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
QA Whiteboard: [qa-102b-p2]

Reproducible on Firefox 99.0 on Windows 10 x64. Verified as fixed on Firefox 102.0b4(20220605185654) and Nightly 103.0a1(20220606212503) on Windows 10 x64, macOS 11 and Ubuntu 20.04.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-102b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: