posting here because I don’t want to draw attention to myself

these don’t save, the save button does nothing:

  • [they/them]
  • [they|them]
  • [they\them]
  • [they-them]
  • [they_them]
  • (they/them)
  • (they|them)
  • (they\them)
  • {they/them}

even foreign brackets fail

  • 【they/them】
  • 〈they/them〉
  • 《they/them》
  • 「they/them」
  • 『they/them』
  • 〔they/them〕

non-brackets also fail, and look stupid

  • !they/them¡
  • #they/them#
  • Othey/themO

this one “saves” but never appears, and when I go back to settings it’s gone:

  • <they/them>

this one saves and appears, but I want brackets!

  • they/them

meanwhile, variants of he and she both work

it’s like they have some kind of regex filter lol

  • motherfucker [they/them, she/her]
    link
    fedilink
    English
    5
    edit-2
    2 years ago

    Edit: I have no idea where the 20-character limit is set in upstream Lemmy apparently, so you can ignore all of this.

    The database constraint on display names is in the persons table

    diesel::table! {
        person (id) {
            id -> Int4,
            #[max_length = 255]
            name -> Varchar,
            #[max_length = 255]
            display_name -> Nullable,
    

    Meanwhile, SaveUserResponse struct is here and doesn’t contain any annotations that would suggest the serialization or deserialization is doing anything funky.

    And the actual regex used on the client is ^(?!@)(.+)$. Nothing that should be negatively impacting your display name choice.

    Blind guess is it’s either a false positive on the slur filter or you hit a rate limit after an initial anomaly, but I’m not super familiar with the codebase (it’s laid out in a way that seems nice to work on, though).

  • HornyOnMain [she/her]
    link
    fedilink
    English
    21
    edit-2
    2 years ago

    Its possible that it’s just that the user name goes over the character limit because [they/them] uses so many characters

    Edit: yeah it seems like mycorrhiza [they/them] is 21 characters if I’m counting right, It’s probably just that the character limit is set to 20, try removing the space between the username and the [they/them] and see if that works

      • HornyOnMain [she/her]
        link
        fedilink
        English
        13
        edit-2
        2 years ago

        It seems like the change hasn’t federated over to hexbear yet but when I viewed it on your instance it looked fine. Federation works in mysterious ways so it’ll probably carry over soon <3

        • mycorrhiza they/themOP
          link
          fedilink
          92 years ago

          oh, I currently have no pronouns set because i haven’t decided how i want to fit into the character limit yet

      • motherfucker [they/them, she/her]
        link
        fedilink
        English
        132 years ago

        No need to be embarrassed. If it doesn’t have a useful error message, there’s not a whole lot you can do. Especially when you see people with longer display names wandering about

    • motherfucker [they/them, she/her]
      link
      fedilink
      English
      112 years ago

      “mycorrhiza [they/them]” is 22 characters. My display name with pronouns is way longer. Maybe they could make an account here and see if our pronoun picker works rather than manually setting them.

      • HornyOnMain [she/her]
        link
        fedilink
        English
        9
        edit-2
        2 years ago

        I’m pretty sure we have a massive character limit for the @'s we can set and pronouns aren’t included in that so ours can get really long, but lemmy.ml has quite a small character limit

        Edit: yeah I was just poking around with the pronouns settings and I think this is the largest set of pronouns you can get: “[none/use name, comrade/them]” which comes to 29 characters not even including the username itself (30 characters if you count the space between the @ and the pronouns)

        • GorbinOutOverHere [comrade/them]
          link
          fedilink
          English
          62 years ago

          I think this is the largest set of pronouns you can get: “[none/use name, comrade/them]”

          I like big PRONOUNS and I cannot lie, you other they/thems can’t deny, but when a they walks in with a itty bitty face and says “this is a comfortable space” you get SPRUNG