Skip to content

Let's limit or truncate super-long user names #146

@cellio

Description

@cellio

Our tester has produced the following:

Comment:

comment w/10-line user name

Post:

long user name prevents usercard formatting on post

And the user page; note the size of the horizontal scrollbar:

very wide page

We should probably prevent that from rendering like that. I think we do have a reasonable-ish limit on the length of user names, but special character encodings might be in play here. I'm not sure what limitations make sense; maybe we can instead truncate where necessary? Is that possible? Can we, in the UI, give an element a bounding box and say "you must fit within this space", so the rest of the page displays ok?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: frontendChanges to front-end codecomplexity: easyIssues that should take limited effort to resolve/fix/build.hacktoberfestThis repo participates in Hacktoberfest. For suitable issues and Hacktoberfest-PRsmeta: good first issueGood for newcomerspriority: medium

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions