Closed Bug 246431 Opened 20 years ago Closed 20 years ago

Add "New Bookmark" to the bookmarks context menu

Categories

(Firefox :: Bookmarks & History, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: deanis74, Assigned: deanis74)

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file, 1 obsolete file)

I thought I'd seen a bug about this before, but I can't find it now.  I don't
see any sense in having a New Folder context menu item in the Bookmarks Sidebar
and Manage Bookmarks and not having New Bookmark.  I create many more bookmarks
than bookmark folders, as I'm sure does the average user.  Creating a bookmark
is also very context-sensitive as the position of the right-click dictates where
to create the bookmark, either in relation to the currently-selected bookmark or
in the selected folder.
Flags: blocking1.0?
Summary: Add "New Bookmark" to the bookmarks sidebar → Add "New Bookmark" to the bookmarks context menu
Would be nice to have, but not blocking 1.0. Dean, I bet you could easily make a
patch for this and drive it in ;)
Flags: blocking1.0? → blocking1.0-
This patch:

1. Adds "New Bookmark" and "New Separator" items to the bookmarks context menu
2. Adds an ellipsis to "New Separator" (don't ask me why I needed to do that in
two places)
3. Fixes bug 204406 by changing the access key for New Folder from 'F' to 'L'.
Assignee: p_ch → dean_tessman
Status: NEW → ASSIGNED
Comment on attachment 152082 [details] [diff] [review]
cvs diff -u mozilla/browser/components/bookmarks

Here it is, Blake.  How about a review?
Attachment #152082 - Flags: review?(firefox)
Requesting blocking-aviary1.0 again now that there's a patch.
Flags: blocking-aviary1.0- → blocking-aviary1.0?
Comment on attachment 152082 [details] [diff] [review]
cvs diff -u mozilla/browser/components/bookmarks

The one thing I'm not sure I like about this patch is exposing the New Separtor
(and its dialog with the label) even more.

Unless separator labels are going to work in the BTF and bookmarks menus, I'm
thinking we should hide/disable the UI to add the labels.

Otherwise this looks fine.  r=me, for now, and I'll have to talk to ben about
the separator label stuff.
Is it the New Separator menu item or just the actual dialog that you don't like?
 For now, while the label UI is in there, at least this patch indicates that an
intermediate dialog is going to appear, via the added ellipsis.
Comment on attachment 152082 [details] [diff] [review]
cvs diff -u mozilla/browser/components/bookmarks

go ahead and land this as-is, I'll kill the ellipsis when I fix bug 230370
(once someone fixes bug 236696, we can revisit that)
Attachment #152082 - Flags: review?(firefox) → review+
Mike, I won't be around my build machine for the next few days.  Any chance you
could check this in for me?
sure, no problem.

I think I'll drop the ellipsis stuff before I check in though.
Only if you drop the dialog at the same time.  Otherwise the ellipsis should be
there to indicate to the user that there's an additional step before the
separator is created.
that's the plan, of course :)
Fixed on branch alongside bug 230370.  This is what was checked in.  Still need
to fix this on the trunk when it opens.
Attachment #152082 - Attachment is obsolete: true
Adding fixed-aviary1.0 keyword per comment #12
Keywords: fixed-aviary1.0
I missed one case.  Mike, can you give me the go-ahead to check in this change
tonight?

-    case "BookmarkSeparator":
-      commands = ["bm_newfolder", "bm_separator", 
+      commands = ["bm_newbookmark", "bm_newfolder", "bm_newseparator",
"bm_separator",
r/a=me on that added bit.
Fixed on trunk and branch.  (The trunk was open when I checked in - honest!)
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Flags: blocking-aviary1.0?
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: