gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

sc-fix-plain-text-mode

Open schacon opened this issue 7 months ago • 1 comments


⧓ Review in Butler Review #9kPcDBoQA

sc-fix-plain-text-mode

More or less implements this:

https://www.notion.so/gitbutler/Commit-Message-Manifesto-Two-1ab5a4bfdeac8072a722d7889ee38fde

  • Remove ruler and wrapping UI elements to rely on dynamic CSS wrapping for plain text mode.
  • Implement automatic formatting of commit messages before saving, wrapping at 72 characters and indenting bullets for better terminal git log display.
  • Add a new class to handle formatting and unformatting of commit messages, ensuring proper serialization.
  • Unformat commit messages when editing to allow smooth rewrapping of paragraphs during text modifications.

3 commit series (version 1)

Series Commit Title Status Reviewers
3/3 unformat commit messages when editing
2/3 format commit messages before saving
1/3 remove ruler and wrapping UI elements

Please leave review feedback in the Butler Review

schacon avatar May 12 '25 15:05 schacon

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gitbutler-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 12, 2025 3:17pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
gitbutler-web ⬜️ Skipped (Inspect) May 12, 2025 3:17pm

vercel[bot] avatar May 12 '25 15:05 vercel[bot]