Skip to content

[FEAT] Add character length indicator for commit message summary and description inputs #293

Description

@YourAKShaw

Is your feature request related to a problem? Please describe

Yes. Most developers suggest that the commit message summary be no longer than 50 characters, and the description be limited to 72, even though the nature of git commits is 72 max for the commit title and inf for the description.

Describe the solution you'd like

While typing each of the message summary and description, if the live character count, like x/50 in the case of summary and x/72 in the case of description, is visible in the input box and gives a soft warning when someone exceeds the limit, still allowing the user to commit exceeding length message when required will be great. Adding a flair of redness, like how @twitter handles it for tweets will be pretty dope!

Describe alternatives you've considered

Sometimes when I need to be strict about the lengths, I type the text in an editor of choice, while keeping track of the character length, and copy paste it into the input box.

I prefer sticking to these conventions, the reason for conventional commits since it aids in better communication and DevX.

Additional context

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions