Closed
Bug 1377968
Opened 8 years ago
Closed 7 years ago
Hamburger menu > Library > Bookmarks is confusing, because there are no Bookmarks Menu/Bookmarks Toolbar/Other Bookmarks entry
Categories
(Firefox :: Toolbars and Customization, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox55 | --- | unaffected |
firefox56 | --- | wontfix |
firefox57 | --- | verified |
People
(Reporter: alice0775, Assigned: mikedeboer)
References
(Depends on 1 open bug)
Details
(Whiteboard: [photon-structure])
Attachments
(3 files, 1 obsolete file)
Reproducible : always
Steps To Reproduce:
1. Open Hamburger menu > Library > Bookmarks
Actual Results:
There are no Bookmarks Menu/Bookmarks Toolbar/Other Bookmarks entry.
Recent bookmarked one?
Expected Results:
I expected that it should be ordinary bookmarks menu.
Bookmarks Toolbar
Other Bookmarks
and Bookmarks Menu entry
OR It should be renamed "Recent Bookmarked" instead of "Bookmarks"
(Hamburger menu > Library > Recent Bookmarked)
![]() |
Reporter | |
Updated•8 years ago
|
status-firefox55:
--- → unaffected
status-firefox56:
--- → affected
Updated•8 years ago
|
Whiteboard: [photon-structure] → [photon-structure] [triage]
Updated•8 years ago
|
Whiteboard: [photon-structure] [triage]
Comment 1•8 years ago
|
||
Just adding here that this is effectively removing the bookmark menu functionality in Windows right now, since there is no permanently visible menu bar that the bookmark menu could be accessed from.
The fix is to add a "Bookmarking Tools" section to the Library>Bookmarks Area. Users looking for the Bookmarks Menu will quickly find a way to return it to their toolbar. This change can also help introduce users to the Bookmarks Toolbar, and the Bookmarks Sidebar.
See Attached Mockup:
Invision Mock can be seen here: https://mozilla.invisionapp.com/share/UXD0H9B8H#/248374032_Library_-_Bookmarking_Tools
Attachment #8896548 -
Attachment is obsolete: true
Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Iteration: --- → 57.1 - Aug 15
Flags: qe-verify?
Priority: -- → P1
Whiteboard: [photon-structure] [triage] → [photon-structure]
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8897037 [details]
Bug 1377968 - Add a tools section and subview to the Bookmarks subview inside the Library widget.
https://reviewboard.mozilla.org/r/168316/#review173546
Nice, almost there!
::: browser/base/content/browser-places.js:1939
(Diff revision 1)
> + viewNode.addEventListener("ViewShowing", () => {
> + for (let button of [...viewNode.getElementsByTagName("toolbarbutton")]) {
Sorry, I'm being dim - can you explain why we need to do this in a ViewShowing listener? Why can't we do it immediately?
::: browser/base/content/browser-places.js:1972
(Diff revision 1)
> + // Button is in the palette, so we can move it to the navbar.
> + let searchbarPlace = CustomizableUI.getPlacementOfWidget("search-container");
> + if (searchbarPlace && searchbarPlace.area == area) {
> + pos = searchbarPlace.position + 1;
> + } else {
> + pos = CustomizableUI.getPlacementOfWidget("urlbar-container").position + 1;
This adds it between the urlbar container and the flexible space, if any. That seems suboptimal - can you avoid doing that? :-)
::: browser/base/content/browser-sidebar.js:285
(Diff revision 1)
> * specified commandID. Otherwise the sidebar will be hidden.
> *
> * @param {string} commandID ID of the xul:broadcaster element to use.
> * @return {Promise}
> */
> - toggle(commandID = this.lastOpenedId) {
> + toggle(commandID = this.lastOpenedId, triggerNode) {
Please update the jsdoc here and below.
::: browser/base/content/browser-sidebar.js:395
(Diff revision 1)
> },
>
> /**
> * Hide the sidebar.
> */
> - hide() {
> + hide(triggerNode) {
And here.
::: browser/components/customizableui/content/panelUI.js:374
(Diff revision 1)
> + if (typeof aViewId == "string") {
> + viewNode = document.getElementById(aViewId);
> + } else if (aViewId.id) {
> + viewNode = aViewId;
> + aViewId = viewNode.id
> + }
> if (!viewNode) {
> Cu.reportError("Could not show panel subview with id: " + aViewId);
> return;
> }
Now that we have no more add-ons, can we just pass the view ID / view node directly to container.showSubView and not worry about whether it's a string or an ID? I think we can just move the viewNode line to the `else if` check for the `container` thing, and remove the `!viewNode` check.
Attachment #8897037 -
Flags: review?(gijskruitbosch+bugs)
Updated•7 years ago
|
Iteration: 57.1 - Aug 15 → 57.2 - Aug 29
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8897037 [details]
Bug 1377968 - Add a tools section and subview to the Bookmarks subview inside the Library widget.
https://reviewboard.mozilla.org/r/168316/#review173546
> Now that we have no more add-ons, can we just pass the view ID / view node directly to container.showSubView and not worry about whether it's a string or an ID? I think we can just move the viewNode line to the `else if` check for the `container` thing, and remove the `!viewNode` check.
We could, but I chose to not touch this code and pass the ID (string) after all, because it triggers the PanelMultiView reparenting logic, which we need and want here anyways. I can update _that_ logic to be smarter too, but that felt like scope-creep here.
Comment 10•7 years ago
|
||
mozreview-review |
Comment on attachment 8897037 [details]
Bug 1377968 - Add a tools section and subview to the Bookmarks subview inside the Library widget.
https://reviewboard.mozilla.org/r/168316/#review173990
Nice!
Attachment #8897037 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 11•7 years ago
|
||
Pushed by mdeboer@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/70729ad46076
Add a tools section and subview to the Bookmarks subview inside the Library widget. r=Gijs
Assignee | ||
Updated•7 years ago
|
Summary: Hamburger menu > Library > Bookmarks makes me confuse, because there are no Bookmarks Menu/Bookmarks Toolbar/Other Bookmarks entry → Hamburger menu > Library > Bookmarks is confusing, because there are no Bookmarks Menu/Bookmarks Toolbar/Other Bookmarks entry
Comment 12•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•7 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: gwimberly
Comment 13•7 years ago
|
||
Verified on Windows, Mac, and Ubuntu.
Comment 14•7 years ago
|
||
Too late for 56. Mass won't fix for 56.
You need to log in
before you can comment on or make changes to this bug.
Description
•