In https://github.com/mattermost/mattermost-server/pull/3186, maxlength
of 22 characters was added to the webapp nickname input element, but since nickname
field in database schema is 64 character long (checked on both mysql and postgresql, it should be 64 instead of 22 characters.
(this shouldn't matter, but I include this info for completeness)
Change this constant value to 64.
I asked our team about this here: https://community.mattermost.com/core/pl/8k73mu51tjyy98xaanaooeknbr.
@kenrick95 Responses from our team:
Does this help?
I see, but even then, having a 22-character nickname usually already entails that the display will be truncated in the LHS sidebar
A real use case that I faced in my company is that we often utilize this nickname field to indicate our out-of-office period. While using nickname field is not ideal, this is what we're currently have and some people who knows this 22-character limit that are only imposed on the front-end will remove the "maxchar" attribute so we can save more texts in it.
I understand that this "feature request" may not made it to the mattermost core as it may have big UX impact to the users. Hence, feel free to close this issue.
Thanks a lot!
@kenrick95 I see, an additional option that may help with communicating out-of-office times:
We are also planning for a feature that enables adding a custom status: https://mattermost.uservoice.com/forums/306457-general/suggestions/17728987-status-labels.
That feature request on user voice is exactly what is needed instead of "hacking" the nickname field. Thanks a lot!
Most helpful comment
@kenrick95 Responses from our team:
Does this help?