3

I changed my name on Meta Stack Exchange earlier today. I used 24 of the 30 allowed characters:

Mooseman is eating pizza

However, now on questions I have asked, and answers I posted or edited, it shows my name as

Mooseman is eating pizz

According to one source, 'pizz' is a shortened version of 'pizzicato', which is

a note or passage played by plucking strings

...but that's besides the point. Since 30 characters are allowed, and fewer than that are guaranteed to be visible...

I propose that the name div gets text-overflow: ellipsis; to provide an ellipsis after its truncated version.

7
  • So change your name... easy fix.
    – nicael
    Commented Dec 5, 2014 at 20:04
  • Not sure that would be an improvement in your case: i.sstatic.net/cx3uJ.png
    – Oded StaffMod
    Commented Dec 5, 2014 at 20:07
  • 8
    @Oded Sure it will be, pi is more tasty than pizz :P
    – nicael
    Commented Dec 5, 2014 at 20:07
  • 1
    What about: Mooseman's eating pizza ? (that suggested, I couldn't hazard a guess at what size pizza you ordered, given this question is 2 days old... Perhaps just a full name change to "Mooseman's ready to pop")
    – James
    Commented Dec 7, 2014 at 21:45
  • @James what is that ' doing there?
    – user213963
    Commented Dec 8, 2014 at 4:38
  • @James I have no objections to Mooseman's eating pizza, but I can't change my name on MSE until next month because of the 30-day waiting period.
    – Mooseman
    Commented Dec 8, 2014 at 12:50
  • 1
    @MichaelT It's replicating a space and an i, as in is.
    – James
    Commented Dec 8, 2014 at 16:33

1 Answer 1

11

It actually wouldn't require any JavaScript. They could easily fix that with CSS:

.user-info .user-details {
    text-overflow: ellipsis;
}

Personally I think it makes more sense to indicate that the name has been truncated, rather than just truncating and letting people wonder.

4
  • 11
    Now just need someone to test this on Safari to make sure it doesn't burn down your house.
    – Shog9 Mod
    Commented Dec 5, 2014 at 20:11
  • @Shog Now I am afraid to test it... Anyway, thanks for warning :D And, assuming my house is SE, ain't you afraid that it will blow up?
    – nicael
    Commented Dec 5, 2014 at 20:12
  • 1
    @Shog9 Seems to work fine. Commented Dec 5, 2014 at 20:20
  • @animuson This would be perfect; it just needs to be implemented.
    – Mooseman
    Commented Dec 6, 2014 at 17:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .