"Forget About This Site" context menu option missing from Firefox View history
Categories
(Firefox :: Firefox View, defect, P2)
Tracking
()
People
(Reporter: ke5trel, Assigned: rosemary.chukwuka.241793, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [fidefe-firefox-view][outreachy-sidebar-2026])
Attachments
(2 files)
STR:
- Visit
about:firefoxview#history. - Click the ellipses "..." for a page.
Expected:
"Forget About This Site" menu item appears like with history in Hamburger menu, Library (Ctrl+Shift+O) and old sidebar.
Actual:
Only "Delete from history" is available which clears individual pages but not entire sites.
Comment 1•1 year ago
|
||
The severity field is not set for this bug.
:sfoster, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•3 months ago
|
||
The new sidebar history panel has this functionality included here: https://searchfox.org/firefox-main/rev/7b1a35d6c70c08d2966c6c8dfc9aa9c04319f721/browser/components/sidebar/sidebar-page.mjs#171-188
We should add a new context menu option here with this functionality: https://searchfox.org/firefox-main/rev/7b1a35d6c70c08d2966c6c8dfc9aa9c04319f721/browser/components/firefoxview/history.mjs#241-267
Comment 3•3 months ago
|
||
To help Mozilla out with this bug, here's the steps:
- Comment here on the bug that you want to volunteer to help.
This will tell others that you're working on the next steps. - Download and build the Firefox source code
- If you have any problems, please ask on
Element/Matrix
in the#introductionchannel. They're there to help you get started. - You can also read the
Firefox Contributors' Quick Reference,
which has answers to most development questions.
- If you have any problems, please ask on
- Start working on this bug.
- If you have any problems with this bug,
please comment on this bug and set the needinfo flag for me.
Also, you can find me and my teammates on the#sidebarchannel on
Element/Matrix
most hours of most days.
- If you have any problems with this bug,
- Build your change with
mach buildand test your change with
mach test browser/components/firefoxview/tests/browser.
Also check your changes for adherence to our style guidelines by usingmach lint - Submit the patch (including an automated test, if applicable) for review.
Mark me as a reviewer so I'll get an email to come look at your code.- Getting your code reviewed
- This is when the bug will be assigned to you.
- After a series of reviews and changes to your patch,
I'll mark it for checkin or push it to autoland.
Your code will soon be shipping to Firefox users worldwide! - ...now you get to think about what kind of bug you'd like to work on next.
Let me know what you're interested in and I can help you find your next contribution.
| Assignee | ||
Comment 4•3 months ago
|
||
Hi! I'm Rosemary Chukwuka, an Outreachy applicant. I'd like to work on this bug. Could you please assign it to me? I'm excited to contribute to Firefox
| Assignee | ||
Comment 5•3 months ago
|
||
Hi! I'm Rosemary Chukwuka, an Outreachy applicant. I have submitted a patch for this bug to Phabricator:
https://phabricator.services.mozilla.com/D289065
Changes made:
Added forgetAboutThisSite() method to history.mjs
Added new panel-item to the context menu in panelListTemplate()
Please let me know if any changes are needed. Thank you!
| Assignee | ||
Comment 6•3 months ago
|
||
Added "Forget About This Site" context menu option to Firefox View
history (history.mjs).
Changes:
- Added forgetAboutThisSite() method to HistoryInView class
- Added new panel-item to panelListTemplate() context menu
This mirrors the existing functionality in sidebar-page.mjs
(lines 171-188) as suggested in the bug comments.
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Backed out for causing bc failures
| Assignee | ||
Comment 10•2 months ago
|
||
Hi! Thank you for letting me know. I'm looking into the test failures and will work on a fix. Could you point me to what exactly failed so I can address it?
Best regards,
Rosemary Chukwuka
Comment 11•2 months ago
|
||
NIing Nikki so she's aware of the backout and may assist
| Assignee | ||
Comment 12•2 months ago
|
||
Hi Kelly and Nikki! I've identified and fixed the issue. The forgetAboutThisSite function was missing the recordContextMenuTelemetry("forget-about-this-site", e) call, and there was no corresponding telemetry test. I've added both fixes and resubmitted D289065. Please let me know if any further changes are needed!
Best regards, Rosemary Chukwuka
Comment 13•2 months ago
|
||
Comment 14•2 months ago
|
||
Comment 15•2 months ago
|
||
Backed out for causing lint failures @firefoxview/history.mjs.
| Assignee | ||
Comment 16•2 months ago
|
||
Hi! I saw the lint failure in history.mjs and I'm working on fixing it right now. Will resubmit shortly!
Best regards,
Rosemary Chukwuka
Comment 17•2 months ago
|
||
Comment 18•2 months ago
|
||
Comment 19•2 months ago
|
||
Backed out for causing bc failures @browser_firefoxview_general_telemetry.js.
| Assignee | ||
Comment 20•2 months ago
|
||
Hi! I saw the backout. I'm looking into the telemetry test failure and will work on a fix. Could you share what exactly is failing in browser_firefoxview_general_telemetry.js?
Best regards, Rosemary Chukwuka
| Assignee | ||
Comment 21•2 months ago
|
||
Hi! I have fixed the browser_firefoxview_general_telemetry.js timeout by removing the duplicate context menu button click. Resubmitted D289065. Please let me know if any further changes are needed!
Best regards,
Rosemary
Comment 22•2 months ago
|
||
Comment 23•2 months ago
|
||
Comment 24•2 months ago
|
||
Backed out for causing bc failures @browser_firefoxview_general_telemetry.js.
| Assignee | ||
Comment 25•2 months ago
|
||
Hi Nikki! I found the root cause of the test failure. Adding "Forget About This Site" as a new menu item shifted the indexes of all existing panel items. I have updated the tests:
openInNewWindowOption: panelItems[1] โ panelItems[2]
openInPrivateWindowOption: panelItems[2] โ panelItems[3]
Please let me know if any further changes are needed!
Best regards,
Rosemary Chukwuka
Comment 26•2 months ago
|
||
Comment 27•2 months ago
|
||
| bugherder | ||
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Description
•