Closed Bug 93212 Opened 23 years ago Closed 16 years ago

find button in history sidebar (like in bookmarks sidebar)

Categories

(Core Graveyard :: History: Global, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: martin.macok, Assigned: Stefan.Borggraefe)

References

Details

Attachments

(3 obsolete files)

There is a "Find" button in Bookmarks sidebar which searches through bookmarks.

It would be nice to have this button also in History sidebar to search through
history. I know there is a "Tasks/Tools/History" but I think the button in
History sidebar is a good thing.
Status: UNCONFIRMED → NEW
Ever confirmed: true
argh.. take two at reassigning history bugs to new owner
Assignee: alecf → blakeross
Target Milestone: --- → mozilla0.9.6
Target Milestone: mozilla0.9.6 → mozilla0.9.7
OS: Linux → All
Hardware: PC → All
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.0.1
Summary: [rfe][ui] find button in history sidebar (like in bookmarks sidebar) → find button in history sidebar (like in bookmarks sidebar)
Attached patch Patch (obsolete) — Splinter Review
Adds a "Search..." button like in the Bookmarks sidebar and also a "History
Window" button that opens the stand-alone History window. The second button is
meant to be analogue to the "Manage" button in the Bookmarks sidebar.
Assignee: firefox → Stefan.Borggraefe
Status: NEW → ASSIGNED
Comment on attachment 157326 [details] [diff] [review]
Patch

Neil, what do you think?
Attachment #157326 - Flags: review?(neil.parkwaycc.co.uk)
Doesn't navigator.js already have a function to open the history window?
I think you should be able to access it using top.toHistory();
Attached patch Patch V2 (obsolete) — Splinter Review
Updated patch.

Neil was correct, that navigator.js contains a function to open the History
window already. However this function wasn't reachable from the History
Sidebar. This didn't even work when I included navigator.js into
history-panel.xul, because then the function toOpenWindowByType() wasn't
available from there.

So I decided to move toHistory() to tasksOverlay.js where toOpenWindowByType()
is already contained and to include this file into the History Sidebar. Now the
code to open the History window is reachable from all its users and doesn't
need to be duplicated.

Furthermore I did the same with the code that opens the Bookmarks Manager. For
the Bookmarks Manager there were already two funtions for opening it. One of
them, manageBookmarks(), caused bug 203400 which is fixed by this new patch,
too.
Attachment #157326 - Attachment is obsolete: true
Attachment #157326 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 157610 [details] [diff] [review]
Patch V2

Neil, see my explanation in comment 5.
Attachment #157610 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch Patch V2.1 [See comment 9] (obsolete) — Splinter Review
Fixed some minor bitrot.
Attachment #157610 - Attachment is obsolete: true
Attachment #171452 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #157610 - Flags: review?(neil.parkwaycc.co.uk)
QA Contact: claudius → history.global
Target Milestone: mozilla1.0.1 → ---
is this now INVALID since introduction of places + since there's a search field now?
Certainly the history portions are now unnecessary but the bookmarks portions are still needed to fix bug 203400. I'll post an unbitrotted patch there.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Attachment #171452 - Attachment description: Patch V2.1 → Patch V2.1 [See comment 9]
Attachment #171452 - Attachment is obsolete: true
Attachment #171452 - Flags: review?(neil)
Depends on: 203400
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: