Saving Bytes Every Page - Or, How I Learned To Stop Worrying And Enhance Search

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Quote
So, really, it's hard to say that it can be put into Wedge's official package 'as is'...
I already made us some arty stuff by making a new font, maybe I need to make new smileys too!
Quote
I'm not a huge fan of text links, really it depends on what you want to do, and whether you find a suitable alternative.
Neither am I, but let's try it and see where we go from there.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Was thinking along the line of link tree type thing , don't know on the side panel, again possibly a future plugin or widget thingy!

I maybe able to generate an HTML template for this link tree! in the morning or tonigth, depends on my meds!

regards,
maxx
Posted: March 1st, 2013, 12:28 AM

But then again, you have the quick access drop down?

regards,
maxx

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082

Something that comes to mind in the SMF simple and advanced search is that the simple search will deend on what page or section of the form you are in while search, and the advanced seach, will search the complete sites database.
 
I know your saying Duh!, but some may not realized this, ( the member and or Visitor ) so this where Arantor's idea is very relivant in the consolidation of the search, why not just go direct to the complete site search to start with,this way your user will find the item or rev number they are looking for right off. Makes for user friendliness!

Simple is a good thing!

regards,
Maxx

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Quote
Something that comes to mind in the SMF simple and advanced search is that the simple search will deend on what page or section of the form you are in while search, and the advanced seach, will search the complete sites database.
Nope. You're confusing simple search and quick search. Quick search is the thing on every page.

Simple search and advanced search are a very separate beast. On an SMF install, Admin > Forum > Search > Settings > Enable simple search. Then go to the search page, you'll see only a very tiny thing, plus a link to the 'advanced' search.

I've stripped out the separation, so there's quick search and advanced search only.

You're right, in that quick search will limit to what it does based on where you are, and this is also something I'm going to fix, but not right now.


Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Just to clarify, the latest SVN has a popup, which looks like the attached.

I haven't tested on mobile but I can imagine this could cause trouble (since tapping the textbox should give the textbox focus).

I have to admit, I'm not sold on the on-hover aspect from a usability point of view, it's not clear that you have to do it to bring up more complex behaviour, but I could see the advantage if more options were available inline, like XenForo does (though they do it based on focus of the textbox IIRC)

I think I will need to experiment with the search dropdown though, even with this addition.

📎 search_popup.png - 8.11 kB, 384x146, viewed 145 times.


Nao

  • Dadman with a boy
  • Posts: 16,082
I know, there's no easy solution. The xF version looks great, but it also adds 2 kilobytes of HTML, so I thought about doing it in Ajax, but it requires refactoring the search template, and I don't really have time for this this week (I think.) (Then again maybe I'll do it in ten minutes..)
I originally wanted to do the mini-menu popup, and only on focus, but failed on both accounts, so I took the easy way out, ah ah...
Warm search box is also broken, BTW, because of the difference in alignment (left sidebar) and color (left sidebar and bottom sidebar.)
I'll need to fix that...

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Quote
but it requires refactoring the search template, and I don't really have time for this this week (I think.) (Then again maybe I'll do it in ten minutes..)
Eh, don't refactor it, just create a small version that contains what's needed for that - you couldn't stick the entire board listing up there for example and load it AJAXively.

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278