Closed Bug 571752 Opened 15 years ago Closed 15 years ago

Add History to the Firefox button menu

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 4.0b1

People

(Reporter: dao, Assigned: mak)

References

Details

Attachments

(1 file, 1 obsolete file)

History and Bookmarks aren't in the Firefox button menu yet and need to be added. I think Bookmarks was actually intended to be left out in favor of the bookmarks button. I don't know if there was an intentional change of course.
Perhaps Bookmarks button if managing and Firefox menu is for displaying them?
Maybe current Firefox button should be show current content of menu bar?
yeah, bookmarks entry does not look really useful once the bookmarks button comes to life. And I agree it should be left out. History is 2 clicks deep in this design, while is 1 click deep currently, I was somehow liking the double pan menu with history in the right part of strata40.
I guess somebody has to take this, assigning to me
Assignee: nobody → mak77
Attached patch patch v1.0 (obsolete) — Splinter Review
This adds the History menu, for now I've not added any icon since no item in the menu has icons, they can be easily added later, for now the goal seems to be functionality. I've not added the bookmarks menu for the reasoning in previous comments, bookmarks menu button patch is imo in a good enough shape to be reviewed and landed.
Attachment #451060 - Flags: ui-review?(shorlander)
Attachment #451060 - Flags: review?(dao)
Comment on attachment 451060 [details] [diff] [review] patch v1.0 >- <menuseparator id="endHistorySeparator" builder="end"/> >+ <menuseparator id="endHistorySeparator" >+ class="hideifemptyplacesresult" >+ builder="end"/> Underscores and hyphens are pretty common in classes, so I'd suggest something like hide-if-empty-places-result, to make this more easily readable. >+ <menu id="appmenu_history" >+ oncommand="this._placesView._onCommand(event);" >+ onclick="checkForMiddleClick(this, event);" >+ label="&historyMenu.label;"> >+ <menupopup id="appmenu_history_popup" >+ placespopup="true" >+ onpopupshowing="if (!document.getElementById('appmenu_history')._placesView) >+ new HistoryMenu(event);" >+ tooltip="bhTooltip" >+ popupsinherittooltip="true"> You could use this.parentNode instead of document.getElementById('appmenu_history'). Wouldn't the oncommand and onclick attributes make more sense on the menupopup node? Otherwise looks good to me, although I'd prefer someone who knows more about places to sign off on this. I don't think ui-review is needed here.
Attached patch patch v1.1Splinter Review
makes sense, addressed comments. The only other one who could sign-off this properly in our team is Mano, but I see him rarely these days. That said these changes are mostly boilerplate and I don't think they require all those checks. Even if I try to don't introduce regressions as a primary target, there is nothing we can't do to be 100% safe in any case.
Attachment #451060 - Attachment is obsolete: true
Attachment #451251 - Flags: review?(dao)
Attachment #451060 - Flags: ui-review?(shorlander)
Attachment #451060 - Flags: review?(dao)
Comment on attachment 451251 [details] [diff] [review] patch v1.1 >+ <menuitem id="appmenu_sanitizeHistory" >+ accesskey="&clearRecentHistory.accesskey;" I don't think we want the access key here, as the button is only accessible with the mouse.
Attachment #451251 - Flags: review?(dao) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a6
Summary: Add History and Bookmarks to the Firefox button menu → Add History to the Firefox button menu
What about the recently closed tabs feature?
tabs management entries should go to tabs menus as far as I know (not sure if contextual menus or all tabs, but they are not part of History).
Depends on: 572413
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: