LANThrax
Username: Password:  
Sign In
Sign Up Now
Forgot Password

Complaints/Bugs

Article Search

P!ay*
17-May-13 3:23 PM
512
LANThrax Loyalist LANThrax Fanatic Sheep I stood up, I got counted Spaced Out Forecaster LANThrax Extremist Bug Hunter Collector Salmon Elite Bug Hunter

Good placement of the text field and button, though the button should be slightly bigger. Would make sense to align the share article text with it. 

 

I'm currently thinking about how it would look, if there was simply a text field, search icon and share icon. (all on the right side)

 

How are the results exactly ordered? It's not by date/alphabetical/views/likes etc..

...
Osprey
17-May-13 3:33 PM
Trivia Adept Rocket Scientist Genius LANThrax Loyalist LANThrax Fanatic Eye For Detail LANThrax Extremist Noteworthy Eye For Detail Outstanding Eye For Detail Code Breaker Benefactor Code Breaking Master Lupin III Collector Spaced Out Sheep I stood up, I got counted Salmon Forecaster Poller

They are sorted by SQL Full-Text search rank. It is something I learned how to use just yesterday and have not yet figured out exactly how it works. When you make a search string, it brings back a list of records which match the search query and it gives a rank value according to the perceived relevance. I then sort by rank.

There is an annoying thing about the search, and it is only a matter of time until Bertugolu points it out (since we had it elsewhere). Pressing enter after entering the search string does not trigger the search and you have to manually click on the icon. I am researching a solution though.

PS: I multiplied the rank value by 3 for search results in the title, by 2 for search results in the intro and no multiplication in the article body (or link in case of shared articles). That way, if the keyword is found in the title, the article is given a higher rank.

PPS: Can you suggest an icon for the share feature?

...
P!ay*
17-May-13 6:29 PM
LANThrax Loyalist LANThrax Fanatic Sheep I stood up, I got counted Spaced Out Forecaster LANThrax Extremist Bug Hunter Collector Salmon Elite Bug Hunter

Yes the enter thing! I knew that I missed something when I wrote this :(

In fact when one enters, it refreshes the site.

 

Can you re-give me the link for the icon packs you use please :)

 

...
B.Theuma
18-May-13 8:56 AM
LANThrax Loyalist LANThrax Fanatic LANThrax Extremist Sheep Code Breaker Spaced Out Collector I stood up, I got counted Forecaster Code Breaking Master Bug Hunter Salmon Eye For Detail Noteworthy Eye For Detail Lupin III Outstanding Eye For Detail Elite Bug Hunter Trivia Adept

Thanks for the Search feature, I really like it :)

...
Osprey
18-May-13 9:32 AM
Trivia Adept Rocket Scientist Genius LANThrax Loyalist LANThrax Fanatic Eye For Detail LANThrax Extremist Noteworthy Eye For Detail Outstanding Eye For Detail Code Breaker Benefactor Code Breaking Master Lupin III Collector Spaced Out Sheep I stood up, I got counted Salmon Forecaster Poller

Thanks for the support guys!

Fixed the page refresh on enter key bug. Here is how:

http://www.aspsnippets.com/articles/disable-enter-key-in-textbox-to-avoid-postback-in-asp.net.aspx

Then set the enter key to trigger the search command:

http://www.codeproject.com/Tips/269388/How-prevent-Textbox-postback-when-hit-enter-key-in

Finally, I set the text box to "remember" the search string after the search results are displayed. This is in preparation for teh next step in the update - paging.

...
B.Theuma
19-May-13 10:19 PM
LANThrax Loyalist LANThrax Fanatic LANThrax Extremist Sheep Code Breaker Spaced Out Collector I stood up, I got counted Forecaster Code Breaking Master Bug Hunter Salmon Eye For Detail Noteworthy Eye For Detail Lupin III Outstanding Eye For Detail Elite Bug Hunter Trivia Adept

Looks like the green background is not exactly aligned with the outer border.


...