Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !6385

Merged
Created Feb 22, 2014 by Administrator@rootOwner

Commit message textareas have 72 char mark line.

  • Overview 10
  • Commits 1
  • Changes 7

Created by: cirosantilli

Fixes ACCEPTING MR at: http://feedback.gitlab.com/forums/176466-general/suggestions/5337507-show-72-character-mark-in-commits?tracking_code=284b0e5fd832f6885a68d90447c08d2a

All textareas that take a commit message now have the same monospace font in which they are shown under the commits tab, and a 72 character width vertical marker line.

I have only found commit message textareas in the following places:

  • new, edit and remove file from web interface views.
  • merge request custom commit message

Please notify me if there are any more of them.

screenshots

Edit file:

screenshot from 2014-02-22 18 48 18 edit

New file is analogous.

The remove popup had to be made wider because it did not have place for 72 characters before:

screenshot from 2014-02-22 20 23 08 rm

Custom MR commit message:

screenshot from 2014-02-22 18 52 21 mr

doubts

How to use exactly the same Bootstrap values of textarea.form-control padding-left for .max-width-marker left?

I could not find it, so I just set hardcoded the current Bootstrap value of 12px for both the padding and the left.

This way it will never break, but it will not evolve automatically if the page style is modified.

One possibility to solve this is to set all missing values ourselves in our SASS via variables to their current values so that those variables can be used in other places.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/booktree/72-char-commit-msg