Micro.blog

sod
sod

The Search Space BETA is out and ready to be installed! 🥳 My latest plug-in will help you in your quest to find long-lost posts and replies on your Micro.blog.

Thanks for testing, and good luck! If you get stuck, I'm here.

Screenshot of a search page. The word app is written in a text field labeled search posts and replies. Three suggestions are shown to the user: app apple, approved appear, and applicable. It's fast! The results are fetched in 0.06 seconds.

sod
sod

@JohnPhilpin @pratik @maique @skoobz @odd @manton @ArnoldHoogerwerf @pimoore @frostedechoes @cdevroe Pinging you here in case you won't see the post on your timeline. The Seach Space BETA is here. 👆

maique
maique

@sod Installing, thank you 🙂

Note: on GitHub, on the README file, there’s a small glitch, I think. Under “Do your first search” the URL mentions your other plug-in, Surprise Me.

sod
sod

@maique 🤦‍♂️ Thanks, it's fixed now. And thanks for checking out Search Space! 

maique
maique

@sod Thank you, installed already.

odd
odd

@sod Great! I think there is a wrong reference in the documentation, it reference “/surprise-me/“ instead of “/search-space/“, and I couldn’t just press “return” to start searching, I had to tap “Search”. Else it just works! 😊

maique
maique

@sod I’m the one that has to thank you for all the plugins already!

I do have a request though: I’m using Paper, dark, and the input field for the search is very discreet. When I start writing my search terms, the text color is black. Can’t read it properly. The “suggestion” color is great 🙂

odd
odd

@sod I get a not found on the link.

sod
sod

@odd Which one? The Search Space page on your blog is reachable at www.oddz.blog/search-sp...

odd
odd

@sod Yes, I meant the fist one in this conversation.

sod
sod

@odd The link to the plug-in page? Weird, it works for me. Do you end up on this URL? micro.blog/account/p...

sod
sod

@odd Thanks! @maique noticed the documentation blunder as well. 🤦‍♂️ It's fixed now. I'm aware of the return-problem in Safari; you have to double tap. 😁 Not sure yet if it's fixable. A single tap is all it takes in other browsers.

In reply to
odd
odd

@sod Aha! Safari is a bit opinionated.

sod
sod

@maique Haha, yeah, that's not a good look. I have to think about this one for a bit. Generally, I try to avoid shipping too much CSS in my plug-ins. Every theme is different, and if I try to fix this Paper-specific issue, I might mess up other themes.

What do you say, @amit, are you up for making input[type="search"] elements look good in the Paper theme? 🥺

maique
maique

@sod If that’s something I can fix with a little CSS on my end, I’ll do it, no problem with that…

vincent
vincent

@sod Super f*cking cool! Also love the use of datalist there! Nice job 👍

JohnPhilpin
JohnPhilpin

Screen Shot of Replies Search

@sod … it works .. Thankyou … now we just need to get the rest of the pages indexed … I will post a ticket to @help

sod
sod

@JohnPhilpin You're welcome! I'm curious as to why all these replies are missing. Please, let me know when the mystery is solved. 😊

odd
odd

@sod First time I used it it hadn’t indexed all, but later on it did. Don’t know why. (I just recently turned on replies in the admin panel).

sod
sod

@vincent Thanks! 🥰 And yes, having native support for suggestions and autocomplete is lovely. Unfortunately, I've had to implement too many custom versions before datalist was widely available in browsers. But no more! 😊

sod
sod

@odd It's hard to tell what it was. But if it's something you can recreate, I would love to take a look and figure out what's happening.

odd
odd

@sod I was awed by this tonight! I started to type “bar”, because I wanted to search for “barlind”, but then “bass barret” came up on the suggestions, and it was a post about one of my favorite bass players, Aston “Family Man” Barret (of Bob Marley and The Wailers fame).

odd
odd

@sod I don’t think I can, but if I see something out of the ordinary, I’ll be sure to notify you.

cliffordbeshers
cliffordbeshers

@odd @sod Okay, now I need to figure out how to add a search link to my design....

JohnPhilpin
JohnPhilpin

@sod Please ignore this reply - I am testing something.

JohnPhilpin
JohnPhilpin

@sod - ok - the rebuild you suggested seems to have partially worked - up to 91 pages of replies - but it has now stopped. I logged the issue with @help - meanwhile - what I do have is clearly working - marvellous work - thank you...

One enhancement request for the future - filter to search 'posts', 'replies' and 'posts and replies'.

I also note that despite creating a page to be added to the menu ... it isn't showing up ... that might be latency from micro.blog - but let's see what happens by tomorrow.

JohnPhilpin
JohnPhilpin

@odd this might be related to what I am hitting.

sod
sod

@cliffordbeshers You can do this using redirects. In the web client, go to Pages and tap New Page. Give it a title and paste the URL in the text area. (In your case, that's https://cliffordbeshers.micro.blog/search-space/.) Make sure Include this page in your blog navigation is checked and tap Add Page.

sod
sod

@JohnPhilpin Thanks! I will focus on performance improvement and bug fixing for a while now, but filters are definitely on the roadmap. 😊

cliffordbeshers
cliffordbeshers

@sod Thank you. I'd missed the New Page button.

amit
amit

@sod Oh I wasn't aware there is a problem with the search input field styling in the theme. Interesting. I would fix it for sure, if there is. // @maique

maique
maique

@amit On this particular plug-in, the text color is so dark that it’s nearly impossible to read. I haven’t even looked on the CSS file to try to figure out what I’d have to change, I can take care of that on my end if it’s easier.

amit
amit

@maique Ah, I get it now. I thought it was the search page that was broken. Anyway, you can try the below custom css for now -- this just brings it close to the search page styling. I will test this thoroughly before releasing it as a theme upgrade though. Hope this helps.

```

input[type=search], button{ background: #fff; padding: 0 12px; border: 2px solid #eee; margin-top: 20px; margin-bottom: 20px; border-radius: 17px; -webkit-appearance: none; }

input[type=search] { width: 270px; height: 34px; font-size: 13px; font-weight: 400; padding-left: 12px; }

```

sod
sod

@amit 🎉

odd
odd

@amit Thanks! Now I have Search-Space™ on www.auran.land too.

maique
maique

@amit Perfect, thank you so much. The fix worked great.