blowersearch: the last stand
BotB Academy Bulletins
 
 
206242
Level 25 Chipist
blower5
 
 
 
hello everyone. my fork of Jangler's beloved botbsearch is very very close to becoming the new search linked in the sidebar. I myself have been using it via a link redirector. It's working great! But I wanted to make this thread just to see if anyone had some feature request or magic coding efficiency I missed.

https://blower5.github.io/botbsearch/
https://github.com/blower5/botbsearch/
 
 
206299
Level 13 Chipist
ben
 
 
post #206299 :: 2024.12.29 2:19pm
  
  blower5 liēkd this
Nice work!

I just want to note that it looks like the tablesorter plugin doesn't play nice when there are many rows. Try this and see how it performs for you: https://blower5.github.io/botbsearch/?q=th&qtype=name&ftype=all . It hangs for me
.

Also, it looks a little funny on mobile
.
 
 
206303
Level 25 Chipist
blower5
 
 
 
post #206303 :: 2024.12.29 2:37pm
  
  ben liēkd this
I'll take a look at fixing the mobile layout. For your other issue: the search isn't really meant to answer the kinds of queries where large amounts of data is being handled (e.g. how many entries in every YEA VIDEOGAME were there? or, how many battles have OHB in the title) These are better solved with specific API calls (or SQL requests) ...and even then, in trying to answer these realistic example questions, tablesorter performs much better than the worst case 'th' list. I find tablesorter very fully featured and intuitive even if it struggles with large lists.

Thanks for helping improve my search!
 
 
206311
Level 29 Mixist
goluigi
 
 
 
post #206311 :: 2024.12.29 3:42pm :: edit 2024.12.29 3:43pm
  
  blower5 and big lumby liēkd this
when it's time to actually integrate with botb, would it be possible to autoload my current palette instead of having to manually type it in?
 
 
206314
Level 27 Chipist
agargara
 
 
 
post #206314 :: 2024.12.29 4:03pm
  
  blower5 liēkd this
Thanks Blower, Very Cool!

Feature request: would it be possible to have a column for the format for Battles and Entries?
 
 
206326
Level 25 Chipist
blower5
 
 
 
post #206326 :: 2024.12.29 6:10pm
  
  agargara liēkd this
goluigi: I don't think I'm allowed to read the botbrid cookie but that was the solution I was thinking of.

agargara: yes
 
 
206354
Level 29 Mixist
goluigi
 
 
 
post #206354 :: 2024.12.29 8:15pm
regarding the palette autoloader, i was thinking on the botb end we send the botbr's current palette ID too in the url (which is why i said "when it's time to integrate with botb")

this would only sync the palette if you go to bloogle from botb but that's probably going to be like 90%+ of requests anyway (as opposed to just directly going to the url)
 
 
206366
Level 25 Chipist
blower5
 
 
 
post #206366 :: 2024.12.29 9:20pm
  
  agargara liēkd this
updated with entry, battle, and botbr format/class icons
 
 
206435
Level 28 XHBist
Tex
 
 
 
post #206435 :: 2024.12.30 1:52am :: edit 2024.12.30 1:53am
Similarly, are you planning on replacing the info column with an icons column for thread searches? Maybe then, the info column could inform the number of posts instead.
 
 
206442
Level 25 Chipist
blower5
 
 
 
post #206442 :: 2024.12.30 6:55am
the api does not return reply count for threads. but I could add the thread icons
 
 
206478
Level 28 XHBist
Tex
 
 
 
post #206478 :: 2024.12.30 2:06pm
  
  blower5 liēkd this
Noticed you added the thread icons. They look neat.

Relatedly, if you could also add the lyceum (
) and the playlist (
) icons, then I think we'd have pretty much everything icon-wise covered.
 
 
206490
Level 25 Chipist
blower5
 
 
 
post #206490 :: 2024.12.30 2:58pm
Done!

I tried doing some sort of option that, when enabled, used some css magic to display all the icons in your palette colors, but I couldn't get it to work. More of a userscript-type feature anyway.
 
 
206491
Level 29 Hostist
puke7
 
 
 
post #206491 :: 2024.12.30 3:00pm
  
  RevvoBolt, retrokid104, kilowatt64, blower5 and big lumby liēkd this
jokes on you, blower!

your search is already in service!! :D
 
 
206493
Level 29 Hostist
puke7
 
 
 
post #206493 :: 2024.12.30 3:02pm
  
  retrokid104, goluigi, blower5 and Jangler liēkd this
PS... if I search "ass" there are many responses and some of them have very long names which break the layout
 
 
206498
Level 28 XHBist
Tex
 
 
 
post #206498 :: 2024.12.30 3:15pm
  
  dobra, roz, agargara, blower5, puke7 and Lasertooth liēkd this
Hey, blower:

 
 
206516
Level 31 Chipist
damifortune
 
 
 
post #206516 :: 2024.12.30 3:45pm
  
  Lasertooth, agargara, blower5 and puke7 liēkd this
search is looking so good!! thank you for putting in all this work
 
 
206550
Level 25 Chipist
blower5
 
 
 
post #206550 :: 2024.12.30 5:20pm
  
  kilowatt64, doctorn0gloff, puke7 and Lasertooth liēkd this
just fixed the ass page getting too large
 
 
206689
Level 29 Hostist
puke7
 
 
 
post #206689 :: 2024.12.31 1:20pm
  
  blower5 liēkd this
hell yeah - expert line breaks!

are there any other things that need to be searchable in the api?
 
 
206728
Level 25 Chipist
blower5
 
 
 
post #206728 :: 2024.12.31 2:55pm
it works great as is but if I get to request api features, in order:

threads are missing some sort of extra information for the far right column, post count would be great but date of most recent post might work as well (which exists but doesn't return for non-privileged users)

palettes aren't searchable, if they were a lot of old palettes could be rediscovered which would be cool

...other than that, I don't think there's anything left to catalog, really! Tags are already searchable but I'm not sure they should appear in search results.
 
 
206857
Level 25 Grafxicist
Webriprob
 
 
 
post #206857 :: 2025.01.01 12:22pm :: edit 2025.01.01 1:13pm
I changed the width of the body element to "fit-content" and moved the palette menu div below the logo div and it seemed to pretty much fix the mobile layout issue

edit: changing the width of the body element to 960px works as well, oops
 
 
206872
Level 25 Chipist
blower5
 
 
 
post #206872 :: 2025.01.01 1:49pm
  
  puke7 and Webriprob liēkd this
update: search has been made way more size responsive
 
 
206873
Level 25 Grafxicist
Webriprob
 
 
 
post #206873 :: 2025.01.01 1:52pm
  
  blower5 liēkd this
YESSS!!!! thank u a ton
 
 
206931
Level 31 Chipist
damifortune
 
 
 
post #206931 :: 2025.01.02 12:24am
bug report: sorting by the icon column seems to just sort them in "default" order rather than in a way relating to the icon column
 
 
207010
Level 25 Chipist
blower5
 
 
 
post #207010 :: 2025.01.02 2:23pm
Fixed. Now sorts by format / class / category
 
 
207011
Level 31 Chipist
damifortune
 
 
 
post #207011 :: 2025.01.02 2:28pm
thanks! working nicely now
 
 

LOGIN or REGISTER to add your own comments!