this post was submitted on 09 Jul 2025
59 points (100.0% liked)

hexbear

10494 readers
1 users here now

Hexbear Meta Community

Posts should be a a Proposal (idea for changing the site), Feedback (regarding non-technical aspects of the site, for technical please use https://hexbear.net/c/feedback), or Appeals (regarding admin/moderator actions).

Discussion regarding these will be within comments under the post, appeals and feedback that is resolve may be removed as well as duplicate posts.

The following behavior will result in mod action:

founded 5 years ago
MODERATORS
 

I do not enjoy seeing ignoramuses' several-paragraph-long rants about "tankies" when checking the front page. Ideally, it would be possible to disable only that type of tagline, while leaving other taglines be.

I don't know if other people have already proposed this — I can't imagine I'm alone in feeling this way, but I also can't easily find anyone else who's made this suggestion.

all 37 comments
sorted by: hot top controversial new old
[–] CrookedSerpent@hexbear.net 32 points 9 months ago (1 children)

"I do not enjoy seeing ignoramuses' several-paragraph-long rants about "tankies" when checking the front page. Ideally, it would be possible to disable only that type of tagline, while leaving other taglines be."

New tagline just dropped

[–] CptKrkIsClmbngThMntn@hexbear.net 22 points 9 months ago (1 children)

I completely agree. It feels like a lot of them were added at some high crest of drama between Hexbear and another online space, and 90% of them aren't funny or interesting in any way outside that context.

Also, most of them feel really petty, like we're trying super hard to prove that we're laughing at their stupidity. It doesn't give the impression that we're above the nonsense; it gives the impression that we're desperate for people to think we are.

[–] Kuori@hexbear.net 6 points 9 months ago (1 children)

10000-com a lot of them are honestly kinda embarrassing

[–] makotech222@hexbear.net 18 points 9 months ago (3 children)

Noted for next release, Ill at the very least add a collapsible.

I'm waiting until lemmy 1.0 drops before i start working on hexbear again; i reformatted my pc and don't have a working dev environment currently for rust/lemmy.

[–] Erika3sis@hexbear.net 7 points 9 months ago

Thank you so much!

[–] AernaLingus@hexbear.net 5 points 9 months ago (1 children)

Since you've worked on the site before, maybe you can point me in the right direction:

The function that actually creates the tagline (replacing CURRENT_YEAR, MOSCOW_TIME, and so on) seems to be hexbear_setupTagline, which is fed a random tagline from the taglines array):

Code block

return a.state.tagline = a.hexbear_setupTagline(
  null == (
    tagline = 0 === (
      taglineList = null != (r = null == (i = a.state) || null == (i = i.siteRes) ? void 0 : i.taglines) ? r : []
    ).length ? void 0 : taglineList.at(Math.floor(Math.random() * taglineList.length))
  ) ? void 0 : tagline.content
)
n.hexbear_setupTagline = function (e) {
  return e.replace(
    '<MOSCOW_TIME>',
    (
      o = new Date,
      r = o.getTime() + 60000 * o.getTimezoneOffset(),
      new Date(r + 10800000).toLocaleString().split(', ') [1]
    )
  ).replace(
    '<CURRENT_USER>',
    null != (
      t = null == (n = Nr.Instance) ||
      null == (n = n.myUserInfo) ? void 0 : n.local_user_view.person.name
    ) ? t : 'Someone'
  ).replace('<CURRENT_YEAR>', (new Date).getFullYear().toString()).replace(
    /<RANDOM:(\d+):(\d+)>/,
    (
      function (e, t, n) {
        return '' + (o = t, r = n, Math.random() * (r - o + 1) | 0);
        var o,
        r
      }
    )
  );
  var t,
  n,
  o,
  r
}

It's not necessary to understand this particular snippet, but I was wondering where the corresponding non-obfuscated code can be found (if it's publicly available). I checked the Hexbear GitHub but couldn't find it in the JS client repository or anywhere else, which seemed odd. Is its absence related to this open issue?

Not that it matters, but if you do end up playing around with any of this logic, you could replace the fiddly time math with the more elegant code used for the sidebar clock (to be fair to whoever wrote said fiddly math, the features used literally hadn't been implemented in Firefox yet when the site was born):

var date = new Date;
var moscowTime = Intl.DateTimeFormat(
  void 0,
  {
    timeZone: 'Europe/Moscow',
    timeStyle: 'medium',
  }
).format(date.getTime());

Thank you for your service (which, if I understand the changelog correctly, includes upstreaming taglines and custom emotes)! Open source development can be thankless work at times, but I appreciate the effort everyone puts in to keep this site running, rat-salute

[–] makotech222@hexbear.net 3 points 9 months ago (1 children)

It's in the lemmy-ui repo, on hexbear branch

[–] AernaLingus@hexbear.net 2 points 9 months ago

TIL that GitHub search only indexes the main branch! Didn't need it this time because you told me what branch to look in, but now I know how to efficiently search across branches for future reference thanks to this StackOverflow post; for instance, I could have found the file I was looking for using the following command

# Search all files and folders in all remote branches
git branch -r | awk '{print $NF}' \
    | xargs -P "$(nproc)" -I {} git --no-pager grep -n 'setupTagline' {}

Here's the relevant file, if anyone's curious:

https://github.com/hexbear-collective/lemmy-ui/blob/0ad34285aa653fc438af475afc927f48b2032612/src/shared/components/home/home.tsx#L1124-L1133

[–] SorosFootSoldier@hexbear.net 15 points 9 months ago (1 children)

Second this, some of the taglines take up a lot of space and it's distracting sometimes.

[–] PorkrollPosadist@hexbear.net 11 points 9 months ago (2 children)

Not a perfect solution, but if you use a browser plugin like uBlock Origin you can create a custom filter

[–] VILenin@hexbear.net 5 points 9 months ago

I’m going to log into your account and click “mark all as read”

[–] Muinteoir_Saoirse@hexbear.net 2 points 9 months ago

I didn't know about this, thank you :)

[–] Carl@hexbear.net 14 points 9 months ago* (last edited 9 months ago) (1 children)

tagging the taglines so people could filter them would be an undertaking, not that that means it wouldn't be worth doing although I personally feel like the taglines need a purge anyway down to just the top 10% or so.

[–] Erika3sis@hexbear.net 6 points 9 months ago

Maybe purge the taglines, then gradually reintroduce the purged taglines after checking them?

[–] prole@hexbear.net 12 points 9 months ago

Idk anything about the site design, but it probably wouldn't be too hard to make the text collapse for the longer taglines and have a button to expand it if the user wants to. Then just save that to the user profile. Or have a setting that can default it, idk how Lemmy works either. Why am I even commenting?

[–] starkillerfish@hexbear.net 11 points 9 months ago (1 children)

Would love to disable taglines. It messes a lot with accessibility

[–] PoY@lemmygrad.ml 7 points 9 months ago

alternatively, install a user script addon and just write a user script to remove them.. or use your ad blocker to block them

[–] spudnik@hexbear.net 6 points 9 months ago

I don't know if other people have already proposed this — I can't imagine I'm alone in feeling this way, but I also can't easily find anyone else who's made this suggestion.

https://hexbear.net/comment/6112292

It has bugged me for awhile. Really it's not that I abhor the complaint ones, I just wish they were waaaay less frequent than the creative, poignant or even funny shit post-y ones

[–] cinnaa42@hexbear.net 6 points 9 months ago

just get rid of the ones that are obnoxiously long tbh

[–] Damarcusart@hexbear.net 5 points 9 months ago

I think a tagline should be exactly that, a single line. Something relatively short and minor, not a whole paragraph. Maybe we should get some kind of "classic ~~dunks~~ bits of slop" comm going so people can share their favourites from back in the day, so they aren't forgotten.

[–] largerfather@hexbear.net 3 points 9 months ago

strongly pro tagline. that said, i’m sure some could be killt

[–] GnastyGnuts@hexbear.net 1 points 9 months ago

I'm in favor of getting rid of taglines entirely (archive them in a comm if you want), or at least getting rid of the long, multi-paragraph ones.