"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
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:
People that are frequently making vague posts or comments.
People that are hostile, taking the least charitable interpretation or engaging in bad-faith
People that are maliciously trying to stir up drama
"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
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.
a lot of them are honestly kinda embarrassing
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.
Thank you so much!
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, 
It's in the lemmy-ui repo, on hexbear branch
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:

Second this, some of the taglines take up a lot of space and it's distracting sometimes.
Not a perfect solution, but if you use a browser plugin like uBlock Origin you can create a custom filter

I’m going to log into your account and click “mark all as read”
I didn't know about this, thank you :)
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.
Maybe purge the taglines, then gradually reintroduce the purged taglines after checking them?
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?
Would love to disable taglines. It messes a lot with accessibility
alternatively, install a user script addon and just write a user script to remove them.. or use your ad blocker to block them
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
just get rid of the ones that are obnoxiously long tbh
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.
strongly pro tagline. that said, i’m sure some could be killt
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.