Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] Commit editor more like git-driven EDITOR #4120

Open
OJFord opened this issue Jun 19, 2024 · 1 comment
Open

[enhancement] Commit editor more like git-driven EDITOR #4120

OJFord opened this issue Jun 19, 2024 · 1 comment
Labels
enhancement An improvement to an existing feature UI Any broken visuals like layouts, colors etc.

Comments

@OJFord
Copy link

OJFord commented Jun 19, 2024

Version

0.12.5

Operating System

Mac OSX

Distribution Method

dmg

Describe the issue

I know it's not for everyone, but I would like a wrap at 72ch for the body; a warning when the subject passes 50.

The editor/text field itself is also really small, which makes it difficult anyway & I appreciate would make it awkward to render a wrap at 72ch since it's already soft-wrapping at about 8 out of necessity - might have to pop a modal instead? The 'edit message' does appear in a modal editor, but it's still tiny anyway.

It would be convenient to have a 'rich' way of writing a code block, say just markdown style backticks which then turns it monospace, which then is actually committed as an indented block instead as is the norm (and which GitHub & GitLab for example also respect and will render as code blocks).

How to reproduce

No response

Expected behavior

No response

Relevant log output

No response

@OJFord OJFord added the bug Something isn't working label Jun 19, 2024
@Byron Byron added enhancement An improvement to an existing feature UI Any broken visuals like layouts, colors etc. and removed bug Something isn't working labels Jun 19, 2024
@Byron
Copy link
Collaborator

Byron commented Jun 19, 2024

Thanks for reporting! I did turn this issue into an enhancement as this could be a more intuitive way of writing commit message.

For one, the text box shouldn't be smaller than the suggested standard width, and additionally one could provide a rich markdown preview possibly with transformations to produce even more standard messages (e.g. backticks to indented code-blocks).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to an existing feature UI Any broken visuals like layouts, colors etc.
Projects
None yet
Development

No branches or pull requests

2 participants