gitweb: Make search type a popup menu
PATCH 1/1 gitweb: Make search type a popup menu
This makes the multiple search types actually usable by the user; if you don't read the gitweb source, you don't even have an idea that you can write things like that there.
---
gitweb/gitweb.css | 2 ++ gitweb/gitweb.perl | 61 ++++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 47 insertions(+), 16 deletions(-)
gitweb/gitweb.css +2 -0
@@ -333,6 +333,8 @@ div.index_include { } div.search { + font-size: 12px; + font-weight: normal; margin: 4px 8px; position: absolute; top: 56px;
gitweb/gitweb.perl +45 -16
123 lines not on this page · raw message
Quoted 3 lines · Petr Baudis
This makes the multiple search types actually usable by the user; if you don't read the gitweb source, you don't even have an idea that you can write things like that there.
It is on one hand a good idea, for users who doesn't read gitweb sources. It is like "advanced search" in web search engines.
On the other hand it confirms the notion that search types are exclusive. Currently pickaxe search is exclusive with log message search, but it is not necessary. Search operators (now limited) and combining them gives great search power... or rather would give.
Signature · 3 lines
Jakub Narebski Warsaw, Poland ShadeHawk on #git