0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 23:48:39 +01:00
gitea/web_src/js
kolaente 13746f070d
feat: add button to quickly clear merge message (#21548)
This PR adds a button to allow quickly clearing the merge message of a
PR. The button will remove everything but the git trailers.

I found myself often pruning the commit message before merging,
especially for PRs generated by renovate - renovate puts a very long and
detailed comment with the full changelog in each PR it opens. This
clutters the commit message. However, I want to explicitly preserve the
git commit trailers. Doing this manually works, but having a button is a
lot easier.

Screenshot:

![image](https://user-images.githubusercontent.com/13721712/197337525-d456d0f8-1f7c-43a9-815d-ca93b1e7a90a.png)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2022-11-23 18:24:03 +08:00
..
components feat: add button to quickly clear merge message (#21548) 2022-11-23 18:24:03 +08:00
features Update JS dependencies (#21881) 2022-11-22 08:58:55 +08:00
markup
modules
standalone
test
bootstrap.js
index.js
jquery.js
serviceworker.js
svg.js
svg.test.js
utils.js Fixes #21895: standardize UTC tz for util tests (#21897) 2022-11-22 16:46:29 +08:00
utils.test.js