Edit: Fixed typos, added alt text.

  • db0@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    11
    ·
    10 days ago

    Would be nice to have like a short name for communities, limited in size, but mods can still type anything.

    • 4am@lemmy.zip
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      10 days ago

      We have that. It’s called “Community Display Name”

  • grue@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    10 days ago

    Just truncate it at the first punctuation mark (or space if they try to game it by removing colons and hyphens).

    • Admiral Patrick@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      10 days ago

      I’ve been doing that for ages now: splicing it at : and - and using the first array element. It’s just annoying. That, and having to watch and account for false-positives (e.g. X: Files, Self-Hosted, etc). And some places it makes sense to show the full name, but it often still gets truncated in CSS depending on device width. Plus, some community display names don’t use that format :(

      Was trying a different approach this time around, and it clearly didn’t work out lol.

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    10 days ago

    In the app I’m using, I often have an ellipsis (“…”) at the end of shortened community names. I barely know what communities they are.

    • Admiral Patrick@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 days ago

      Yep, that’s the most common solution (I do that, too). Though I also do some “smart” splicing to try to detect the description part and cut that out, but it can’t cover all cases.