Modify

Opened 15 years ago

Closed 15 years ago

#3061 closed enhancement (fixed)

[PATCH] Add search to plugin preferences

Reported by: avarab@… Owned by: avarab@…
Priority: major Milestone:
Component: Core Version: latest
Keywords: patch Cc:

Description

The plugin preferences should have a search dialog like Advanced Preferences.

It should search in plugin names & descriptions and narrow down the list when it gets partial matches somewhere (like Advanced Preferences).

Attachments (4)

add-search-to-plugin-preferences.patch (6.3 KB ) - added by avarab@… 15 years ago.
A patch to add search to plugin preferences
plugin-search.png (92.6 KB ) - added by avarab@… 15 years ago.
Screenshot showing how this works
add-search-to-plugin-preferences-2.patch (5.1 KB ) - added by avarab@… 15 years ago.
An improved patch to add search to plugin preferences. Gives PluginSelection a copy of PluginPreference's txtField
add-search-to-plugin-preferences-3.patch (5.8 KB ) - added by avarab@… 15 years ago.
Final (hopefully) patch. Now search in local/remote versions too and code cleanup

Download all attachments as: .zip

Change History (7)

by avarab@…, 15 years ago

A patch to add search to plugin preferences

by avarab@…, 15 years ago

Attachment: plugin-search.png added

Screenshot showing how this works

comment:1 by avarab@…, 15 years ago

Owner: changed from team to avarab@…
Summary: Add search to plugin preferences[PATCH] Add search to plugin preferences

I've implemented this. See attached patch & screenshot.

It works, but it could probably be optimized more. The drawPanel() function that's now being called every time a character is put into the search box was only designed to be called when plugins were updated or a new list of them downloaded. Hence it calls loadPlugins() which is expensive.

But I'm too lazy to implement this & optimize it today. And waiting a few milliseconds for the list to update is still a whole lot faster than manually scanning the whole thing with your eyeballs in search of a plugin.

by avarab@…, 15 years ago

An improved patch to add search to plugin preferences. Gives PluginSelection a copy of PluginPreference's txtField

by avarab@…, 15 years ago

Final (hopefully) patch. Now search in local/remote versions too and code cleanup

comment:2 by avarab@…, 15 years ago

Keywords: patch added

I consider attachment:add-search-to-plugin-preferences-3.patch a patch ready to be applied. It works.

comment:3 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

(In [2147]) applied #3061 - patch by avar - search in plugin list

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain avarab@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.