[Sections Personalization] Context menu
Categories
(Firefox :: New Tab Page, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: thecount, Assigned: npypchenko)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
The sections need a context menu with a block section menu item. There is a component for context menus, but we need to add a new item in https://searchfox.org/mozilla-central/source/browser/components/newtab/content-src/lib/link-menu-options.mjs
The follow work is also going to add a conditional unfollow button to the context menu, not needed to happen in bug 1932187.
Reporter | ||
Updated•8 months ago
|
Reporter | ||
Updated•8 months ago
|
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Comment 1•8 months ago
|
||
Updated•8 months ago
|
Comment 4•8 months ago
|
||
I've verified this task on the latest Nightly 135.0a1 build (build id: 20241212095112), on macOS Sequoia 15.0.1, on Windows 11 x64 and on Ubuntu 22.04 x64. Putting on enabled the following two prefs: "browser.newtabpage.activity-stream.discoverystream.sections.enabled" and "browser.newtabpage.activity-stream.discoverystream.sections.personalization.enabled”, the Context menu is coming on the page, but I've noticed two things:
- The context menu opens sideways, while in the Figma it appears to open downwards. What's the intended behaviour?
- In the Figma, if the status is "Following" for one section, the context menu contains two options: "Unfollow Topic" and "Block". Currently, in the latest Nightly 135.0a1 build, the Context menu has only one option: "Block". (please see the attached screenshot). Is this the desired behaviour?
Comment 5•8 months ago
|
||
Reporter | ||
Comment 6•8 months ago
|
||
Yeah this work was just for the context menu itself.
It still have some work.
See bug 1936618 and bug 1932187.
Comment 7•8 months ago
|
||
Thanks for the answer, Scott.
In this case, I'll verify the whole behaviour when bug 1936618 and bug 1932187 will be closed.
Updated•8 months ago
|
Description
•