• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / git-commit-summary / 19191929168

08 Nov 2025 10:40AM UTC coverage: 17.362% (-4.0%) from 21.355%
19191929168

push

github

web-flow
feat: Add commit message regeneration (#16)

* [WIP] feat: Add commit message regeneration

This change allows the user to trigger regeneration of the
commit summary using `CTRL-R` while editing.

If regeneration is selected, a prompt is shown to allow
the user to input optional instructions to guide the AI
for the next suggestion.

This implementation includes:
*   A new generic `Prompt` UI component.
*   Integration of `Regenerate` action in the commit editor.

* refactor: Improve regeneration prompt UX

Removed unused `gookit/color` dependency and streamlined the
regeneration prompt flow.

- ESC now cancels the regeneration prompt and returns to the
  commit view, rather than aborting the application.
- Added background styling to the UI elements.
- Ensured the commit message textarea is focused on view init.
- Updated documentation.

* refactor: Prompting tweaks and view cleanup

A prompt enhancement, quite neat,
Makes user text bold and complete.
For the view we refined,
That trailing newline,
Ensuring the output is sweet.

* docs: Update keybindings in usage example

Updated the usage example in `README.md` to reflect the
addition of the `CTRL-R:regen` keybinding in the prompt
output display.

0 of 91 new or added lines in 3 files covered. (0.0%)

41 existing lines in 2 files now uncovered.

104 of 599 relevant lines covered (17.36%)

0.18 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/internal/ui/commit_view.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc