It’s kinda cool that hash tags are turned into buttons but people tend to over use them to the point it’s just obnoxious. I also don’t find them very useful.

Clearly Tesseract is doing some kind of processing in order to do that, so would it be possible to add an option to just not show them?

Edit: I see there’s an option to enable hashtags, but turning that off still has the text version of them. That’s…slightly better but still kind of spammy. Can that be extended perhaps?

  • Admiral Patrick@dubvee.orgM
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 hours ago

    TL;DR: Can hastags be hidden? Yes with a “but”.

    There’s no dedicated field for hashtags; they’re just regex’d out of the markdown that makes up the post body and then processed to turn them into search links and style them. When you turn off the option to enable hashtags, you’re actually turning off the processing step that runs the regex pattern to find them. In that case, they’re still there as unstyled text in the post body.

    Since there is logic to detect them, in theory, yes they can be hidden. But here’s the “but” I mentioned:

    There’s no differentiation between inline hashtags such as I love #pancakes for breakfast and ones tacked onto the bottom of the post:

    I love pancakes!
    
    #Breakfast #Pancakes
    

    So if I added an option to hide / not render the detected hashtags, inline ones would be hidden too.

    e.g. I love #pancakes for breakfast would become I love for breakfast

    Truth be told, the hashtag detection logic is some of the most annoying code in this project (among other challenges, markdown used in posts also uses the hash symbol for headings so you have to differentiate lest headings become partial hashtags). I really, really do not want to add on to that to try differentiate inline hashtags.

    That said, it probably isn’t feasible to completely hide hashtags unless I change my mind on refactoring the hashtag detection logic (not likely but you never know!)

    I did see your post in Fediverse Memes (lol) so there is at least one thing I can offer: The version I have in dev has much more granular filtering capability. One such filter option is the ability to filter content by platform. This will allow you to hide posts/comments from users that are on specific software (e.g Mastodon).

    • Iced Raktajino@startrek.websiteOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      Thanks for the detailed answer. Disappointed but I get it. It sounds really complex and I’m sure there would be a bunch of edge cases.

      One such filter option is the ability to filter content by platform

      Ooh, that’s exactly what I was looking to do. Looking forward to that. Any ETA on when that will be ready?