Mattermost-server: WebApp: Provide the user feedback when creating a custom 'Category Name' that exceeds the character limit

Created on 9 Oct 2020  路  5Comments  路  Source: mattermost/mattermost-server

With the experimental sidebar enabled (System Console > Experimental > Features > Experimental Sidebar Features), the user has an option to create custom sidebar categories. There is a limit to the number of characters in the category name, and it would be nice to have better feedback that there's a character limit on the Category Name.

Current
We stop the user from adding more the 22 characters which feels odd, jarring, and confusing.

Proposed
Add a red border and negative character count to the end of the textbox based on the number of characters the user has exceeded. See the screenshot below for how this should work. If possible, the component added for this should be made reusable so that it can be used elsewhere in the app.

example screenshot


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-24635

AreEnd User Feature Medium Help Wanted TecReactJS

Most helpful comment

I see it's _Up For Grabs_ so, I'd like to take this on

All 5 comments

I'd be happy to take this one on!

I have asked a question in the mattermost channel regarding this issue ... please check it out if you get a chance https://community.mattermost.com/core/pl/j7icqw6db7r1mmrth6bdghqhwe

@esethna The Jira ticket was closed https://mattermost.atlassian.net/browse/MM-24635. Should this issue be closed too?

@amyblais sorry, mistake on my part closing the ticket, I reopened

I see it's _Up For Grabs_ so, I'd like to take this on

Was this page helpful?
0 / 5 - 0 ratings