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

hexbear

10445 readers
23 users here now

Hexbear Proposals chapo.chat matrix room.

This will be a place for site proposals and discussion before implementation on the site.
Every proposal will also be mirrored into a pinned post on the hexbear community.

Any other ideas for helping to integrate the two spaces are welcome to be commented here or messaged to me directly.

Within Hexbear Proposals you can see the history of all site proposals and react to them, indicating a vote for or against a proposal.

Sending messages will be restricted to verified and active hexbear accounts older than 1 month with their matrix id in their hexbear user profile.

All top level messages within the channel must be a Proposals (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 nested threads under the post.

To gain matrix verification, all you need to do is navigate to my hexbear userprofile and click the send a secure private message including your hexbear username.

founded 4 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.

top 34 comments
sorted by: hot top controversial new old
[–] [email protected] 28 points 2 days 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

[–] [email protected] 9 points 2 days ago

Yeah it does start to get annoying after a while

[–] [email protected] 26 points 2 days ago (4 children)

Tbh I kinda feel like a bunch of them are just too long and should be removed. We could just condense these rants down to the one or two funny sentences that justified their inclusion. If that's not possible then to be honest, it isn't a tagline. (And to be honest, it probably isn't even funny.)

[–] [email protected] 15 points 2 days ago

Petition to move the long ones to a "shit liberals say" archive we can all see and enjoy (linked from front page).

[–] [email protected] 10 points 2 days ago (1 children)

the long ones are the funniest ones wtf

[–] [email protected] 5 points 2 days ago

I agree, I definitely don’t want the long ones removed those ones are all gold

[–] [email protected] 6 points 2 days ago

The long ones are only funny in contrast, and there should at most be one of them in the pool.

[–] [email protected] 19 points 2 days ago

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.

[–] [email protected] 15 points 2 days 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.

[–] [email protected] 5 points 2 days 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

[–] [email protected] 3 points 2 days ago (1 children)

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

[–] [email protected] 2 points 2 days 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

[–] [email protected] 5 points 2 days ago

Thank you so much!

[–] [email protected] 11 points 2 days ago* (last edited 2 days 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.

[–] [email protected] 4 points 2 days ago

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

[–] [email protected] 14 points 3 days ago (1 children)

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

[–] [email protected] 10 points 2 days ago (2 children)

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

[–] [email protected] 5 points 2 days ago

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

[–] [email protected] 2 points 2 days ago

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

[–] [email protected] 12 points 3 days 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?

[–] [email protected] 10 points 2 days ago (1 children)

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

[–] [email protected] 9 points 2 days ago (2 children)

Hugely important for site accessibility.

I mean, personally I love it when I pull up a website on my phone and have to scroll through two full screen lengths of irrelevant rambling before getting to the thing I want.

I'm sure screen reader users love it too! That's why Timecube was a beloved example of a highly accessible website, broadly cited by web designers as how to make your content usable and accessible, right?

[–] [email protected] 9 points 2 days ago (1 children)

Hexbears once again attacking the wrong thing (taglines) instead of the real space real-estate eater (pinned posts) oooaaaaaaauhhh

[–] [email protected] 8 points 2 days ago

I just collapse the pinned megas when I don't want to see them, and honestly if that was possible with a long tagline as well I'd be super happy to do so. Idk if that's possible, but I think I just stumbled into a very centrist solution

[–] [email protected] 6 points 2 days ago (1 children)

For screen readers it is possible to make entire elements automatically hidden/skipped or to label the tagline as a labelled group that is easy to move past (or drill down if you want to read it).

Consistency between exoeriences (screen reader vs not) is very important, so I would suggest doing the latter (skippable but present labelled tagline) or removing it altogether / moving it to a footer.

[–] [email protected] 5 points 2 days ago (1 children)

There is ARIA, which allows you to mark stuff, one of which is to skip (if I remember correctly. Tbh, I haven't used aria)

[–] [email protected] 3 points 2 days ago

Yeah aria provides a lot of tools. And role attributes are even better when appropriate.

[–] [email protected] 6 points 2 days 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

[–] [email protected] 6 points 2 days ago

just get rid of the ones that are obnoxiously long tbh

[–] [email protected] 3 points 2 days ago

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

[–] [email protected] 4 points 2 days 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.

[–] [email protected] 1 points 2 days 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.