Commit message line/character count
Problem to solve
Wondering if your commit message meets repo requirements.
I love to use GitLab UI to make changes to a repo when I can. It's always quick, clean and integrated.
The most consistent negative moment when doing this is when I am writing a commit message to a repo that I know has commit requirements (like gitlab-ce/ee) and I have no idea how long my intended commit message is.
Target audience
Everyone can contribute
-
Parker, Product Manager, https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas#parker-product-manager
-
Delaney, Development Team Lead, https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas#delaney-development-team-lead
-
Sasha, Software Developer, https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas#sasha-software-developer
-
Devon, DevOps Engineer, https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas#devon-devops-engineer
-
Sidney, Systems Administrator, https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas#sidney-systems-administrator
-
Sam, Security Analyst, https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas#sam-security-analyst -->
Further details
Proposal
When I am working on desktop, IDEs will have a line:character
count. It would be great to see this in the GitLab commit message boxes.
In the bottom right you can see the cursor is on line 1, character 73. I will now know that this could be improved and will rethink it.
Addtionaly, something to consider for the future but not in the scope of this issue, the text changes color after 50 characters to indicate that I am over the recommended limit.
Permissions and Security
Documentation
What does success look like, and how can we measure that?
Add a line:character
count component to commit message textareas.
I'm thinking we probably don't need to add it anywhere except web IDE because I assume web IDE will replace single file edit at some point?